Interface NamespacesClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<SBNamespaceInner>, InnerSupportsListing<SBNamespaceInner>

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

    • listAsync

      com.azure.core.http.rest.PagedFlux<SBNamespaceInner> listAsync()
      Gets all the available namespaces within the subscription, irrespective of the resource groups.
      Specified by:
      listAsync in interface InnerSupportsListing<SBNamespaceInner>
      Returns:
      all the available namespaces within the subscription, irrespective of the resource groups as paginated response with PagedFlux.
      Throws:
      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.
    • list

      com.azure.core.http.rest.PagedIterable<SBNamespaceInner> list()
      Gets all the available namespaces within the subscription, irrespective of the resource groups.
      Specified by:
      list in interface InnerSupportsListing<SBNamespaceInner>
      Returns:
      all the available namespaces within the subscription, irrespective of the resource groups as paginated response with PagedIterable.
      Throws:
      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.
    • list

      com.azure.core.http.rest.PagedIterable<SBNamespaceInner> list(com.azure.core.util.Context context)
      Gets all the available namespaces within the subscription, irrespective of the resource groups.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      all the available namespaces within the subscription, irrespective of the resource groups 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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<SBNamespaceInner> listByResourceGroupAsync(String resourceGroupName)
      Gets the available namespaces within a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<SBNamespaceInner>
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      Returns:
      the available namespaces within a resource group 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<SBNamespaceInner> listByResourceGroup(String resourceGroupName)
      Gets the available namespaces within a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<SBNamespaceInner>
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      Returns:
      the available namespaces within a resource group 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<SBNamespaceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets the available namespaces within a resource group.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      context - The context to associate with this operation.
      Returns:
      the available namespaces within a resource group 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<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, SBNamespaceInner parameters)
      Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - Parameters supplied to create a namespace resource.
      Returns:
      description of a namespace 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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SBNamespaceInner>,SBNamespaceInner> beginCreateOrUpdateAsync(String resourceGroupName, String namespaceName, SBNamespaceInner parameters)
      Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - Parameters supplied to create a namespace resource.
      Returns:
      the PollerFlux for polling of description of a namespace 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SBNamespaceInner>,SBNamespaceInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, SBNamespaceInner parameters)
      Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - Parameters supplied to create a namespace resource.
      Returns:
      the SyncPoller for polling of description of a namespace 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SBNamespaceInner>,SBNamespaceInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, SBNamespaceInner parameters, com.azure.core.util.Context context)
      Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - Parameters supplied to create a namespace resource.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of description of a namespace 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<SBNamespaceInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, SBNamespaceInner parameters)
      Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - Parameters supplied to create a namespace resource.
      Returns:
      description of a namespace 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.
    • createOrUpdate

      SBNamespaceInner createOrUpdate(String resourceGroupName, String namespaceName, SBNamespaceInner parameters)
      Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - Parameters supplied to create a namespace resource.
      Returns:
      description of a namespace 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

      SBNamespaceInner createOrUpdate(String resourceGroupName, String namespaceName, SBNamespaceInner parameters, com.azure.core.util.Context context)
      Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - Parameters supplied to create a namespace resource.
      context - The context to associate with this operation.
      Returns:
      description of a namespace 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<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String namespaceName)
      Deletes an existing namespace. This operation also removes all associated resources under the namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace 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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String namespaceName)
      Deletes an existing namespace. This operation also removes all associated resources under the namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String namespaceName)
      Deletes an existing namespace. This operation also removes all associated resources under the namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String namespaceName, com.azure.core.util.Context context)
      Deletes an existing namespace. This operation also removes all associated resources under the namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String namespaceName)
      Deletes an existing namespace. This operation also removes all associated resources under the namespace.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace 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.
    • delete

      void delete(String resourceGroupName, String namespaceName)
      Deletes an existing namespace. This operation also removes all associated resources under the namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace 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.
    • delete

      void delete(String resourceGroupName, String namespaceName, com.azure.core.util.Context context)
      Deletes an existing namespace. This operation also removes all associated resources under the namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponseAsync

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

      Mono<SBNamespaceInner> getByResourceGroupAsync(String resourceGroupName, String namespaceName)
      Gets a description for the specified namespace.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<SBNamespaceInner>
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      Returns:
      a description for the specified namespace 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.
    • getByResourceGroupWithResponse

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

      SBNamespaceInner getByResourceGroup(String resourceGroupName, String namespaceName)
      Gets a description for the specified namespace.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<SBNamespaceInner>
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      Returns:
      a description for the specified 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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<SBNamespaceInner>> updateWithResponseAsync(String resourceGroupName, String namespaceName, SBNamespaceUpdateParameters parameters)
      Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - Parameters supplied to update a namespace resource.
      Returns:
      description of a namespace 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.
    • updateAsync

      Mono<SBNamespaceInner> updateAsync(String resourceGroupName, String namespaceName, SBNamespaceUpdateParameters parameters)
      Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - Parameters supplied to update a namespace resource.
      Returns:
      description of a namespace 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.
    • updateWithResponse

      com.azure.core.http.rest.Response<SBNamespaceInner> updateWithResponse(String resourceGroupName, String namespaceName, SBNamespaceUpdateParameters parameters, com.azure.core.util.Context context)
      Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - Parameters supplied to update a namespace resource.
      context - The context to associate with this operation.
      Returns:
      description of a namespace 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.
    • update

      SBNamespaceInner update(String resourceGroupName, String namespaceName, SBNamespaceUpdateParameters parameters)
      Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - Parameters supplied to update a namespace resource.
      Returns:
      description of a namespace 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.
    • createOrUpdateNetworkRuleSetWithResponseAsync

      Mono<com.azure.core.http.rest.Response<NetworkRuleSetInner>> createOrUpdateNetworkRuleSetWithResponseAsync(String resourceGroupName, String namespaceName, NetworkRuleSetInner parameters)
      Create or update NetworkRuleSet for a Namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - The Namespace IpFilterRule.
      Returns:
      description of NetworkRuleSet 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.
    • createOrUpdateNetworkRuleSetAsync

      Mono<NetworkRuleSetInner> createOrUpdateNetworkRuleSetAsync(String resourceGroupName, String namespaceName, NetworkRuleSetInner parameters)
      Create or update NetworkRuleSet for a Namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - The Namespace IpFilterRule.
      Returns:
      description of NetworkRuleSet 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.
    • createOrUpdateNetworkRuleSetWithResponse

      com.azure.core.http.rest.Response<NetworkRuleSetInner> createOrUpdateNetworkRuleSetWithResponse(String resourceGroupName, String namespaceName, NetworkRuleSetInner parameters, com.azure.core.util.Context context)
      Create or update NetworkRuleSet for a Namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - The Namespace IpFilterRule.
      context - The context to associate with this operation.
      Returns:
      description of NetworkRuleSet 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.
    • createOrUpdateNetworkRuleSet

      NetworkRuleSetInner createOrUpdateNetworkRuleSet(String resourceGroupName, String namespaceName, NetworkRuleSetInner parameters)
      Create or update NetworkRuleSet for a Namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      parameters - The Namespace IpFilterRule.
      Returns:
      description of NetworkRuleSet 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.
    • getNetworkRuleSetWithResponseAsync

      Mono<com.azure.core.http.rest.Response<NetworkRuleSetInner>> getNetworkRuleSetWithResponseAsync(String resourceGroupName, String namespaceName)
      Gets NetworkRuleSet for a Namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      Returns:
      networkRuleSet for a Namespace 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.
    • getNetworkRuleSetAsync

      Mono<NetworkRuleSetInner> getNetworkRuleSetAsync(String resourceGroupName, String namespaceName)
      Gets NetworkRuleSet for a Namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      Returns:
      networkRuleSet for a Namespace 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.
    • getNetworkRuleSetWithResponse

      com.azure.core.http.rest.Response<NetworkRuleSetInner> getNetworkRuleSetWithResponse(String resourceGroupName, String namespaceName, com.azure.core.util.Context context)
      Gets NetworkRuleSet for a Namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      context - The context to associate with this operation.
      Returns:
      networkRuleSet for a Namespace 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.
    • getNetworkRuleSet

      NetworkRuleSetInner getNetworkRuleSet(String resourceGroupName, String namespaceName)
      Gets NetworkRuleSet for a Namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      Returns:
      networkRuleSet for 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.
    • listNetworkRuleSetsAsync

      com.azure.core.http.rest.PagedFlux<NetworkRuleSetInner> listNetworkRuleSetsAsync(String resourceGroupName, String namespaceName)
      Gets list of NetworkRuleSet for a Namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      Returns:
      list of NetworkRuleSet for a Namespace 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.
    • listNetworkRuleSets

      com.azure.core.http.rest.PagedIterable<NetworkRuleSetInner> listNetworkRuleSets(String resourceGroupName, String namespaceName)
      Gets list of NetworkRuleSet for a Namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      Returns:
      list of NetworkRuleSet for a Namespace 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.
    • listNetworkRuleSets

      com.azure.core.http.rest.PagedIterable<NetworkRuleSetInner> listNetworkRuleSets(String resourceGroupName, String namespaceName, com.azure.core.util.Context context)
      Gets list of NetworkRuleSet for a Namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      context - The context to associate with this operation.
      Returns:
      list of NetworkRuleSet for a Namespace 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.
    • listAuthorizationRulesAsync

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

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

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

      Mono<com.azure.core.http.rest.Response<SBAuthorizationRuleInner>> createOrUpdateAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String authorizationRuleName, SBAuthorizationRuleInner parameters)
      Creates or updates an authorization rule for a namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      authorizationRuleName - The authorization rule name.
      parameters - The shared access authorization rule.
      Returns:
      description of a namespace authorization rule 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.
    • createOrUpdateAuthorizationRuleAsync

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

      com.azure.core.http.rest.Response<SBAuthorizationRuleInner> createOrUpdateAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String authorizationRuleName, SBAuthorizationRuleInner parameters, com.azure.core.util.Context context)
      Creates or updates an authorization rule for a namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      authorizationRuleName - The authorization rule name.
      parameters - The shared access authorization rule.
      context - The context to associate with this operation.
      Returns:
      description of a namespace authorization rule 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.
    • createOrUpdateAuthorizationRule

      SBAuthorizationRuleInner createOrUpdateAuthorizationRule(String resourceGroupName, String namespaceName, String authorizationRuleName, SBAuthorizationRuleInner parameters)
      Creates or updates an authorization rule for a namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      authorizationRuleName - The authorization rule name.
      parameters - The shared access authorization 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.
    • deleteAuthorizationRuleWithResponseAsync

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

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

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

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

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

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

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

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

      Mono<AccessKeysInner> listKeysAsync(String resourceGroupName, String namespaceName, String authorizationRuleName)
      Gets the primary and secondary connection strings for the namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      authorizationRuleName - The authorization rule name.
      Returns:
      the primary and secondary connection strings for the namespace 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.
    • listKeysWithResponse

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

      AccessKeysInner listKeys(String resourceGroupName, String namespaceName, String authorizationRuleName)
      Gets the primary and secondary connection strings for the namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace name.
      authorizationRuleName - The authorization rule name.
      Returns:
      the primary and secondary connection strings for the 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.
    • regenerateKeysWithResponseAsync

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

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

      com.azure.core.http.rest.Response<AccessKeysInner> regenerateKeysWithResponse(String resourceGroupName, String namespaceName, String authorizationRuleName, RegenerateAccessKeyParameters parameters, com.azure.core.util.Context context)
      Regenerates the primary or secondary connection strings for the namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace 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 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.
    • regenerateKeys

      AccessKeysInner regenerateKeys(String resourceGroupName, String namespaceName, String authorizationRuleName, RegenerateAccessKeyParameters parameters)
      Regenerates the primary or secondary connection strings for the namespace.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      namespaceName - The namespace 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.
    • checkNameAvailabilityWithResponseAsync

      Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner>> checkNameAvailabilityWithResponseAsync(CheckNameAvailability parameters)
      Check the give namespace name availability.
      Parameters:
      parameters - Parameters to check availability of the given namespace name.
      Returns:
      description of a Check Name availability request properties 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.
    • checkNameAvailabilityAsync

      Mono<CheckNameAvailabilityResultInner> checkNameAvailabilityAsync(CheckNameAvailability parameters)
      Check the give namespace name availability.
      Parameters:
      parameters - Parameters to check availability of the given namespace name.
      Returns:
      description of a Check Name availability request properties 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.
    • checkNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(CheckNameAvailability parameters, com.azure.core.util.Context context)
      Check the give namespace name availability.
      Parameters:
      parameters - Parameters to check availability of the given namespace name.
      context - The context to associate with this operation.
      Returns:
      description of a Check Name availability request properties 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.
    • checkNameAvailability

      CheckNameAvailabilityResultInner checkNameAvailability(CheckNameAvailability parameters)
      Check the give namespace name availability.
      Parameters:
      parameters - Parameters to check availability of the given namespace name.
      Returns:
      description of a Check Name availability request properties.
      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.