Interface NamespacesClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<SBNamespaceInner>,InnerSupportsListing<SBNamespaceInner>
public interface NamespacesClient
extends InnerSupportsGet<SBNamespaceInner>, InnerSupportsListing<SBNamespaceInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in NamespacesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.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.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.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.beginDelete(String resourceGroupName, String namespaceName) Deletes an existing namespace.beginDelete(String resourceGroupName, String namespaceName, com.azure.core.util.Context context) Deletes an existing namespace.beginDeleteAsync(String resourceGroupName, String namespaceName) Deletes an existing namespace.checkNameAvailability(CheckNameAvailability parameters) Check the give namespace name availability.checkNameAvailabilityAsync(CheckNameAvailability parameters) Check the give namespace name availability.com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(CheckNameAvailability parameters, com.azure.core.util.Context context) Check the give namespace name availability.Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner>> Check the give namespace name availability.createOrUpdate(String resourceGroupName, String namespaceName, SBNamespaceInner parameters) Creates or updates a service namespace.createOrUpdate(String resourceGroupName, String namespaceName, SBNamespaceInner parameters, com.azure.core.util.Context context) Creates or updates a service namespace.createOrUpdateAsync(String resourceGroupName, String namespaceName, SBNamespaceInner parameters) Creates or updates a service namespace.createOrUpdateAuthorizationRule(String resourceGroupName, String namespaceName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates or updates an authorization rule for a namespace.createOrUpdateAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String authorizationRuleName, SBAuthorizationRuleInner parameters) Creates or updates an authorization rule for a namespace.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.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.createOrUpdateNetworkRuleSet(String resourceGroupName, String namespaceName, NetworkRuleSetInner parameters) Create or update NetworkRuleSet for a Namespace.createOrUpdateNetworkRuleSetAsync(String resourceGroupName, String namespaceName, NetworkRuleSetInner parameters) Create or update NetworkRuleSet for a Namespace.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.Mono<com.azure.core.http.rest.Response<NetworkRuleSetInner>> createOrUpdateNetworkRuleSetWithResponseAsync(String resourceGroupName, String namespaceName, NetworkRuleSetInner parameters) Create or update NetworkRuleSet for a Namespace.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, SBNamespaceInner parameters) Creates or updates a service namespace.voidDeletes an existing namespace.voidDeletes an existing namespace.deleteAsync(String resourceGroupName, String namespaceName) Deletes an existing namespace.voiddeleteAuthorizationRule(String resourceGroupName, String namespaceName, String authorizationRuleName) Deletes a namespace authorization rule.deleteAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String authorizationRuleName) Deletes a namespace authorization rule.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.deleteAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String authorizationRuleName) Deletes a namespace authorization rule.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String namespaceName) Deletes an existing namespace.getAuthorizationRule(String resourceGroupName, String namespaceName, String authorizationRuleName) Gets an authorization rule for a namespace by rule name.getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String authorizationRuleName) Gets an authorization rule for a namespace by rule name.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.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.getByResourceGroup(String resourceGroupName, String namespaceName) Gets a description for the specified namespace.getByResourceGroupAsync(String resourceGroupName, String namespaceName) Gets a description for the specified namespace.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.Mono<com.azure.core.http.rest.Response<SBNamespaceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String namespaceName) Gets a description for the specified namespace.getNetworkRuleSet(String resourceGroupName, String namespaceName) Gets NetworkRuleSet for a Namespace.getNetworkRuleSetAsync(String resourceGroupName, String namespaceName) Gets NetworkRuleSet for a Namespace.com.azure.core.http.rest.Response<NetworkRuleSetInner> getNetworkRuleSetWithResponse(String resourceGroupName, String namespaceName, com.azure.core.util.Context context) Gets NetworkRuleSet for a Namespace.Mono<com.azure.core.http.rest.Response<NetworkRuleSetInner>> getNetworkRuleSetWithResponseAsync(String resourceGroupName, String namespaceName) Gets NetworkRuleSet for a Namespace.com.azure.core.http.rest.PagedIterable<SBNamespaceInner> list()Gets all the available namespaces within the subscription, irrespective of the resource groups.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.com.azure.core.http.rest.PagedFlux<SBNamespaceInner> Gets all the available namespaces within the subscription, irrespective of the resource groups.com.azure.core.http.rest.PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName) Gets the authorization rules for a namespace.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.com.azure.core.http.rest.PagedFlux<SBAuthorizationRuleInner> listAuthorizationRulesAsync(String resourceGroupName, String namespaceName) Gets the authorization rules for a namespace.com.azure.core.http.rest.PagedIterable<SBNamespaceInner> listByResourceGroup(String resourceGroupName) Gets the available namespaces within a resource group.com.azure.core.http.rest.PagedIterable<SBNamespaceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets the available namespaces within a resource group.com.azure.core.http.rest.PagedFlux<SBNamespaceInner> listByResourceGroupAsync(String resourceGroupName) Gets the available namespaces within a resource group.Gets the primary and secondary connection strings for the namespace.listKeysAsync(String resourceGroupName, String namespaceName, String authorizationRuleName) Gets the primary and secondary connection strings for the namespace.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.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.com.azure.core.http.rest.PagedIterable<NetworkRuleSetInner> listNetworkRuleSets(String resourceGroupName, String namespaceName) Gets list of NetworkRuleSet for a Namespace.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.com.azure.core.http.rest.PagedFlux<NetworkRuleSetInner> listNetworkRuleSetsAsync(String resourceGroupName, String namespaceName) Gets list of NetworkRuleSet for a Namespace.regenerateKeys(String resourceGroupName, String namespaceName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates the primary or secondary connection strings for the namespace.regenerateKeysAsync(String resourceGroupName, String namespaceName, String authorizationRuleName, RegenerateAccessKeyParameters parameters) Regenerates the primary or secondary connection strings for the namespace.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.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.update(String resourceGroupName, String namespaceName, SBNamespaceUpdateParameters parameters) Updates a service namespace.updateAsync(String resourceGroupName, String namespaceName, SBNamespaceUpdateParameters parameters) Updates a service namespace.com.azure.core.http.rest.Response<SBNamespaceInner> updateWithResponse(String resourceGroupName, String namespaceName, SBNamespaceUpdateParameters parameters, com.azure.core.util.Context context) Updates a service namespace.Mono<com.azure.core.http.rest.Response<SBNamespaceInner>> updateWithResponseAsync(String resourceGroupName, String namespaceName, SBNamespaceUpdateParameters parameters) Updates a service namespace.
-
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:
listAsyncin interfaceInnerSupportsListing<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:
listin interfaceInnerSupportsListing<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
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:
listByResourceGroupAsyncin interfaceInnerSupportsListing<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:
listByResourceGroupin interfaceInnerSupportsListing<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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
Deletes an existing namespace. This operation also removes all associated resources under the namespace.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.- Returns:
- A
Monothat 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
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
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
Responseon successful completion ofMono. - 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
Gets a description for the specified namespace.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<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
Gets a description for the specified namespace.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<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
Responseon successful completion ofMono. - 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
Responseon successful completion ofMono. - 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
Responseon successful completion ofMono. - 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
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
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
Responseon successful completion ofMono. - 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
Responseon successful completion ofMono. - 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
Monothat 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
Responseon successful completion ofMono. - 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
Responseon successful completion ofMono. - 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
Responseon successful completion ofMono. - 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
Responseon successful completion ofMono. - 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
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
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.
-