topics_shared_access_keys
Creates, updates, deletes, gets or lists a topics_shared_access_keys resource.
Overview
| Name | topics_shared_access_keys |
| Type | Resource |
| Id | azure.event_grid.topics_shared_access_keys |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
key1 | string | Shared access key1 for the topic. |
key2 | string | Shared access key2 for the topic. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, resourceGroupName, topicName | List the two keys used to publish to a topic. |
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 |
|---|---|---|
resourceGroupName | string | The name of the resource group within the user's subscription. |
subscriptionId | string | Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
topicName | string | Name of the topic. |
SELECT examples
- list
List the two keys used to publish to a topic.
SELECT
key1,
key2
FROM azure.event_grid.topics_shared_access_keys
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND topicName = '{{ topicName }}' -- required
;