DisasterRecoveryConfigs interface

Interface representing a DisasterRecoveryConfigs.

Methods

getAuthorizationRule(string, string, string, string, DisasterRecoveryConfigsGetAuthorizationRuleOptionalParams)

Gets an AuthorizationRule for a Namespace by rule name.

listAuthorizationRules(string, string, string, DisasterRecoveryConfigsListAuthorizationRulesOptionalParams)

Gets a list of authorization rules for a Namespace.

listKeys(string, string, string, string, DisasterRecoveryConfigsListKeysOptionalParams)

Gets the primary and secondary connection strings for the Namespace.

Method Details

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.

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

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.

options
DisasterRecoveryConfigsListKeysOptionalParams

The options parameters.

Returns

Promise<AccessKeys>