Skip to main content

keys

Creates, updates, deletes, gets or lists a keys resource.

Overview

Namekeys
TypeResource
Idazure.notification_hubs.keys

Fields

NameDatatypeDescription
keyNamestringGets or sets keyName of the created AuthorizationRule
primaryConnectionStringstringGets or sets primaryConnectionString of the AuthorizationRule.
primaryKeystringGets or sets primaryKey of the created AuthorizationRule.
secondaryConnectionStringstringGets or sets secondaryConnectionString of the created
AuthorizationRule
secondaryKeystringGets or sets secondaryKey of the created AuthorizationRule

Methods

NameAccessible byRequired ParamsDescription
listSELECTauthorizationRuleName, namespaceName, notificationHubName, resourceGroupName, subscriptionId

SELECT examples

SELECT
keyName,
primaryConnectionString,
primaryKey,
secondaryConnectionString,
secondaryKey
FROM azure.notification_hubs.keys
WHERE authorizationRuleName = '{{ authorizationRuleName }}'
AND namespaceName = '{{ namespaceName }}'
AND notificationHubName = '{{ notificationHubName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';