metric_alerts_status
Creates, updates, deletes, gets or lists a metric_alerts_status
resource.
Overview
Name | metric_alerts_status |
Type | Resource |
Id | azure.monitor.metric_alerts_status |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The alert rule arm id. |
name | string | The status name. |
properties | object | An alert status properties. |
type | string | The extended resource type name. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | resourceGroupName, ruleName, subscriptionId | Retrieve an alert rule status. |
list_by_name | SELECT | resourceGroupName, ruleName, statusName, subscriptionId | Retrieve an alert rule status. |
SELECT
examples
Retrieve an alert rule status.
SELECT
id,
name,
properties,
type
FROM azure.monitor.metric_alerts_status
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND ruleName = '{{ ruleName }}'
AND subscriptionId = '{{ subscriptionId }}';