smart_groups_histories
Creates, updates, deletes, gets or lists a smart_groups_histories
resource.
Overview
Name | smart_groups_histories |
Type | Resource |
Id | azure.alerts_management.smart_groups_histories |
Fields
The following fields are returned by SELECT
queries:
- get
OK. Returns the list of changes of smart group.
Name | Datatype | Description |
---|---|---|
id | string | Azure resource Id |
name | string | Azure resource name |
properties | object | Properties of the smartGroup modification item. |
type | string | Azure resource type |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , smartGroupId | api-version | Get 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.
Name | Datatype | Description |
---|---|---|
smartGroupId | string | Smart group unique id. |
subscriptionId | string | The ID of the target subscription. |
api-version | string | client API version |
SELECT
examples
- get
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 }}'
;