Skip to main content

metric_alerts_status

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

Overview

Namemetric_alerts_status
TypeResource
Idazure.monitor.metric_alerts_status

Fields

NameDatatypeDescription
idstringThe alert rule arm id.
namestringThe status name.
propertiesobjectAn alert status properties.
typestringThe extended resource type name.

Methods

NameAccessible byRequired ParamsDescription
listSELECTresourceGroupName, ruleName, subscriptionIdRetrieve an alert rule status.
list_by_nameSELECTresourceGroupName, ruleName, statusName, subscriptionIdRetrieve 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 }}';