Skip to main content

shared_keys_shared_keys

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

Overview

Nameshared_keys_shared_keys
TypeResource
Idazure.log_analytics.shared_keys_shared_keys

Fields

NameDatatypeDescription
primarySharedKeystringThe primary shared key of a workspace.
secondarySharedKeystringThe secondary shared key of a workspace.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, workspaceNameGets the shared keys for a workspace.

SELECT examples

Gets the shared keys for a workspace.

SELECT
primarySharedKey,
secondarySharedKey
FROM azure.log_analytics.shared_keys_shared_keys
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';