storage_insight_configs
Creates, updates, deletes, gets or lists a storage_insight_configs
resource.
Overview
Name | storage_insight_configs |
Type | Resource |
Id | azure.log_analytics.storage_insight_configs |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_workspace
OK response definition.
Name | Datatype | Description |
---|---|---|
eTag | string | The ETag of the storage insight. |
properties | object | Storage insight properties. |
tags | object | Resource tags. |
OK response definition.
Name | Datatype | Description |
---|---|---|
eTag | string | The ETag of the storage insight. |
properties | object | Storage insight properties. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , workspaceName , storageInsightName , subscriptionId | Gets a storage insight instance. | |
list_by_workspace | select | resourceGroupName , workspaceName , subscriptionId | Lists the storage insight instances within a workspace | |
create_or_update | insert | resourceGroupName , workspaceName , storageInsightName , subscriptionId | Create or update a storage insight. | |
delete | delete | resourceGroupName , workspaceName , storageInsightName , subscriptionId | Deletes a storageInsightsConfigs resource |
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. |
storageInsightName | string | Name of the storageInsightsConfigs resource |
subscriptionId | string | The ID of the target subscription. |
workspaceName | string | The name of the workspace. |
SELECT
examples
- get
- list_by_workspace
Gets a storage insight instance.
SELECT
eTag,
properties,
tags
FROM azure.log_analytics.storage_insight_configs
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND storageInsightName = '{{ storageInsightName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Lists the storage insight instances within a workspace
SELECT
eTag,
properties,
tags
FROM azure.log_analytics.storage_insight_configs
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
Create or update a storage insight.
INSERT INTO azure.log_analytics.storage_insight_configs (
data__properties,
data__eTag,
data__tags,
resourceGroupName,
workspaceName,
storageInsightName,
subscriptionId
)
SELECT
'{{ properties }}',
'{{ eTag }}',
'{{ tags }}',
'{{ resourceGroupName }}',
'{{ workspaceName }}',
'{{ storageInsightName }}',
'{{ subscriptionId }}'
RETURNING
eTag,
properties,
tags
;
# Description fields are for documentation purposes
- name: storage_insight_configs
props:
- name: resourceGroupName
value: string
description: Required parameter for the storage_insight_configs resource.
- name: workspaceName
value: string
description: Required parameter for the storage_insight_configs resource.
- name: storageInsightName
value: string
description: Required parameter for the storage_insight_configs resource.
- name: subscriptionId
value: string
description: Required parameter for the storage_insight_configs resource.
- name: properties
value: object
description: |
Storage insight properties.
- name: eTag
value: string
description: |
The ETag of the storage insight.
- name: tags
value: object
description: |
Resource tags.
DELETE
examples
- delete
Deletes a storageInsightsConfigs resource
DELETE FROM azure.log_analytics.storage_insight_configs
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND workspaceName = '{{ workspaceName }}' --required
AND storageInsightName = '{{ storageInsightName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;