Skip to main content

partner_namespaces_shared_access_keys

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

Overview

Namepartner_namespaces_shared_access_keys
TypeResource
Idazure.event_grid.partner_namespaces_shared_access_keys

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
key1stringShared access key1 for the partner namespace.
key2stringShared access key2 for the partner namespace.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, partnerNamespaceNameList the two keys used to publish to a partner namespace.

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
partnerNamespaceNamestringName of the partner namespace.
resourceGroupNamestringThe name of the resource group within the user's subscription.
subscriptionIdstringSubscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

List the two keys used to publish to a partner namespace.

SELECT
key1,
key2
FROM azure.event_grid.partner_namespaces_shared_access_keys
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND partnerNamespaceName = '{{ partnerNamespaceName }}' -- required
;