Interface RulesClient


public interface RulesClient
An instance of this class provides access to all the operations defined in RulesClient.
  • Method Details

    • listByRuleSetAsync

      com.azure.core.http.rest.PagedFlux<RuleInner> listByRuleSetAsync(String resourceGroupName, String profileName, String ruleSetName)
      Lists all of the existing delivery rules within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      Returns:
      result of the request to list rules as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByRuleSet

      com.azure.core.http.rest.PagedIterable<RuleInner> listByRuleSet(String resourceGroupName, String profileName, String ruleSetName)
      Lists all of the existing delivery rules within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      Returns:
      result of the request to list rules as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByRuleSet

      com.azure.core.http.rest.PagedIterable<RuleInner> listByRuleSet(String resourceGroupName, String profileName, String ruleSetName, com.azure.core.util.Context context)
      Lists all of the existing delivery rules within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      context - The context to associate with this operation.
      Returns:
      result of the request to list rules as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RuleInner>> getWithResponseAsync(String resourceGroupName, String profileName, String ruleSetName, String ruleName)
      Gets an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      Returns:
      an existing delivery rule within a rule set along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getAsync

      Mono<RuleInner> getAsync(String resourceGroupName, String profileName, String ruleSetName, String ruleName)
      Gets an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      Returns:
      an existing delivery rule within a rule set on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      RuleInner get(String resourceGroupName, String profileName, String ruleSetName, String ruleName)
      Gets an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      Returns:
      an existing delivery rule within a rule set.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      com.azure.core.http.rest.Response<RuleInner> getWithResponse(String resourceGroupName, String profileName, String ruleSetName, String ruleName, com.azure.core.util.Context context)
      Gets an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      context - The context to associate with this operation.
      Returns:
      an existing delivery rule within a rule set along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleInner rule)
      Creates a new delivery rule within the specified rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      rule - The delivery rule properties.
      Returns:
      friendly Rules name mapping to the any Rules or secret related information along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RuleInner>,RuleInner> beginCreateAsync(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleInner rule)
      Creates a new delivery rule within the specified rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      rule - The delivery rule properties.
      Returns:
      the PollerFlux for polling of friendly Rules name mapping to the any Rules or secret related information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RuleInner>,RuleInner> beginCreate(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleInner rule)
      Creates a new delivery rule within the specified rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      rule - The delivery rule properties.
      Returns:
      the SyncPoller for polling of friendly Rules name mapping to the any Rules or secret related information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RuleInner>,RuleInner> beginCreate(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleInner rule, com.azure.core.util.Context context)
      Creates a new delivery rule within the specified rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      rule - The delivery rule properties.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of friendly Rules name mapping to the any Rules or secret related information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createAsync

      Mono<RuleInner> createAsync(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleInner rule)
      Creates a new delivery rule within the specified rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      rule - The delivery rule properties.
      Returns:
      friendly Rules name mapping to the any Rules or secret related information on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • create

      RuleInner create(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleInner rule)
      Creates a new delivery rule within the specified rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      rule - The delivery rule properties.
      Returns:
      friendly Rules name mapping to the any Rules or secret related information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • create

      RuleInner create(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleInner rule, com.azure.core.util.Context context)
      Creates a new delivery rule within the specified rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      rule - The delivery rule properties.
      context - The context to associate with this operation.
      Returns:
      friendly Rules name mapping to the any Rules or secret related information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleUpdateParameters ruleUpdateProperties)
      Updates an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      ruleUpdateProperties - Delivery rule properties.
      Returns:
      friendly Rules name mapping to the any Rules or secret related information along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RuleInner>,RuleInner> beginUpdateAsync(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleUpdateParameters ruleUpdateProperties)
      Updates an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      ruleUpdateProperties - Delivery rule properties.
      Returns:
      the PollerFlux for polling of friendly Rules name mapping to the any Rules or secret related information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RuleInner>,RuleInner> beginUpdate(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleUpdateParameters ruleUpdateProperties)
      Updates an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      ruleUpdateProperties - Delivery rule properties.
      Returns:
      the SyncPoller for polling of friendly Rules name mapping to the any Rules or secret related information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RuleInner>,RuleInner> beginUpdate(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleUpdateParameters ruleUpdateProperties, com.azure.core.util.Context context)
      Updates an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      ruleUpdateProperties - Delivery rule properties.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of friendly Rules name mapping to the any Rules or secret related information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<RuleInner> updateAsync(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleUpdateParameters ruleUpdateProperties)
      Updates an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      ruleUpdateProperties - Delivery rule properties.
      Returns:
      friendly Rules name mapping to the any Rules or secret related information on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      RuleInner update(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleUpdateParameters ruleUpdateProperties)
      Updates an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      ruleUpdateProperties - Delivery rule properties.
      Returns:
      friendly Rules name mapping to the any Rules or secret related information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      RuleInner update(String resourceGroupName, String profileName, String ruleSetName, String ruleName, RuleUpdateParameters ruleUpdateProperties, com.azure.core.util.Context context)
      Updates an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      ruleUpdateProperties - Delivery rule properties.
      context - The context to associate with this operation.
      Returns:
      friendly Rules name mapping to the any Rules or secret related information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String profileName, String ruleSetName, String ruleName)
      Deletes an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String profileName, String ruleSetName, String ruleName)
      Deletes an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName, String ruleSetName, String ruleName)
      Deletes an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName, String ruleSetName, String ruleName, com.azure.core.util.Context context)
      Deletes an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String profileName, String ruleSetName, String ruleName)
      Deletes an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String profileName, String ruleSetName, String ruleName)
      Deletes an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String profileName, String ruleSetName, String ruleName, com.azure.core.util.Context context)
      Deletes an existing delivery rule within a rule set.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
      ruleSetName - Name of the rule set under the profile.
      ruleName - Name of the delivery rule which is unique within the endpoint.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.