Interface RuleSetsClient


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RuleSetInner>,​RuleSetInner> beginCreate​(String resourceGroupName, String profileName, String ruleSetName)
      Creates a new rule set within the specified profile.
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RuleSetInner>,​RuleSetInner> beginCreate​(String resourceGroupName, String profileName, String ruleSetName, com.azure.core.util.Context context)
      Creates a new rule set within the specified profile.
      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RuleSetInner>,​RuleSetInner> beginCreateAsync​(String resourceGroupName, String profileName, String ruleSetName)
      Creates a new rule set within the specified profile.
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName, String profileName, String ruleSetName)
      Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName, String profileName, String ruleSetName, com.azure.core.util.Context context)
      Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteAsync​(String resourceGroupName, String profileName, String ruleSetName)
      Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
      RuleSetInner create​(String resourceGroupName, String profileName, String ruleSetName)
      Creates a new rule set within the specified profile.
      RuleSetInner create​(String resourceGroupName, String profileName, String ruleSetName, com.azure.core.util.Context context)
      Creates a new rule set within the specified profile.
      Mono<RuleSetInner> createAsync​(String resourceGroupName, String profileName, String ruleSetName)
      Creates a new rule set within the specified profile.
      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync​(String resourceGroupName, String profileName, String ruleSetName)
      Creates a new rule set within the specified profile.
      void delete​(String resourceGroupName, String profileName, String ruleSetName)
      Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
      void delete​(String resourceGroupName, String profileName, String ruleSetName, com.azure.core.util.Context context)
      Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
      Mono<Void> deleteAsync​(String resourceGroupName, String profileName, String ruleSetName)
      Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName, String profileName, String ruleSetName)
      Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
      RuleSetInner get​(String resourceGroupName, String profileName, String ruleSetName)
      Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
      Mono<RuleSetInner> getAsync​(String resourceGroupName, String profileName, String ruleSetName)
      Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
      com.azure.core.http.rest.Response<RuleSetInner> getWithResponse​(String resourceGroupName, String profileName, String ruleSetName, com.azure.core.util.Context context)
      Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
      Mono<com.azure.core.http.rest.Response<RuleSetInner>> getWithResponseAsync​(String resourceGroupName, String profileName, String ruleSetName)
      Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
      com.azure.core.http.rest.PagedIterable<RuleSetInner> listByProfile​(String resourceGroupName, String profileName)
      Lists existing AzureFrontDoor rule sets within a profile.
      com.azure.core.http.rest.PagedIterable<RuleSetInner> listByProfile​(String resourceGroupName, String profileName, com.azure.core.util.Context context)
      Lists existing AzureFrontDoor rule sets within a profile.
      com.azure.core.http.rest.PagedFlux<RuleSetInner> listByProfileAsync​(String resourceGroupName, String profileName)
      Lists existing AzureFrontDoor rule sets within a profile.
      com.azure.core.http.rest.PagedIterable<UsageInner> listResourceUsage​(String resourceGroupName, String profileName, String ruleSetName)
      Checks the quota and actual usage of endpoints under the given CDN profile.
      com.azure.core.http.rest.PagedIterable<UsageInner> listResourceUsage​(String resourceGroupName, String profileName, String ruleSetName, com.azure.core.util.Context context)
      Checks the quota and actual usage of endpoints under the given CDN profile.
      com.azure.core.http.rest.PagedFlux<UsageInner> listResourceUsageAsync​(String resourceGroupName, String profileName, String ruleSetName)
      Checks the quota and actual usage of endpoints under the given CDN profile.
    • Method Detail

      • listByProfileAsync

        com.azure.core.http.rest.PagedFlux<RuleSetInner> listByProfileAsync​(String resourceGroupName,
                                                                            String profileName)
        Lists existing AzureFrontDoor rule sets within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        Returns:
        result of the request to list rule sets.
        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.
      • listByProfile

        com.azure.core.http.rest.PagedIterable<RuleSetInner> listByProfile​(String resourceGroupName,
                                                                           String profileName)
        Lists existing AzureFrontDoor rule sets within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        Returns:
        result of the request to list rule sets.
        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.
      • listByProfile

        com.azure.core.http.rest.PagedIterable<RuleSetInner> listByProfile​(String resourceGroupName,
                                                                           String profileName,
                                                                           com.azure.core.util.Context context)
        Lists existing AzureFrontDoor rule sets within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        context - The context to associate with this operation.
        Returns:
        result of the request to list rule sets.
        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<RuleSetInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                   String profileName,
                                                                                   String ruleSetName)
        Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        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<RuleSetInner> getAsync​(String resourceGroupName,
                                    String profileName,
                                    String ruleSetName)
        Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        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

        RuleSetInner get​(String resourceGroupName,
                         String profileName,
                         String ruleSetName)
        Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        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<RuleSetInner> getWithResponse​(String resourceGroupName,
                                                                        String profileName,
                                                                        String ruleSetName,
                                                                        com.azure.core.util.Context context)
        Gets an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        context - The context to associate with this operation.
        Returns:
        an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        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)
        Creates a new rule set within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        friendly RuleSet name mapping to the any RuleSet 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.
      • beginCreateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RuleSetInner>,​RuleSetInner> beginCreateAsync​(String resourceGroupName,
                                                                                                                                               String profileName,
                                                                                                                                               String ruleSetName)
        Creates a new rule set within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        friendly RuleSet name mapping to the any RuleSet 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<RuleSetInner>,​RuleSetInner> beginCreate​(String resourceGroupName,
                                                                                                                                          String profileName,
                                                                                                                                          String ruleSetName)
        Creates a new rule set within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        friendly RuleSet name mapping to the any RuleSet 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<RuleSetInner>,​RuleSetInner> beginCreate​(String resourceGroupName,
                                                                                                                                          String profileName,
                                                                                                                                          String ruleSetName,
                                                                                                                                          com.azure.core.util.Context context)
        Creates a new rule set within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        context - The context to associate with this operation.
        Returns:
        friendly RuleSet name mapping to the any RuleSet 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<RuleSetInner> createAsync​(String resourceGroupName,
                                       String profileName,
                                       String ruleSetName)
        Creates a new rule set within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        friendly RuleSet name mapping to the any RuleSet 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

        RuleSetInner create​(String resourceGroupName,
                            String profileName,
                            String ruleSetName)
        Creates a new rule set within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        friendly RuleSet name mapping to the any RuleSet 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

        RuleSetInner create​(String resourceGroupName,
                            String profileName,
                            String ruleSetName,
                            com.azure.core.util.Context context)
        Creates a new rule set within the specified profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        context - The context to associate with this operation.
        Returns:
        friendly RuleSet name mapping to the any RuleSet 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)
        Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        the completion.
        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)
        Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        the completion.
        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)
        Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        the completion.
        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,
                                                                                                                          com.azure.core.util.Context context)
        Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        context - The context to associate with this operation.
        Returns:
        the completion.
        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)
        Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        the completion.
        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)
        Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        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,
                    com.azure.core.util.Context context)
        Deletes an existing AzureFrontDoor rule set with the specified rule set name under the specified subscription, resource group and profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        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.
      • listResourceUsageAsync

        com.azure.core.http.rest.PagedFlux<UsageInner> listResourceUsageAsync​(String resourceGroupName,
                                                                              String profileName,
                                                                              String ruleSetName)
        Checks the quota and actual usage of endpoints under the given CDN profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        the list usages operation 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.
      • listResourceUsage

        com.azure.core.http.rest.PagedIterable<UsageInner> listResourceUsage​(String resourceGroupName,
                                                                             String profileName,
                                                                             String ruleSetName)
        Checks the quota and actual usage of endpoints under the given CDN profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        Returns:
        the list usages operation 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.
      • listResourceUsage

        com.azure.core.http.rest.PagedIterable<UsageInner> listResourceUsage​(String resourceGroupName,
                                                                             String profileName,
                                                                             String ruleSetName,
                                                                             com.azure.core.util.Context context)
        Checks the quota and actual usage of endpoints under the given CDN profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        ruleSetName - Name of the rule set under the profile which is unique globally.
        context - The context to associate with this operation.
        Returns:
        the list usages operation 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.