Interface NamespacesClient

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

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

    • listAsync

      com.azure.core.http.rest.PagedFlux<EHNamespaceInner> listAsync()
      Lists all the available Namespaces within a subscription, irrespective of the resource groups.
      Specified by:
      listAsync in interface InnerSupportsListing<EHNamespaceInner>
      Returns:
      the response of the List Namespace operation.
      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<EHNamespaceInner> list()
      Lists all the available Namespaces within a subscription, irrespective of the resource groups.
      Specified by:
      list in interface InnerSupportsListing<EHNamespaceInner>
      Returns:
      the response of the List Namespace operation.
      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<EHNamespaceInner> list(com.azure.core.util.Context context)
      Lists all the available Namespaces within a subscription, irrespective of the resource groups.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the response of the List Namespace 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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<EHNamespaceInner> listByResourceGroupAsync(String resourceGroupName)
      Lists the available Namespaces within a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<EHNamespaceInner>
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      Returns:
      the response of the List Namespace 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<EHNamespaceInner> listByResourceGroup(String resourceGroupName)
      Lists the available Namespaces within a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<EHNamespaceInner>
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      Returns:
      the response of the List Namespace 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<EHNamespaceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists 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 response of the List Namespace 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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, EHNamespaceInner parameters)
      Creates or updates a 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 for creating a namespace resource.
      Returns:
      single Namespace item in List or Get 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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EHNamespaceInner>,EHNamespaceInner> beginCreateOrUpdateAsync(String resourceGroupName, String namespaceName, EHNamespaceInner parameters)
      Creates or updates a 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 for creating a namespace resource.
      Returns:
      single Namespace item in List or Get 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EHNamespaceInner>,EHNamespaceInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, EHNamespaceInner parameters)
      Creates or updates a 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 for creating a namespace resource.
      Returns:
      single Namespace item in List or Get 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EHNamespaceInner>,EHNamespaceInner> beginCreateOrUpdate(String resourceGroupName, String namespaceName, EHNamespaceInner parameters, com.azure.core.util.Context context)
      Creates or updates a 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 for creating a namespace resource.
      context - The context to associate with this operation.
      Returns:
      single Namespace item in List or Get 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.
    • createOrUpdateAsync

      Mono<EHNamespaceInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, EHNamespaceInner parameters)
      Creates or updates a 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 for creating a namespace resource.
      Returns:
      single Namespace item in List or Get 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.
    • createOrUpdate

      EHNamespaceInner createOrUpdate(String resourceGroupName, String namespaceName, EHNamespaceInner parameters)
      Creates or updates a 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 for creating a namespace resource.
      Returns:
      single Namespace item in List or Get 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.
    • createOrUpdate

      EHNamespaceInner createOrUpdate(String resourceGroupName, String namespaceName, EHNamespaceInner parameters, com.azure.core.util.Context context)
      Creates or updates a 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 for creating a namespace resource.
      context - The context to associate with this operation.
      Returns:
      single Namespace item in List or Get 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.
    • 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 completion.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String 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 completion.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String 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 completion.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String 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 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)
      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:
      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)
      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<EHNamespaceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String namespaceName)
      Gets the description of the specified namespace.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      namespaceName - The Namespace name.
      Returns:
      the description of 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.
    • getByResourceGroupAsync

      Mono<EHNamespaceInner> getByResourceGroupAsync(String resourceGroupName, String namespaceName)
      Gets the description of the specified namespace.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<EHNamespaceInner>
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      namespaceName - The Namespace name.
      Returns:
      the description of 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.
    • getByResourceGroup

      EHNamespaceInner getByResourceGroup(String resourceGroupName, String namespaceName)
      Gets the description of the specified namespace.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<EHNamespaceInner>
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      namespaceName - The Namespace name.
      Returns:
      the description of 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<EHNamespaceInner> getByResourceGroupWithResponse(String resourceGroupName, String namespaceName, com.azure.core.util.Context context)
      Gets the description of 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:
      the description of 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<EHNamespaceInner>> updateWithResponseAsync(String resourceGroupName, String namespaceName, EHNamespaceInner parameters)
      Creates or updates a 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 for updating a namespace resource.
      Returns:
      single Namespace item in List or Get 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.
    • updateAsync

      Mono<EHNamespaceInner> updateAsync(String resourceGroupName, String namespaceName, EHNamespaceInner parameters)
      Creates or updates a 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 for updating a namespace resource.
      Returns:
      single Namespace item in List or Get 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.
    • update

      EHNamespaceInner update(String resourceGroupName, String namespaceName, EHNamespaceInner parameters)
      Creates or updates a 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 for updating a namespace resource.
      Returns:
      single Namespace item in List or Get 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.
    • updateWithResponse

      com.azure.core.http.rest.Response<EHNamespaceInner> updateWithResponse(String resourceGroupName, String namespaceName, EHNamespaceInner parameters, com.azure.core.util.Context context)
      Creates or updates a 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 for updating a namespace resource.
      context - The context to associate with this operation.
      Returns:
      single Namespace item in List or Get 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.
    • 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 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.
    • 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 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.
    • 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 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.
    • 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 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.
    • 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.
      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.
      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.
    • 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.
      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.
    • listNetworkRuleSetWithResponseAsync

      Mono<com.azure.core.http.rest.Response<NetworkRuleSetListResultInner>> listNetworkRuleSetWithResponseAsync(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.
    • listNetworkRuleSetAsync

      Mono<NetworkRuleSetListResultInner> listNetworkRuleSetAsync(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.
    • listNetworkRuleSet

      NetworkRuleSetListResultInner listNetworkRuleSet(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.
    • listNetworkRuleSetWithResponse

      com.azure.core.http.rest.Response<NetworkRuleSetListResultInner> listNetworkRuleSetWithResponse(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.
      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<AuthorizationRuleInner> listAuthorizationRulesAsync(String resourceGroupName, String namespaceName)
      Gets a list of authorization rules for a Namespace.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      namespaceName - The Namespace name.
      Returns:
      a list of authorization rules 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.
    • listAuthorizationRules

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

      com.azure.core.http.rest.PagedIterable<AuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, com.azure.core.util.Context context)
      Gets a list of 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:
      a list of authorization rules 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.
    • createOrUpdateAuthorizationRuleWithResponseAsync

      Mono<com.azure.core.http.rest.Response<AuthorizationRuleInner>> createOrUpdateAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String authorizationRuleName, AuthorizationRuleInner parameters)
      Creates or updates an AuthorizationRule 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 AuthorizationRule.
      Returns:
      single item in a List or Get AuthorizationRule 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.
    • createOrUpdateAuthorizationRuleAsync

      Mono<AuthorizationRuleInner> createOrUpdateAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String authorizationRuleName, AuthorizationRuleInner parameters)
      Creates or updates an AuthorizationRule 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 AuthorizationRule.
      Returns:
      single item in a List or Get AuthorizationRule 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.
    • createOrUpdateAuthorizationRule

      AuthorizationRuleInner createOrUpdateAuthorizationRule(String resourceGroupName, String namespaceName, String authorizationRuleName, AuthorizationRuleInner parameters)
      Creates or updates an AuthorizationRule 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 AuthorizationRule.
      Returns:
      single item in a List or Get AuthorizationRule 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.
    • createOrUpdateAuthorizationRuleWithResponse

      com.azure.core.http.rest.Response<AuthorizationRuleInner> createOrUpdateAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String authorizationRuleName, AuthorizationRuleInner parameters, com.azure.core.util.Context context)
      Creates or updates an AuthorizationRule 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 AuthorizationRule.
      context - The context to associate with this operation.
      Returns:
      single item in a List or Get AuthorizationRule 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.
    • deleteAuthorizationRuleWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String authorizationRuleName)
      Deletes an AuthorizationRule for a Namespace.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      namespaceName - The Namespace 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 authorizationRuleName)
      Deletes an AuthorizationRule for a Namespace.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      namespaceName - The Namespace 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 authorizationRuleName)
      Deletes an AuthorizationRule for a Namespace.
      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.
    • deleteAuthorizationRuleWithResponse

      com.azure.core.http.rest.Response<Void> deleteAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String authorizationRuleName, com.azure.core.util.Context context)
      Deletes an AuthorizationRule for a 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 response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getAuthorizationRuleWithResponseAsync

      Mono<com.azure.core.http.rest.Response<AuthorizationRuleInner>> getAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String authorizationRuleName)
      Gets an AuthorizationRule 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 AuthorizationRule 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.
    • getAuthorizationRuleAsync

      Mono<AuthorizationRuleInner> getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String authorizationRuleName)
      Gets an AuthorizationRule 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 AuthorizationRule 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.
    • getAuthorizationRule

      AuthorizationRuleInner getAuthorizationRule(String resourceGroupName, String namespaceName, String authorizationRuleName)
      Gets an AuthorizationRule 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 AuthorizationRule 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.
    • getAuthorizationRuleWithResponse

      com.azure.core.http.rest.Response<AuthorizationRuleInner> getAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String authorizationRuleName, com.azure.core.util.Context context)
      Gets an AuthorizationRule 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 AuthorizationRule 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.
      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.
      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.
    • 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.
      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 specified Namespace.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      namespaceName - The Namespace name.
      authorizationRuleName - The authorization rule name.
      parameters - Parameters required to regenerate the connection string.
      Returns:
      namespace/EventHub 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 authorizationRuleName, RegenerateAccessKeyParameters parameters)
      Regenerates the primary or secondary connection strings for the specified Namespace.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      namespaceName - The Namespace name.
      authorizationRuleName - The authorization rule name.
      parameters - Parameters required to regenerate the connection string.
      Returns:
      namespace/EventHub 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 authorizationRuleName, RegenerateAccessKeyParameters parameters)
      Regenerates the primary or secondary connection strings for the specified Namespace.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      namespaceName - The Namespace name.
      authorizationRuleName - The authorization rule name.
      parameters - Parameters required to regenerate the connection string.
      Returns:
      namespace/EventHub 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 authorizationRuleName, RegenerateAccessKeyParameters parameters, com.azure.core.util.Context context)
      Regenerates the primary or secondary connection strings for the specified Namespace.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      namespaceName - The Namespace name.
      authorizationRuleName - The authorization rule name.
      parameters - Parameters required to regenerate the connection string.
      context - The context to associate with this operation.
      Returns:
      namespace/EventHub 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(CheckNameAvailabilityParameter parameters)
      Check the give Namespace name availability.
      Parameters:
      parameters - Parameters to check availability of the given Namespace name.
      Returns:
      the Result of the CheckNameAvailability 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.
    • checkNameAvailabilityAsync

      Mono<CheckNameAvailabilityResultInner> checkNameAvailabilityAsync(CheckNameAvailabilityParameter parameters)
      Check the give Namespace name availability.
      Parameters:
      parameters - Parameters to check availability of the given Namespace name.
      Returns:
      the Result of the CheckNameAvailability 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.
    • checkNameAvailability

      Check the give Namespace name availability.
      Parameters:
      parameters - Parameters to check availability of the given Namespace name.
      Returns:
      the Result of the CheckNameAvailability 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.
    • checkNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(CheckNameAvailabilityParameter 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:
      the Result of the CheckNameAvailability 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.