共用方式為


DisasterRecoveryConfigsClient Interface

public interface DisasterRecoveryConfigsClient

An instance of this class provides access to all the operations defined in DisasterRecoveryConfigsClient.

Method Summary

Modifier and Type Method and Description
abstract void breakPairing(String resourceGroupName, String namespaceName, String alias)

This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces.

abstract Mono<Void> breakPairingAsync(String resourceGroupName, String namespaceName, String alias)

This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces.

abstract Response<Void> breakPairingWithResponse(String resourceGroupName, String namespaceName, String alias, Context context)

This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces.

abstract Mono<Response<Void>> breakPairingWithResponseAsync(String resourceGroupName, String namespaceName, String alias)

This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces.

abstract CheckNameAvailabilityResultInner checkNameAvailability(String resourceGroupName, String namespaceName, CheckNameAvailability parameters)

Check the give namespace name availability.

abstract Mono<CheckNameAvailabilityResultInner> checkNameAvailabilityAsync(String resourceGroupName, String namespaceName, CheckNameAvailability parameters)

Check the give namespace name availability.

abstract Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(String resourceGroupName, String namespaceName, CheckNameAvailability parameters, Context context)

Check the give namespace name availability.

abstract Mono<Response<CheckNameAvailabilityResultInner>> checkNameAvailabilityWithResponseAsync(String resourceGroupName, String namespaceName, CheckNameAvailability parameters)

Check the give namespace name availability.

abstract ArmDisasterRecoveryInner createOrUpdate(String resourceGroupName, String namespaceName, String alias, ArmDisasterRecoveryInner parameters)

Creates or updates a new Alias(Disaster Recovery configuration).

abstract Mono<ArmDisasterRecoveryInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, String alias, ArmDisasterRecoveryInner parameters)

Creates or updates a new Alias(Disaster Recovery configuration).

abstract Response<ArmDisasterRecoveryInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String alias, ArmDisasterRecoveryInner parameters, Context context)

Creates or updates a new Alias(Disaster Recovery configuration).

abstract Mono<Response<ArmDisasterRecoveryInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String alias, ArmDisasterRecoveryInner parameters)

Creates or updates a new Alias(Disaster Recovery configuration).

abstract void delete(String resourceGroupName, String namespaceName, String alias)

Deletes an Alias(Disaster Recovery configuration).

abstract Mono<Void> deleteAsync(String resourceGroupName, String namespaceName, String alias)

Deletes an Alias(Disaster Recovery configuration).

abstract Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, String alias, Context context)

Deletes an Alias(Disaster Recovery configuration).

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String namespaceName, String alias)

Deletes an Alias(Disaster Recovery configuration).

abstract void failOver(String resourceGroupName, String namespaceName, String alias)

Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace.

abstract Mono<Void> failOverAsync(String resourceGroupName, String namespaceName, String alias)

Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace.

abstract Response<Void> failOverWithResponse(String resourceGroupName, String namespaceName, String alias, FailoverProperties parameters, Context context)

Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace.

abstract Mono<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.

abstract ArmDisasterRecoveryInner get(String resourceGroupName, String namespaceName, String alias)

Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace.

abstract Mono<ArmDisasterRecoveryInner> getAsync(String resourceGroupName, String namespaceName, String alias)

Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace.

abstract SBAuthorizationRuleInner getAuthorizationRule(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName)

Gets an authorization rule for a namespace by rule name.

abstract Mono<SBAuthorizationRuleInner> getAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName)

Gets an authorization rule for a namespace by rule name.

abstract Response<SBAuthorizationRuleInner> getAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName, Context context)

Gets an authorization rule for a namespace by rule name.

abstract Mono<Response<SBAuthorizationRuleInner>> getAuthorizationRuleWithResponseAsync(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName)

Gets an authorization rule for a namespace by rule name.

abstract Response<ArmDisasterRecoveryInner> getWithResponse(String resourceGroupName, String namespaceName, String alias, Context context)

Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace.

