Interface RulesClient


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

    • listBySubscriptionsAsync

      com.azure.core.http.rest.PagedFlux<RuleInner> listBySubscriptionsAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, Integer skip, Integer top)
      List all the rules within given topic-subscription.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      skip - Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls.
      top - May be used to limit the number of results to the most recent N usageDetails.
      Returns:
      the response of the List rule operation 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.
    • listBySubscriptionsAsync

      com.azure.core.http.rest.PagedFlux<RuleInner> listBySubscriptionsAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)
      List all the rules within given topic-subscription.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      Returns:
      the response of the List rule operation 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.
    • listBySubscriptions

      com.azure.core.http.rest.PagedIterable<RuleInner> listBySubscriptions(String resourceGroupName, String namespaceName, String topicName, String subscriptionName)
      List all the rules within given topic-subscription.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      Returns:
      the response of the List rule operation 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.
    • listBySubscriptions

      com.azure.core.http.rest.PagedIterable<RuleInner> listBySubscriptions(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, Integer skip, Integer top, com.azure.core.util.Context context)
      List all the rules within given topic-subscription.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      skip - Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls.
      top - May be used to limit the number of results to the most recent N usageDetails.
      context - The context to associate with this operation.
      Returns:
      the response of the List rule operation 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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RuleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, RuleInner parameters)
      Creates a new rule and updates an existing rule.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      ruleName - The rule name.
      parameters - Parameters supplied to create a rule.
      Returns:
      description of Rule Resource 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.
    • createOrUpdateAsync

      Mono<RuleInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, RuleInner parameters)
      Creates a new rule and updates an existing rule.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      ruleName - The rule name.
      parameters - Parameters supplied to create a rule.
      Returns:
      description of Rule Resource 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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<RuleInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, RuleInner parameters, com.azure.core.util.Context context)
      Creates a new rule and updates an existing rule.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      ruleName - The rule name.
      parameters - Parameters supplied to create a rule.
      context - The context to associate with this operation.
      Returns:
      description of Rule Resource 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.
    • createOrUpdate

      RuleInner createOrUpdate(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, RuleInner parameters)
      Creates a new rule and updates an existing rule.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      ruleName - The rule name.
      parameters - Parameters supplied to create a rule.
      Returns:
      description of Rule Resource.
      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<Void>> deleteWithResponseAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)
      Deletes an existing rule.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      ruleName - The rule name.
      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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)
      Deletes an existing rule.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      ruleName - The rule name.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, com.azure.core.util.Context context)
      Deletes an existing rule.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      ruleName - The rule name.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • delete

      void delete(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)
      Deletes an existing rule.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      ruleName - The rule name.
      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 namespaceName, String topicName, String subscriptionName, String ruleName)
      Retrieves the description for the specified rule.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      ruleName - The rule name.
      Returns:
      description of Rule Resource 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 namespaceName, String topicName, String subscriptionName, String ruleName)
      Retrieves the description for the specified rule.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      ruleName - The rule name.
      Returns:
      description of Rule Resource 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.
    • getWithResponse

      com.azure.core.http.rest.Response<RuleInner> getWithResponse(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName, com.azure.core.util.Context context)
      Retrieves the description for the specified rule.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      ruleName - The rule name.
      context - The context to associate with this operation.
      Returns:
      description of Rule Resource 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.
    • get

      RuleInner get(String resourceGroupName, String namespaceName, String topicName, String subscriptionName, String ruleName)
      Retrieves the description for the specified rule.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      topicName - The topic name.
      subscriptionName - The subscription name.
      ruleName - The rule name.
      Returns:
      description of Rule Resource.
      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.