health_monitors_state_changes
Creates, updates, deletes, gets or lists a health_monitors_state_changes
resource.
Overview
Name | health_monitors_state_changes |
Type | Resource |
Id | azure.workload_monitor.health_monitors_state_changes |
Fields
- vw_health_monitors_state_changes
- health_monitors_state_changes
Name | Datatype | Description |
---|---|---|
id | text | The resource Id. |
name | text | The resource name. |
current_monitor_state | text | field from the properties object |
current_state_first_observed_timestamp | text | field from the properties object |
evaluation_timestamp | text | field from the properties object |
evidence | text | field from the properties object |
monitorId | text | field from the properties object |
monitor_configuration | text | field from the properties object |
monitor_name | text | field from the properties object |
monitor_type | text | field from the properties object |
monitored_object | text | field from the properties object |
previous_monitor_state | text | field from the properties object |
providerName | text | field from the properties object |
resourceCollectionName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
timestampUnix | text | field from the properties object |
type | text | The resource type. |
Name | Datatype | Description |
---|---|---|
id | string | The resource Id. |
name | string | The resource name. |
properties | object | Properties of the monitor. |
type | string | The resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | monitorId, providerName, resourceCollectionName, resourceGroupName, resourceName, subscriptionId, timestampUnix | |
list | SELECT | monitorId, providerName, resourceCollectionName, resourceGroupName, resourceName, subscriptionId |
SELECT
examples
- vw_health_monitors_state_changes
- health_monitors_state_changes
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 }}';
SELECT
id,
name,
properties,
type
FROM azure.workload_monitor.health_monitors_state_changes
WHERE monitorId = '{{ monitorId }}'
AND providerName = '{{ providerName }}'
AND resourceCollectionName = '{{ resourceCollectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';