Skip to main content

health_monitors_state_changes

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

Overview

Namehealth_monitors_state_changes
TypeResource
Idazure.workload_monitor.health_monitors_state_changes

Fields

NameDatatypeDescription
idtextThe resource Id.
nametextThe resource name.
current_monitor_statetextfield from the properties object
current_state_first_observed_timestamptextfield from the properties object
evaluation_timestamptextfield from the properties object
evidencetextfield from the properties object
monitorIdtextfield from the properties object
monitor_configurationtextfield from the properties object
monitor_nametextfield from the properties object
monitor_typetextfield from the properties object
monitored_objecttextfield from the properties object
previous_monitor_statetextfield from the properties object
providerNametextfield from the properties object
resourceCollectionNametextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
subscriptionIdtextfield from the properties object
timestampUnixtextfield from the properties object
typetextThe resource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTmonitorId, providerName, resourceCollectionName, resourceGroupName, resourceName, subscriptionId, timestampUnix
listSELECTmonitorId, providerName, resourceCollectionName, resourceGroupName, resourceName, subscriptionId

SELECT examples

SELECT
id,
name,
current_monitor_state,
current_state_first_observed_timestamp,
evaluation_timestamp,
evidence,
monitorId,
monitor_configuration,
monitor_name,
monitor_type,
monitored_object,
previous_monitor_state,
providerName,
resourceCollectionName,
resourceGroupName,
resourceName,
subscriptionId,
timestampUnix,
type
FROM azure.workload_monitor.vw_health_monitors_state_changes
WHERE monitorId = '{{ monitorId }}'
AND providerName = '{{ providerName }}'
AND resourceCollectionName = '{{ resourceCollectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';