vw_service_healths
Creates, updates, deletes, gets or lists a vw_service_healths
resource.
Overview
Name | vw_service_healths |
Type | View |
Id | azure_stack.infrastructure_insights_admin.vw_service_healths |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
tags as tags,
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.serviceLocation') as "service_location",
JSON_EXTRACT(properties, '$.infraURI') as "infra_uri",
JSON_EXTRACT(properties, '$.alertSummary') as "alert_summary",
JSON_EXTRACT(properties, '$.healthState') as "health_state",
JSON_EXTRACT(properties, '$.namespace') as "namespace",
JSON_EXTRACT(properties, '$.registrationId') as "registration_id",
JSON_EXTRACT(properties, '$.routePrefix') as "route_prefix",
subscriptionId,
resourceGroupName,
location,
serviceHealth
FROM azure_stack.infrastructure_insights_admin.service_healths
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND location = 'replace-me';
SELECT
location as location,
tags as tags,
json_extract_path_text(properties, '$.displayName') as "display_name",
json_extract_path_text(properties, '$.serviceLocation') as "service_location",
json_extract_path_text(properties, '$.infraURI') as "infra_uri",
json_extract_path_text(properties, '$.alertSummary') as "alert_summary",
json_extract_path_text(properties, '$.healthState') as "health_state",
json_extract_path_text(properties, '$.namespace') as "namespace",
json_extract_path_text(properties, '$.registrationId') as "registration_id",
json_extract_path_text(properties, '$.routePrefix') as "route_prefix",
subscriptionId,
resourceGroupName,
location,
serviceHealth
FROM azure_stack.infrastructure_insights_admin.service_healths
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND location = 'replace-me';