Interface DisasterRecoveryConfigsClient
public interface DisasterRecoveryConfigsClient
An instance of this class provides access to all the operations defined in DisasterRecoveryConfigsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbreakPairing(String resourceGroupName, String namespaceName, String alias) This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces.breakPairingAsync(String resourceGroupName, String namespaceName, String alias) This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces.com.azure.core.http.rest.Response<Void> breakPairingWithResponse(String resourceGroupName, String namespaceName, String alias, com.azure.core.util.Context context) This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces.breakPairingWithResponseAsync(String resourceGroupName, String namespaceName, String alias) This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces.checkNameAvailability(String resourceGroupName, String namespaceName, CheckNameAvailability parameters) Check the give namespace name availability.checkNameAvailabilityAsync(String resourceGroupName, String namespaceName, CheckNameAvailability parameters) Check the give namespace name availability.com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(String resourceGroupName, String namespaceName, CheckNameAvailability parameters, com.azure.core.util.Context context) Check the give namespace name availability.Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner>> checkNameAvailabilityWithResponseAsync(String resourceGroupName, String namespaceName, CheckNameAvailability parameters) Check the give namespace name availability.createOrUpdate(String resourceGroupName, String namespaceName, String alias, ArmDisasterRecoveryInner parameters) Creates or updates a new Alias(Disaster Recovery configuration).createOrUpdateAsync(String resourceGroupName, String namespaceName, String alias, ArmDisasterRecoveryInner parameters) Creates or updates a new Alias(Disaster Recovery configuration).com.azure.core.http.rest.Response<ArmDisasterRecoveryInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String alias, ArmDisasterRecoveryInner parameters, com.azure.core.util.Context context) Creates or updates a new Alias(Disaster Recovery configuration).Mono<com.azure.core.http.rest.Response<ArmDisasterRecoveryInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String alias, ArmDisasterRecoveryInner parameters) Creates or updates a new Alias(Disaster Recovery configuration).voidDeletes an Alias(Disaster Recovery configuration).deleteAsync(String resourceGroupName, String namespaceName, String alias) Deletes an Alias(Disaster Recovery configuration).com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, String alias, com.azure.core.util.Context context) Deletes an Alias(Disaster Recovery configuration).deleteWithResponseAsync(String resourceGroupName, String namespaceName, String alias) Deletes an Alias(Disaster Recovery configuration).voidInvokes GEO DR failover and reconfigure the alias to point to the secondary namespace.failOverAsync(String resourceGroupName, String namespaceName, String alias) Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace.com.azure.core.http.rest.Response<Void> failOverWithResponse(String resourceGroupName, String namespaceName, String alias, FailoverProperties parameters, com.azure.core.util.Context context) Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace.failOverWithResponseAsync(String resourceGroupName, String namespaceName, String alias, FailoverProperties parameters) Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace.Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace.Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace.getAuthorizationRule(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName) Gets an authorization rule for a namespace by rule name.getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String alias, 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 alias, 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 alias, String authorizationRuleName) Gets an authorization rule for a namespace by rule name.com.azure.core.http.rest.Response<ArmDisasterRecoveryInner> getWithResponse(String resourceGroupName, String namespaceName, String alias, com.azure.core.util.Context context) Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace.Mono<com.azure.core.http.rest.Response<ArmDisasterRecoveryInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String alias) Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace.com.azure.core.http.rest.PagedIterable<ArmDisasterRecoveryInner> Gets all Alias(Disaster Recovery configurations).com.azure.core.http.rest.PagedIterable<ArmDisasterRecoveryInner> Gets all Alias(Disaster Recovery configurations).com.azure.core.http.rest.PagedFlux<ArmDisasterRecoveryInner> Gets all Alias(Disaster Recovery configurations).com.azure.core.http.rest.PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String alias) Gets the authorization rules for a namespace.com.azure.core.http.rest.PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String alias, 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, String alias) Gets the authorization rules for a namespace.listKeys(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName) Gets the primary and secondary connection strings for the namespace.listKeysAsync(String resourceGroupName, String namespaceName, String alias, 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 alias, 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 alias, String authorizationRuleName) Gets the primary and secondary connection strings for the namespace.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<ArmDisasterRecoveryInner> listAsync(String resourceGroupName, String namespaceName) Gets all Alias(Disaster Recovery configurations).- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.- Returns:
- all Alias(Disaster Recovery configurations) 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.
-
list
com.azure.core.http.rest.PagedIterable<ArmDisasterRecoveryInner> list(String resourceGroupName, String namespaceName) Gets all Alias(Disaster Recovery configurations).- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.- Returns:
- all Alias(Disaster Recovery configurations) 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.
-
list
com.azure.core.http.rest.PagedIterable<ArmDisasterRecoveryInner> list(String resourceGroupName, String namespaceName, com.azure.core.util.Context context) Gets all Alias(Disaster Recovery configurations).- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.context- The context to associate with this operation.- Returns:
- all Alias(Disaster Recovery configurations) 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<ArmDisasterRecoveryInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String alias, ArmDisasterRecoveryInner parameters) Creates or updates a new Alias(Disaster Recovery configuration).- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration name.parameters- Parameters required to create an Alias(Disaster Recovery configuration).- Returns:
- single item in List or Get Alias(Disaster Recovery configuration) operation 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.
-
createOrUpdateAsync
Mono<ArmDisasterRecoveryInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, String alias, ArmDisasterRecoveryInner parameters) Creates or updates a new Alias(Disaster Recovery configuration).- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration name.parameters- Parameters required to create an Alias(Disaster Recovery configuration).- Returns:
- single item in List or Get Alias(Disaster Recovery configuration) operation 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<ArmDisasterRecoveryInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String alias, ArmDisasterRecoveryInner parameters, com.azure.core.util.Context context) Creates or updates a new Alias(Disaster Recovery configuration).- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration name.parameters- Parameters required to create an Alias(Disaster Recovery configuration).context- The context to associate with this operation.- Returns:
- single item in List or Get Alias(Disaster Recovery configuration) operation 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.
-
createOrUpdate
ArmDisasterRecoveryInner createOrUpdate(String resourceGroupName, String namespaceName, String alias, ArmDisasterRecoveryInner parameters) Creates or updates a new Alias(Disaster Recovery configuration).- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration name.parameters- Parameters required to create an Alias(Disaster Recovery configuration).- Returns:
- single item in List or Get Alias(Disaster Recovery configuration) 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<Void>> deleteWithResponseAsync(String resourceGroupName, String namespaceName, String alias) Deletes an Alias(Disaster Recovery configuration).- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration 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.
-
deleteAsync
Deletes an Alias(Disaster Recovery configuration).- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, String alias, com.azure.core.util.Context context) Deletes an Alias(Disaster Recovery configuration).- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration 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.
-
delete
Deletes an Alias(Disaster Recovery configuration).- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ArmDisasterRecoveryInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String alias) Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration name.- Returns:
- single item in List or Get Alias(Disaster Recovery configuration) operation 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.
-
getAsync
Mono<ArmDisasterRecoveryInner> getAsync(String resourceGroupName, String namespaceName, String alias) Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration name.- Returns:
- single item in List or Get Alias(Disaster Recovery configuration) operation 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.
-
getWithResponse
com.azure.core.http.rest.Response<ArmDisasterRecoveryInner> getWithResponse(String resourceGroupName, String namespaceName, String alias, com.azure.core.util.Context context) Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration name.context- The context to associate with this operation.- Returns:
- single item in List or Get Alias(Disaster Recovery configuration) operation 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.
-
get
Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration name.- Returns:
- single item in List or Get Alias(Disaster Recovery configuration) 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.
-
breakPairingWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> breakPairingWithResponseAsync(String resourceGroupName, String namespaceName, String alias) This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration 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.
-
breakPairingAsync
This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration 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.
-
breakPairingWithResponse
com.azure.core.http.rest.Response<Void> breakPairingWithResponse(String resourceGroupName, String namespaceName, String alias, com.azure.core.util.Context context) This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration 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.
-
breakPairing
This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration 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.
-
failOverWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> failOverWithResponseAsync(String resourceGroupName, String namespaceName, String alias, FailoverProperties parameters) Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration name.parameters- Parameters required to create an Alias(Disaster Recovery configuration).- 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.
-
failOverAsync
Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration 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.
-
failOverWithResponse
com.azure.core.http.rest.Response<Void> failOverWithResponse(String resourceGroupName, String namespaceName, String alias, FailoverProperties parameters, com.azure.core.util.Context context) Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration name.parameters- Parameters required to create an Alias(Disaster Recovery configuration).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.
-
failOver
Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration 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.
-
listAuthorizationRulesAsync
com.azure.core.http.rest.PagedFlux<SBAuthorizationRuleInner> listAuthorizationRulesAsync(String resourceGroupName, String namespaceName, String alias) Gets the authorization rules for a namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration 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, String alias) Gets the authorization rules for a namespace.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.alias- The Disaster Recovery configuration 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, String alias, 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.alias- The Disaster Recovery configuration 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.
-
getAuthorizationRuleWithResponseAsync
Mono<com.azure.core.http.rest.Response<SBAuthorizationRuleInner>> getAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String alias, 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.alias- The Disaster Recovery configuration 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 alias, 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.alias- The Disaster Recovery configuration 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 alias, 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.alias- The Disaster Recovery configuration 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 alias, 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.alias- The Disaster Recovery configuration 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 alias, 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.alias- The Disaster Recovery configuration 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 alias, 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.alias- The Disaster Recovery configuration 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 alias, 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.alias- The Disaster Recovery configuration 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 alias, 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.alias- The Disaster Recovery configuration 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.
-
checkNameAvailabilityWithResponseAsync
Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner>> checkNameAvailabilityWithResponseAsync(String resourceGroupName, String namespaceName, CheckNameAvailability parameters) Check the give namespace name availability.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.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
Mono<CheckNameAvailabilityResultInner> checkNameAvailabilityAsync(String resourceGroupName, String namespaceName, CheckNameAvailability parameters) Check the give namespace name availability.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.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(String resourceGroupName, String namespaceName, CheckNameAvailability parameters, com.azure.core.util.Context context) Check the give namespace name availability.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.parameters- Parameters to check availability of the given namespace name.context- The context to associate with this operation.- Returns:
- description of a Check Name availability request properties along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailability
CheckNameAvailabilityResultInner checkNameAvailability(String resourceGroupName, String namespaceName, CheckNameAvailability parameters) Check the give namespace name availability.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.namespaceName- The namespace name.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.
-