Interface DisasterRecoveryConfigsClient
public interface DisasterRecoveryConfigsClient
An instance of this class provides access to all the operations defined in DisasterRecoveryConfigsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
breakPairing
(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, CheckNameAvailabilityParameter parameters) Check the give Namespace name availability.checkNameAvailabilityAsync
(String resourceGroupName, String namespaceName, CheckNameAvailabilityParameter parameters) Check the give Namespace name availability.com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner>
checkNameAvailabilityWithResponse
(String resourceGroupName, String namespaceName, CheckNameAvailabilityParameter 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, CheckNameAvailabilityParameter 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).void
Deletes 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).void
Invokes 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, 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) 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 AuthorizationRule for a Namespace by rule name.getAuthorizationRuleAsync
(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName) Gets an AuthorizationRule for a Namespace by rule name.com.azure.core.http.rest.Response<AuthorizationRuleInner>
getAuthorizationRuleWithResponse
(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName, com.azure.core.util.Context context) Gets an AuthorizationRule for a Namespace by rule name.Mono<com.azure.core.http.rest.Response<AuthorizationRuleInner>>
getAuthorizationRuleWithResponseAsync
(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName) Gets an AuthorizationRule 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<AuthorizationRuleInner>
listAuthorizationRules
(String resourceGroupName, String namespaceName, String alias) Gets a list of authorization rules for a Namespace.com.azure.core.http.rest.PagedIterable<AuthorizationRuleInner>
listAuthorizationRules
(String resourceGroupName, String namespaceName, String alias, com.azure.core.util.Context context) Gets a list of authorization rules for a Namespace.com.azure.core.http.rest.PagedFlux<AuthorizationRuleInner>
listAuthorizationRulesAsync
(String resourceGroupName, String namespaceName, String alias) Gets a list of 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
-
checkNameAvailabilityWithResponseAsync
Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner>> checkNameAvailabilityWithResponseAsync(String resourceGroupName, String namespaceName, CheckNameAvailabilityParameter 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 Alias name.- Returns:
- the Result of the CheckNameAvailability operation.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailabilityAsync
Mono<CheckNameAvailabilityResultInner> checkNameAvailabilityAsync(String resourceGroupName, String namespaceName, CheckNameAvailabilityParameter 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 Alias name.- Returns:
- the Result of the CheckNameAvailability operation.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailability
CheckNameAvailabilityResultInner checkNameAvailability(String resourceGroupName, String namespaceName, CheckNameAvailabilityParameter 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 Alias name.- Returns:
- the Result of the CheckNameAvailability operation.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(String resourceGroupName, String namespaceName, CheckNameAvailabilityParameter 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 Alias name.context
- The context to associate with this operation.- Returns:
- the Result of the CheckNameAvailability operation.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
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).
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.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).
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.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).
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.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.
-
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.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 completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
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 completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
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.
-
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.
-
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.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.
-
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.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 completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
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:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
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.
-
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.
-
failOverWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> failOverWithResponseAsync(String resourceGroupName, String namespaceName, String alias) 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:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
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:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
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.
-
failOverWithResponse
com.azure.core.http.rest.Response<Void> failOverWithResponse(String resourceGroupName, String namespaceName, String alias, 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.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.
-
listAuthorizationRulesAsync
com.azure.core.http.rest.PagedFlux<AuthorizationRuleInner> listAuthorizationRulesAsync(String resourceGroupName, String namespaceName, String alias) Gets a list of 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:
- a list of authorization rules for a Namespace.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listAuthorizationRules
com.azure.core.http.rest.PagedIterable<AuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String alias) Gets a list of 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:
- a list of authorization rules for a Namespace.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listAuthorizationRules
com.azure.core.http.rest.PagedIterable<AuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String alias, com.azure.core.util.Context context) Gets a list of authorization rules for a Namespace.- Parameters:
resourceGroupName
- Name of the resource group within the azure subscription.namespaceName
- The Namespace name.alias
- The Disaster Recovery configuration name.context
- The context to associate with this operation.- Returns:
- a list of authorization rules for a Namespace.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getAuthorizationRuleWithResponseAsync
Mono<com.azure.core.http.rest.Response<AuthorizationRuleInner>> getAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName) Gets an AuthorizationRule for a Namespace by rule name.- Parameters:
resourceGroupName
- Name of the resource group within the azure subscription.namespaceName
- The Namespace name.alias
- The Disaster Recovery configuration name.authorizationRuleName
- The authorization rule name.- Returns:
- an AuthorizationRule for a Namespace by rule name.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getAuthorizationRuleAsync
Mono<AuthorizationRuleInner> getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName) Gets an AuthorizationRule for a Namespace by rule name.- Parameters:
resourceGroupName
- Name of the resource group within the azure subscription.namespaceName
- The Namespace name.alias
- The Disaster Recovery configuration name.authorizationRuleName
- The authorization rule name.- Returns:
- an AuthorizationRule for a Namespace by rule name.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getAuthorizationRule
AuthorizationRuleInner getAuthorizationRule(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName) Gets an AuthorizationRule for a Namespace by rule name.- Parameters:
resourceGroupName
- Name of the resource group within the azure subscription.namespaceName
- The Namespace name.alias
- The Disaster Recovery configuration name.authorizationRuleName
- The authorization rule name.- Returns:
- an AuthorizationRule for a Namespace by rule name.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getAuthorizationRuleWithResponse
com.azure.core.http.rest.Response<AuthorizationRuleInner> getAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName, com.azure.core.util.Context context) Gets an AuthorizationRule for a Namespace by rule name.- Parameters:
resourceGroupName
- Name of the resource group within the azure subscription.namespaceName
- The Namespace name.alias
- The Disaster Recovery configuration name.authorizationRuleName
- The authorization rule name.context
- The context to associate with this operation.- Returns:
- an AuthorizationRule for a Namespace by rule name.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listKeysWithResponseAsync
Mono<com.azure.core.http.rest.Response<AccessKeysInner>> listKeysWithResponseAsync(String resourceGroupName, String namespaceName, String 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.
-
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.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.
-
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-