shared_keys_shared_keys
Creates, updates, deletes, gets or lists a shared_keys_shared_keys
resource.
Overview
Name | shared_keys_shared_keys |
Type | Resource |
Id | azure.log_analytics.shared_keys_shared_keys |
Fields
The following fields are returned by SELECT
queries:
- get
OK response definition.
Name | Datatype | Description |
---|---|---|
primarySharedKey | string | The primary shared key of a workspace. |
secondarySharedKey | string | The secondary shared key of a workspace. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , workspaceName , subscriptionId | Gets the shared keys for a workspace. |
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. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
workspaceName | string | The name of the workspace. |
SELECT
examples
- get
Gets the shared keys for a workspace.
SELECT
primarySharedKey,
secondarySharedKey
FROM azure.log_analytics.shared_keys_shared_keys
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;