keys
Creates, updates, deletes, gets or lists a keys
resource.
Overview
Name | keys |
Type | Resource |
Id | azure.web_pubsub.keys |
Fields
Name | Datatype | Description |
---|---|---|
primaryConnectionString | string | Connection string constructed via the primaryKey |
primaryKey | string | The primary access key. |
secondaryConnectionString | string | Connection string constructed via the secondaryKey |
secondaryKey | string | The secondary access key. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | resourceGroupName, resourceName, subscriptionId | Get the access keys of the resource. |
SELECT
examples
Get the access keys of the resource.
SELECT
primaryConnectionString,
primaryKey,
secondaryConnectionString,
secondaryKey
FROM azure.web_pubsub.keys
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';