Skip to main content

intelligence_packs

Creates, updates, deletes, gets or lists an intelligence_packs resource.

Overview

Nameintelligence_packs
TypeResource
Idazure.log_analytics.intelligence_packs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the intelligence pack.
displayNamestringThe display name of the intelligence pack.
enabledbooleanThe enabled boolean for the intelligence pack.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresource_group_name, workspace_name, subscription_idLists all the intelligence packs possible and whether they are enabled or disabled for a given workspace.
disableexecresource_group_name, workspace_name, intelligence_pack_name, subscription_idDisables an intelligence pack for a given workspace.
enableexecresource_group_name, workspace_name, intelligence_pack_name, subscription_idEnables 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.

NameDatatypeDescription
intelligence_pack_namestringThe name of the intelligence pack. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
workspace_namestringThe name of the workspace. Required.

SELECT examples

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

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
;