namespaces_keys
Creates, updates, deletes, gets or lists a namespaces_keys
resource.
Overview
Name | namespaces_keys |
Type | Resource |
Id | azure.event_hubs.namespaces_keys |
Fields
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 AuthorizationRule. |
primaryConnectionString | string | Primary connection string of the created namespace AuthorizationRule. |
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 AuthorizationRule. |
secondaryKey | string | A base64-encoded 256-bit primary key for signing and validating the SAS token. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | authorizationRuleName, namespaceName, resourceGroupName, subscriptionId | Gets the primary and secondary connection strings for the Namespace. |
SELECT
examples
Gets the primary and secondary connection strings for the Namespace.
SELECT
aliasPrimaryConnectionString,
aliasSecondaryConnectionString,
keyName,
primaryConnectionString,
primaryKey,
secondaryConnectionString,
secondaryKey
FROM azure.event_hubs.namespaces_keys
WHERE authorizationRuleName = '{{ authorizationRuleName }}'
AND namespaceName = '{{ namespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';