Skip to main content

namespaces_keys

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

Overview

Namenamespaces_keys
TypeResource
Idazure.notification_hubs.namespaces_keys

Fields

The following fields are returned by SELECT queries:

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

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, namespaceName, authorizationRuleName

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.

NameDatatypeDescription
authorizationRuleNamestringAuthorization Rule Name
namespaceNamestringNamespace name
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Success

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