Interface QueuesClient


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

      • listAuthorizationRulesAsync

        com.azure.core.http.rest.PagedFlux<SBAuthorizationRuleInner> listAuthorizationRulesAsync​(String resourceGroupName,
                                                                                                 String namespaceName,
                                                                                                 String queueName)
        Gets all authorization rules for a queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        Returns:
        all authorization rules for a queue.
        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.
      • listAuthorizationRules

        com.azure.core.http.rest.PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules​(String resourceGroupName,
                                                                                                String namespaceName,
                                                                                                String queueName)
        Gets all authorization rules for a queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        Returns:
        all authorization rules for a queue.
        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.
      • listAuthorizationRules

        com.azure.core.http.rest.PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules​(String resourceGroupName,
                                                                                                String namespaceName,
                                                                                                String queueName,
                                                                                                com.azure.core.util.Context context)
        Gets all authorization rules for a queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        context - The context to associate with this operation.
        Returns:
        all authorization rules for a queue.
        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.
      • createOrUpdateAuthorizationRuleWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SBAuthorizationRuleInner>> createOrUpdateAuthorizationRuleWithResponseAsync​(String resourceGroupName,
                                                                                                                           String namespaceName,
                                                                                                                           String queueName,
                                                                                                                           String authorizationRuleName,
                                                                                                                           List<AccessRights> rights)
        Creates an authorization rule for a queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        rights - The rights associated with the rule.
        Returns:
        description of a namespace authorization rule.
        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.
      • createOrUpdateAuthorizationRuleAsync

        Mono<SBAuthorizationRuleInner> createOrUpdateAuthorizationRuleAsync​(String resourceGroupName,
                                                                            String namespaceName,
                                                                            String queueName,
                                                                            String authorizationRuleName,
                                                                            List<AccessRights> rights)
        Creates an authorization rule for a queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        rights - The rights associated with the rule.
        Returns:
        description of a namespace authorization rule.
        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.
      • createOrUpdateAuthorizationRuleAsync

        Mono<SBAuthorizationRuleInner> createOrUpdateAuthorizationRuleAsync​(String resourceGroupName,
                                                                            String namespaceName,
                                                                            String queueName,
                                                                            String authorizationRuleName)
        Creates an authorization rule for a queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        Returns:
        description of a namespace authorization rule.
        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.
      • createOrUpdateAuthorizationRule

        SBAuthorizationRuleInner createOrUpdateAuthorizationRule​(String resourceGroupName,
                                                                 String namespaceName,
                                                                 String queueName,
                                                                 String authorizationRuleName)
        Creates an authorization rule for a queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        Returns:
        description of a namespace authorization rule.
        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.
      • createOrUpdateAuthorizationRuleWithResponse

        com.azure.core.http.rest.Response<SBAuthorizationRuleInner> createOrUpdateAuthorizationRuleWithResponse​(String resourceGroupName,
                                                                                                                String namespaceName,
                                                                                                                String queueName,
                                                                                                                String authorizationRuleName,
                                                                                                                List<AccessRights> rights,
                                                                                                                com.azure.core.util.Context context)
        Creates an authorization rule for a queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        rights - The rights associated with the rule.
        context - The context to associate with this operation.
        Returns:
        description of a namespace authorization rule.
        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.
      • deleteAuthorizationRuleWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteAuthorizationRuleWithResponseAsync​(String resourceGroupName,
                                                                                               String namespaceName,
                                                                                               String queueName,
                                                                                               String authorizationRuleName)
        Deletes a queue authorization rule.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        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.
      • deleteAuthorizationRuleAsync

        Mono<Void> deleteAuthorizationRuleAsync​(String resourceGroupName,
                                                String namespaceName,
                                                String queueName,
                                                String authorizationRuleName)
        Deletes a queue authorization rule.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        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.
      • deleteAuthorizationRule

        void deleteAuthorizationRule​(String resourceGroupName,
                                     String namespaceName,
                                     String queueName,
                                     String authorizationRuleName)
        Deletes a queue authorization rule.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization 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.
      • deleteAuthorizationRuleWithResponse

        com.azure.core.http.rest.Response<Void> deleteAuthorizationRuleWithResponse​(String resourceGroupName,
                                                                                    String namespaceName,
                                                                                    String queueName,
                                                                                    String authorizationRuleName,
                                                                                    com.azure.core.util.Context context)
        Deletes a queue authorization rule.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization 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.
      • getAuthorizationRuleWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SBAuthorizationRuleInner>> getAuthorizationRuleWithResponseAsync​(String resourceGroupName,
                                                                                                                String namespaceName,
                                                                                                                String queueName,
                                                                                                                String authorizationRuleName)
        Gets an authorization rule for a queue by rule name.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        Returns:
        an authorization rule for a queue by 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.
      • getAuthorizationRuleAsync

        Mono<SBAuthorizationRuleInner> getAuthorizationRuleAsync​(String resourceGroupName,
                                                                 String namespaceName,
                                                                 String queueName,
                                                                 String authorizationRuleName)
        Gets an authorization rule for a queue by rule name.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        Returns:
        an authorization rule for a queue by 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.
      • getAuthorizationRule

        SBAuthorizationRuleInner getAuthorizationRule​(String resourceGroupName,
                                                      String namespaceName,
                                                      String queueName,
                                                      String authorizationRuleName)
        Gets an authorization rule for a queue by rule name.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        Returns:
        an authorization rule for a queue by 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.
      • getAuthorizationRuleWithResponse

        com.azure.core.http.rest.Response<SBAuthorizationRuleInner> getAuthorizationRuleWithResponse​(String resourceGroupName,
                                                                                                     String namespaceName,
                                                                                                     String queueName,
                                                                                                     String authorizationRuleName,
                                                                                                     com.azure.core.util.Context context)
        Gets an authorization rule for a queue by rule name.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        context - The context to associate with this operation.
        Returns:
        an authorization rule for a queue by 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.
      • listKeysWithResponseAsync

        Mono<com.azure.core.http.rest.Response<AccessKeysInner>> listKeysWithResponseAsync​(String resourceGroupName,
                                                                                           String namespaceName,
                                                                                           String queueName,
                                                                                           String authorizationRuleName)
        Primary and secondary connection strings to the queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        Returns:
        namespace/ServiceBus Connection String.
        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.
      • listKeysAsync

        Mono<AccessKeysInner> listKeysAsync​(String resourceGroupName,
                                            String namespaceName,
                                            String queueName,
                                            String authorizationRuleName)
        Primary and secondary connection strings to the queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        Returns:
        namespace/ServiceBus Connection String.
        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.
      • listKeys

        AccessKeysInner listKeys​(String resourceGroupName,
                                 String namespaceName,
                                 String queueName,
                                 String authorizationRuleName)
        Primary and secondary connection strings to the queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        Returns:
        namespace/ServiceBus Connection String.
        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.
      • listKeysWithResponse

        com.azure.core.http.rest.Response<AccessKeysInner> listKeysWithResponse​(String resourceGroupName,
                                                                                String namespaceName,
                                                                                String queueName,
                                                                                String authorizationRuleName,
                                                                                com.azure.core.util.Context context)
        Primary and secondary connection strings to the queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        context - The context to associate with this operation.
        Returns:
        namespace/ServiceBus Connection String.
        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.
      • regenerateKeysWithResponseAsync

        Mono<com.azure.core.http.rest.Response<AccessKeysInner>> regenerateKeysWithResponseAsync​(String resourceGroupName,
                                                                                                 String namespaceName,
                                                                                                 String queueName,
                                                                                                 String authorizationRuleName,
                                                                                                 RegenerateAccessKeyParameters parameters)
        Regenerates the primary or secondary connection strings to the queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        parameters - Parameters supplied to regenerate the authorization rule.
        Returns:
        namespace/ServiceBus Connection String.
        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.
      • regenerateKeysAsync

        Mono<AccessKeysInner> regenerateKeysAsync​(String resourceGroupName,
                                                  String namespaceName,
                                                  String queueName,
                                                  String authorizationRuleName,
                                                  RegenerateAccessKeyParameters parameters)
        Regenerates the primary or secondary connection strings to the queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        parameters - Parameters supplied to regenerate the authorization rule.
        Returns:
        namespace/ServiceBus Connection String.
        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.
      • regenerateKeys

        AccessKeysInner regenerateKeys​(String resourceGroupName,
                                       String namespaceName,
                                       String queueName,
                                       String authorizationRuleName,
                                       RegenerateAccessKeyParameters parameters)
        Regenerates the primary or secondary connection strings to the queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        parameters - Parameters supplied to regenerate the authorization rule.
        Returns:
        namespace/ServiceBus Connection String.
        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.
      • regenerateKeysWithResponse

        com.azure.core.http.rest.Response<AccessKeysInner> regenerateKeysWithResponse​(String resourceGroupName,
                                                                                      String namespaceName,
                                                                                      String queueName,
                                                                                      String authorizationRuleName,
                                                                                      RegenerateAccessKeyParameters parameters,
                                                                                      com.azure.core.util.Context context)
        Regenerates the primary or secondary connection strings to the queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        authorizationRuleName - The authorization rule name.
        parameters - Parameters supplied to regenerate the authorization rule.
        context - The context to associate with this operation.
        Returns:
        namespace/ServiceBus Connection String.
        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.
      • listByNamespaceAsync

        com.azure.core.http.rest.PagedFlux<SBQueueInner> listByNamespaceAsync​(String resourceGroupName,
                                                                              String namespaceName,
                                                                              Integer skip,
                                                                              Integer top)
        Gets the queues within a namespace.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace 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 queues within a namespace.
        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.
      • listByNamespaceAsync

        com.azure.core.http.rest.PagedFlux<SBQueueInner> listByNamespaceAsync​(String resourceGroupName,
                                                                              String namespaceName)
        Gets the queues within a namespace.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        Returns:
        the queues within a namespace.
        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.
      • listByNamespace

        com.azure.core.http.rest.PagedIterable<SBQueueInner> listByNamespace​(String resourceGroupName,
                                                                             String namespaceName)
        Gets the queues within a namespace.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        Returns:
        the queues within a namespace.
        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.
      • listByNamespace

        com.azure.core.http.rest.PagedIterable<SBQueueInner> listByNamespace​(String resourceGroupName,
                                                                             String namespaceName,
                                                                             Integer skip,
                                                                             Integer top,
                                                                             com.azure.core.util.Context context)
        Gets the queues within a namespace.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace 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 queues within a namespace.
        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<SBQueueInner>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                              String namespaceName,
                                                                                              String queueName,
                                                                                              SBQueueInner parameters)
        Creates or updates a Service Bus queue. This operation is idempotent.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        parameters - Parameters supplied to create or update a queue resource.
        Returns:
        description of queue 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.
      • createOrUpdateAsync

        Mono<SBQueueInner> createOrUpdateAsync​(String resourceGroupName,
                                               String namespaceName,
                                               String queueName,
                                               SBQueueInner parameters)
        Creates or updates a Service Bus queue. This operation is idempotent.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        parameters - Parameters supplied to create or update a queue resource.
        Returns:
        description of queue 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.
      • createOrUpdate

        SBQueueInner createOrUpdate​(String resourceGroupName,
                                    String namespaceName,
                                    String queueName,
                                    SBQueueInner parameters)
        Creates or updates a Service Bus queue. This operation is idempotent.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        parameters - Parameters supplied to create or update a queue resource.
        Returns:
        description of queue 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.
      • createOrUpdateWithResponse

        com.azure.core.http.rest.Response<SBQueueInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                   String namespaceName,
                                                                                   String queueName,
                                                                                   SBQueueInner parameters,
                                                                                   com.azure.core.util.Context context)
        Creates or updates a Service Bus queue. This operation is idempotent.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        parameters - Parameters supplied to create or update a queue resource.
        context - The context to associate with this operation.
        Returns:
        description of queue 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 queueName)
        Deletes a queue from the specified namespace in a resource group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        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 namespaceName,
                               String queueName)
        Deletes a queue from the specified namespace in a resource group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        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 namespaceName,
                    String queueName)
        Deletes a queue from the specified namespace in a resource group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue 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.
      • deleteWithResponse

        com.azure.core.http.rest.Response<Void> deleteWithResponse​(String resourceGroupName,
                                                                   String namespaceName,
                                                                   String queueName,
                                                                   com.azure.core.util.Context context)
        Deletes a queue from the specified namespace in a resource group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue 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.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SBQueueInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                   String namespaceName,
                                                                                   String queueName)
        Returns a description for the specified queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        Returns:
        description of queue 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.
      • getAsync

        Mono<SBQueueInner> getAsync​(String resourceGroupName,
                                    String namespaceName,
                                    String queueName)
        Returns a description for the specified queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        Returns:
        description of queue 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.
      • get

        SBQueueInner get​(String resourceGroupName,
                         String namespaceName,
                         String queueName)
        Returns a description for the specified queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        Returns:
        description of queue 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.
      • getWithResponse

        com.azure.core.http.rest.Response<SBQueueInner> getWithResponse​(String resourceGroupName,
                                                                        String namespaceName,
                                                                        String queueName,
                                                                        com.azure.core.util.Context context)
        Returns a description for the specified queue.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        queueName - The queue name.
        context - The context to associate with this operation.
        Returns:
        description of queue 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.