Skip to main content

smart_groups_histories

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

Overview

Namesmart_groups_histories
TypeResource
Idazure.alerts_management.smart_groups_histories

Fields

The following fields are returned by SELECT queries:

OK. Returns the list of changes of smart group.

NameDatatypeDescription
idstringAzure resource Id
namestringAzure resource name
propertiesobjectProperties of the smartGroup modification item.
typestringAzure resource type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, smartGroupIdapi-versionGet the history a smart group, which captures any Smart Group state changes (New/Acknowledged/Closed) .

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
smartGroupIdstringSmart group unique id.
subscriptionIdstringThe ID of the target subscription.
api-versionstringclient API version

SELECT examples

Get the history a smart group, which captures any Smart Group state changes (New/Acknowledged/Closed) .

SELECT
id,
name,
properties,
type
FROM azure.alerts_management.smart_groups_histories
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND smartGroupId = '{{ smartGroupId }}' -- required
AND api-version = '{{ api-version }}'
;