disaster_recovery_configs_keys
Creates, updates, deletes, gets or lists a disaster_recovery_configs_keys
resource.
Overview
Name | disaster_recovery_configs_keys |
Type | Resource |
Id | azure.service_bus.disaster_recovery_configs_keys |
Fields
The following fields are returned by SELECT
queries:
- list
Connection strings successfully returned.
Name | Datatype | Description |
---|---|---|
aliasPrimaryConnectionString | string | Primary connection string of the alias if GEO DR is enabled |
aliasSecondaryConnectionString | string | Secondary connection string of the alias if GEO DR is enabled |
keyName | string | A string that describes the authorization rule. |
primaryConnectionString | string | Primary connection string of the created namespace authorization rule. |
primaryKey | string | A base64-encoded 256-bit primary key for signing and validating the SAS token. |
secondaryConnectionString | string | Secondary connection string of the created namespace authorization rule. |
secondaryKey | string | A base64-encoded 256-bit primary key for signing and validating the SAS token. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | resourceGroupName , namespaceName , alias , authorizationRuleName , subscriptionId | Gets the primary and secondary connection strings for the namespace. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
alias | string | The Disaster Recovery configuration name |
authorizationRuleName | string | The authorization rule name. |
namespaceName | string | The namespace name |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- list
Gets the primary and secondary connection strings for the namespace.
SELECT
aliasPrimaryConnectionString,
aliasSecondaryConnectionString,
keyName,
primaryConnectionString,
primaryKey,
secondaryConnectionString,
secondaryKey
FROM azure.service_bus.disaster_recovery_configs_keys
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND namespaceName = '{{ namespaceName }}' -- required
AND alias = '{{ alias }}' -- required
AND authorizationRuleName = '{{ authorizationRuleName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;