namespaces_keys
Creates, updates, deletes, gets or lists a namespaces_keys
resource.
Overview
Name | namespaces_keys |
Type | Resource |
Id | azure.notification_hubs.namespaces_keys |
Fields
The following fields are returned by SELECT
queries:
- list
Name | Datatype | Description |
---|---|---|
keyName | string | Gets or sets keyName of the created AuthorizationRule |
primaryConnectionString | string | Gets or sets primaryConnectionString of the AuthorizationRule. |
primaryKey | string | Gets or sets primaryKey of the created AuthorizationRule. |
secondaryConnectionString | string | Gets or sets secondaryConnectionString of the created AuthorizationRule |
secondaryKey | string | Gets or sets secondaryKey of the created AuthorizationRule |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , 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.
Name | Datatype | Description |
---|---|---|
authorizationRuleName | string | Authorization Rule Name |
namespaceName | string | 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
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
;