DisasterRecoveryConfigs interface
Interface representing a DisasterRecoveryConfigs.
Methods
get |
Gets an AuthorizationRule for a Namespace by rule name. |
list |
Gets a list of authorization rules for a Namespace. |
list |
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.
The options parameters.
Returns
Promise<AuthorizationRule>
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>