intelligence_packs
Creates, updates, deletes, gets or lists an intelligence_packs resource.
Overview
| Name | intelligence_packs |
| Type | Resource |
| Id | azure.log_analytics.intelligence_packs |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the intelligence pack. |
displayName | string | The display name of the intelligence pack. |
enabled | boolean | The enabled boolean for the intelligence pack. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | resource_group_name, workspace_name, subscription_id | Lists all the intelligence packs possible and whether they are enabled or disabled for a given workspace. | |
disable | exec | resource_group_name, workspace_name, intelligence_pack_name, subscription_id | Disables an intelligence pack for a given workspace. | |
enable | exec | resource_group_name, workspace_name, intelligence_pack_name, subscription_id | Enables an intelligence pack for a given 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 |
|---|---|---|
intelligence_pack_name | string | The name of the intelligence pack. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
workspace_name | string | The name of the workspace. Required. |
SELECT examples
- list
Lists all the intelligence packs possible and whether they are enabled or disabled for a given workspace.
SELECT
name,
displayName,
enabled
FROM azure.log_analytics.intelligence_packs
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Lifecycle Methods
- disable
- enable
Disables an intelligence pack for a given workspace.
EXEC azure.log_analytics.intelligence_packs.disable
@resource_group_name='{{ resource_group_name }}' --required,
@workspace_name='{{ workspace_name }}' --required,
@intelligence_pack_name='{{ intelligence_pack_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Enables an intelligence pack for a given workspace.
EXEC azure.log_analytics.intelligence_packs.enable
@resource_group_name='{{ resource_group_name }}' --required,
@workspace_name='{{ workspace_name }}' --required,
@intelligence_pack_name='{{ intelligence_pack_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;