abstract Mono<Response<ArmDisasterRecoveryInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String alias)

Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace.

abstract PagedIterable<ArmDisasterRecoveryInner> list(String resourceGroupName, String namespaceName)

Gets all Alias(Disaster Recovery configurations).

abstract PagedIterable<ArmDisasterRecoveryInner> list(String resourceGroupName, String namespaceName, Context context)

Gets all Alias(Disaster Recovery configurations).

abstract PagedFlux<ArmDisasterRecoveryInner> listAsync(String resourceGroupName, String namespaceName)

Gets all Alias(Disaster Recovery configurations).

abstract PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String alias)

Gets the authorization rules for a namespace.

abstract PagedIterable<SBAuthorizationRuleInner> listAuthorizationRules(String resourceGroupName, String namespaceName, String alias, Context context)

Gets the authorization rules for a namespace.

abstract PagedFlux<SBAuthorizationRuleInner> listAuthorizationRulesAsync(String resourceGroupName, String namespaceName, String alias)

Gets the authorization rules for a namespace.

abstract AccessKeysInner listKeys(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName)

Gets the primary and secondary connection strings for the namespace.

abstract Mono<AccessKeysInner> listKeysAsync(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName)

Gets the primary and secondary connection strings for the namespace.

abstract Response<AccessKeysInner> listKeysWithResponse(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName, Context context)

Gets the primary and secondary connection strings for the namespace.

abstract Mono<Response<AccessKeysInner>> listKeysWithResponseAsync(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName)

Gets the primary and secondary connection strings for the namespace.

Method Details

breakPairing

public abstract void breakPairing(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.

breakPairingAsync

public abstract Mono breakPairingAsync(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:

A Mono that completes when a successful response is received.

breakPairingWithResponse

public abstract Response breakPairingWithResponse(String resourceGroupName, String namespaceName, String alias, 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:

breakPairingWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

checkNameAvailability

public abstract 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.

checkNameAvailabilityAsync

public abstract Mono 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.

checkNameAvailabilityWithResponse

public abstract Response checkNameAvailabilityWithResponse(String resourceGroupName, String namespaceName, CheckNameAvailability parameters, 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<T>.

checkNameAvailabilityWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

createOrUpdate

public abstract 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.

createOrUpdateAsync

public abstract Mono 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.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String alias, ArmDisasterRecoveryInner parameters, 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<T>.

createOrUpdateWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

delete

public abstract void delete(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.

deleteAsync

public abstract Mono deleteAsync(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:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String namespaceName, String alias, 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:

deleteWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

failOver

public abstract void failOver(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.

failOverAsync

public abstract Mono failOverAsync(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:

A Mono that completes when a successful response is received.

failOverWithResponse

public abstract Response failOverWithResponse(String resourceGroupName, String namespaceName, String alias, FailoverProperties parameters, 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:

failOverWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

get

public abstract ArmDisasterRecoveryInner get(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.

getAsync

public abstract Mono 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.

getAuthorizationRule

public abstract 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.

getAuthorizationRuleAsync

public abstract Mono 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.

getAuthorizationRuleWithResponse

public abstract Response getAuthorizationRuleWithResponse(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName, 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<T>.

getAuthorizationRuleWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String namespaceName, String alias, 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<T>.

getWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

list

public abstract PagedIterable 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<T>.

list

public abstract PagedIterable list(String resourceGroupName, String namespaceName, 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<T>.

listAsync

public abstract PagedFlux 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<T>.

listAuthorizationRules

public abstract PagedIterable 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<T>.

listAuthorizationRules

public abstract PagedIterable listAuthorizationRules(String resourceGroupName, String namespaceName, String alias, 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<T>.

listAuthorizationRulesAsync

public abstract PagedFlux 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<T>.

listKeys

public abstract 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.

listKeysAsync

public abstract Mono 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.

listKeysWithResponse

public abstract Response listKeysWithResponse(String resourceGroupName, String namespaceName, String alias, String authorizationRuleName, 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<T>.

listKeysWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

Applies to