DisasterRecoveryConfigs interface
Interface representing a DisasterRecoveryConfigs.
Methods
Method Details
breakPairing(string, string, string, DisasterRecoveryConfigsBreakPairingOptionalParams)
This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces
function breakPairing(resourceGroupName: string, namespaceName: string, alias: string, options?: DisasterRecoveryConfigsBreakPairingOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group within the azure subscription.
- namespaceName
-
string
The Namespace name
- alias
-
string
The Disaster Recovery configuration name
The options parameters.
Returns
Promise<void>
checkNameAvailability(string, string, CheckNameAvailabilityParameter, DisasterRecoveryConfigsCheckNameAvailabilityOptionalParams)
Check the give Namespace name availability.
function checkNameAvailability(resourceGroupName: string, namespaceName: string, parameters: CheckNameAvailabilityParameter, options?: DisasterRecoveryConfigsCheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResult>
Parameters
- resourceGroupName
-
string
Name of the resource group within the azure subscription.
- namespaceName
-
string
The Namespace name
- parameters
- CheckNameAvailabilityParameter
Parameters to check availability of the given Alias name
The options parameters.
Returns
Promise<CheckNameAvailabilityResult>
createOrUpdate(string, string, string, ArmDisasterRecovery, DisasterRecoveryConfigsCreateOrUpdateOptionalParams)
Creates or updates a new Alias(Disaster Recovery configuration)
function createOrUpdate(resourceGroupName: string, namespaceName: string, alias: string, parameters: ArmDisasterRecovery, options?: DisasterRecoveryConfigsCreateOrUpdateOptionalParams): Promise<ArmDisasterRecovery>
Parameters
- resourceGroupName
-
string
Name of the resource group within the azure subscription.
- namespaceName
-
string
The Namespace name
- alias
-
string
The Disaster Recovery configuration name
- parameters
- ArmDisasterRecovery
Parameters required to create an Alias(Disaster Recovery configuration)
The options parameters.
Returns
Promise<ArmDisasterRecovery>
delete(string, string, string, DisasterRecoveryConfigsDeleteOptionalParams)
Deletes an Alias(Disaster Recovery configuration)
function delete(resourceGroupName: string, namespaceName: string, alias: string, options?: DisasterRecoveryConfigsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group within the azure subscription.
- namespaceName
-
string
The Namespace name
- alias
-
string
The Disaster Recovery configuration name
The options parameters.
Returns
Promise<void>
failOver(string, string, string, DisasterRecoveryConfigsFailOverOptionalParams)
Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace
function failOver(resourceGroupName: string, namespaceName: string, alias: string, options?: DisasterRecoveryConfigsFailOverOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of the resource group within the azure subscription.
- namespaceName
-
string
The Namespace name
- alias
-
string
The Disaster Recovery configuration name
The options parameters.
Returns
Promise<void>
get(string, string, string, DisasterRecoveryConfigsGetOptionalParams)
Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace
function get(resourceGroupName: string, namespaceName: string, alias: string, options?: DisasterRecoveryConfigsGetOptionalParams): Promise<ArmDisasterRecovery>
Parameters
- resourceGroupName
-
string
Name of the resource group within the azure subscription.
- namespaceName
-
string
The Namespace name
- alias
-
string
The Disaster Recovery configuration name
The options parameters.
Returns
Promise<ArmDisasterRecovery>
getAuthorizationRule(string, string, string, string, DisasterRecoveryConfigsGetAuthorizationRuleOptionalParams)
Gets an AuthorizationRule for a Namespace by rule name.
function getAuthorizationRule(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options?: DisasterRecoveryConfigsGetAuthorizationRuleOptionalParams): Promise<AuthorizationRule>
Parameters
- resourceGroupName
-
string
Name of the resource group within the azure subscription.
- namespaceName
-
string
The Namespace name
- alias
-
string
The Disaster Recovery configuration name
- authorizationRuleName
-
string
The authorization rule name.
The options parameters.
Returns
Promise<AuthorizationRule>
list(string, string, DisasterRecoveryConfigsListOptionalParams)
Gets all Alias(Disaster Recovery configurations)
function list(resourceGroupName: string, namespaceName: string, options?: DisasterRecoveryConfigsListOptionalParams): PagedAsyncIterableIterator<ArmDisasterRecovery, ArmDisasterRecovery[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group within the azure subscription.
- namespaceName
-
string
The Namespace name
The options parameters.
Returns
listAuthorizationRules(string, string, string, DisasterRecoveryConfigsListAuthorizationRulesOptionalParams)
Gets a list of authorization rules for a Namespace.
function listAuthorizationRules(resourceGroupName: string, namespaceName: string, alias: string, options?: DisasterRecoveryConfigsListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<AuthorizationRule, AuthorizationRule[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the resource group within the azure subscription.
- namespaceName
-
string
The Namespace name
- alias
-
string
The Disaster Recovery configuration name
The options parameters.
Returns
listKeys(string, string, string, string, DisasterRecoveryConfigsListKeysOptionalParams)
Gets the primary and secondary connection strings for the Namespace.
function listKeys(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, options?: DisasterRecoveryConfigsListKeysOptionalParams): Promise<AccessKeys>
Parameters
- resourceGroupName
-
string
Name of the resource group within the azure subscription.
- namespaceName
-
string
The Namespace name
- alias
-
string
The Disaster Recovery configuration name
- authorizationRuleName
-
string
The authorization rule name.
The options parameters.
Returns
Promise<AccessKeys>