Interface TopicsClient


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

      • listAuthorizationRulesAsync

        com.azure.core.http.rest.PagedFlux<SBAuthorizationRuleInner> listAuthorizationRulesAsync​(String resourceGroupName,
                                                                                                 String namespaceName,
                                                                                                 String topicName)
        Gets authorization rules for a topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        Returns:
        authorization rules for a topic.
        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 topicName)
        Gets authorization rules for a topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        Returns:
        authorization rules for a topic.
        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 topicName,
                                                                                                com.azure.core.util.Context context)
        Gets authorization rules for a topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        context - The context to associate with this operation.
        Returns:
        authorization rules for a topic.
        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 topicName,
                                                                                                                           String authorizationRuleName,
                                                                                                                           List<AccessRights> rights)
        Creates an authorization rule for the specified topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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 topicName,
                                                                            String authorizationRuleName,
                                                                            List<AccessRights> rights)
        Creates an authorization rule for the specified topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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 topicName,
                                                                            String authorizationRuleName)
        Creates an authorization rule for the specified topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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 topicName,
                                                                 String authorizationRuleName)
        Creates an authorization rule for the specified topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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 topicName,
                                                                                                                String authorizationRuleName,
                                                                                                                List<AccessRights> rights,
                                                                                                                com.azure.core.util.Context context)
        Creates an authorization rule for the specified topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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.
      • getAuthorizationRuleWithResponseAsync

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

        Mono<SBAuthorizationRuleInner> getAuthorizationRuleAsync​(String resourceGroupName,
                                                                 String namespaceName,
                                                                 String topicName,
                                                                 String authorizationRuleName)
        Returns the specified authorization rule.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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.
      • getAuthorizationRule

        SBAuthorizationRuleInner getAuthorizationRule​(String resourceGroupName,
                                                      String namespaceName,
                                                      String topicName,
                                                      String authorizationRuleName)
        Returns the specified authorization rule.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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.
      • getAuthorizationRuleWithResponse

        com.azure.core.http.rest.Response<SBAuthorizationRuleInner> getAuthorizationRuleWithResponse​(String resourceGroupName,
                                                                                                     String namespaceName,
                                                                                                     String topicName,
                                                                                                     String authorizationRuleName,
                                                                                                     com.azure.core.util.Context context)
        Returns the specified authorization rule.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        authorizationRuleName - The authorization rule name.
        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 topicName,
                                                                                               String authorizationRuleName)
        Deletes a topic authorization rule.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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 topicName,
                                                String authorizationRuleName)
        Deletes a topic authorization rule.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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 topicName,
                                     String authorizationRuleName)
        Deletes a topic authorization rule.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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 topicName,
                                                                                    String authorizationRuleName,
                                                                                    com.azure.core.util.Context context)
        Deletes a topic authorization rule.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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.
      • listKeysWithResponseAsync

        Mono<com.azure.core.http.rest.Response<AccessKeysInner>> listKeysWithResponseAsync​(String resourceGroupName,
                                                                                           String namespaceName,
                                                                                           String topicName,
                                                                                           String authorizationRuleName)
        Gets the primary and secondary connection strings for the topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        authorizationRuleName - The authorization rule name.
        Returns:
        the primary and secondary connection strings for the topic.
        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 topicName,
                                            String authorizationRuleName)
        Gets the primary and secondary connection strings for the topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        authorizationRuleName - The authorization rule name.
        Returns:
        the primary and secondary connection strings for the topic.
        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 topicName,
                                 String authorizationRuleName)
        Gets the primary and secondary connection strings for the topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        authorizationRuleName - The authorization rule name.
        Returns:
        the primary and secondary connection strings for the topic.
        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 topicName,
                                                                                String authorizationRuleName,
                                                                                com.azure.core.util.Context context)
        Gets the primary and secondary connection strings for the topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        authorizationRuleName - The authorization rule name.
        context - The context to associate with this operation.
        Returns:
        the primary and secondary connection strings for the topic.
        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 topicName,
                                                                                                 String authorizationRuleName,
                                                                                                 RegenerateAccessKeyParameters parameters)
        Regenerates primary or secondary connection strings for the topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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 topicName,
                                                  String authorizationRuleName,
                                                  RegenerateAccessKeyParameters parameters)
        Regenerates primary or secondary connection strings for the topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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 topicName,
                                       String authorizationRuleName,
                                       RegenerateAccessKeyParameters parameters)
        Regenerates primary or secondary connection strings for the topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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 topicName,
                                                                                      String authorizationRuleName,
                                                                                      RegenerateAccessKeyParameters parameters,
                                                                                      com.azure.core.util.Context context)
        Regenerates primary or secondary connection strings for the topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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<SBTopicInner> listByNamespaceAsync​(String resourceGroupName,
                                                                              String namespaceName,
                                                                              Integer skip,
                                                                              Integer top)
        Gets all the topics in 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:
        all the topics in 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<SBTopicInner> listByNamespaceAsync​(String resourceGroupName,
                                                                              String namespaceName)
        Gets all the topics in a namespace.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        Returns:
        all the topics in 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<SBTopicInner> listByNamespace​(String resourceGroupName,
                                                                             String namespaceName)
        Gets all the topics in a namespace.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        Returns:
        all the topics in 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<SBTopicInner> listByNamespace​(String resourceGroupName,
                                                                             String namespaceName,
                                                                             Integer skip,
                                                                             Integer top,
                                                                             com.azure.core.util.Context context)
        Gets all the topics in 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:
        all the topics in 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<SBTopicInner>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                              String namespaceName,
                                                                                              String topicName,
                                                                                              SBTopicInner parameters)
        Creates a topic in the specified namespace.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        parameters - Parameters supplied to create a topic resource.
        Returns:
        description of topic 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<SBTopicInner> createOrUpdateAsync​(String resourceGroupName,
                                               String namespaceName,
                                               String topicName,
                                               SBTopicInner parameters)
        Creates a topic in the specified namespace.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        parameters - Parameters supplied to create a topic resource.
        Returns:
        description of topic 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

        SBTopicInner createOrUpdate​(String resourceGroupName,
                                    String namespaceName,
                                    String topicName,
                                    SBTopicInner parameters)
        Creates a topic in the specified namespace.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        parameters - Parameters supplied to create a topic resource.
        Returns:
        description of topic 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<SBTopicInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                   String namespaceName,
                                                                                   String topicName,
                                                                                   SBTopicInner parameters,
                                                                                   com.azure.core.util.Context context)
        Creates a topic in the specified namespace.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        parameters - Parameters supplied to create a topic resource.
        context - The context to associate with this operation.
        Returns:
        description of topic 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)
        Deletes a topic from the specified namespace and resource group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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 topicName)
        Deletes a topic from the specified namespace and resource group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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 topicName)
        Deletes a topic from the specified namespace and resource group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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 topicName,
                                                                   com.azure.core.util.Context context)
        Deletes a topic from the specified namespace and resource group.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic 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<SBTopicInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                   String namespaceName,
                                                                                   String topicName)
        Returns a description for the specified topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        Returns:
        description of topic 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<SBTopicInner> getAsync​(String resourceGroupName,
                                    String namespaceName,
                                    String topicName)
        Returns a description for the specified topic.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        topicName - The topic name.
        Returns:
        description of topic 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

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