vw_monitors
Creates, updates, deletes, gets or lists a vw_monitors
resource.
Overview
Name | vw_monitors |
Type | View |
Id | azure_isv.sap_workloads.vw_monitors |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
identity as identity,
tags as tags,
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.errors') as "errors",
JSON_EXTRACT(properties, '$.appLocation') as "app_location",
JSON_EXTRACT(properties, '$.routingPreference') as "routing_preference",
JSON_EXTRACT(properties, '$.zoneRedundancyPreference') as "zone_redundancy_preference",
JSON_EXTRACT(properties, '$.managedResourceGroupConfiguration') as "managed_resource_group_configuration",
JSON_EXTRACT(properties, '$.logAnalyticsWorkspaceArmId') as "log_analytics_workspace_arm_id",
JSON_EXTRACT(properties, '$.monitorSubnet') as "monitor_subnet",
JSON_EXTRACT(properties, '$.msiArmId') as "msi_arm_id",
JSON_EXTRACT(properties, '$.storageAccountArmId') as "storage_account_arm_id",
subscriptionId,
resourceGroupName,
monitorName
FROM azure_isv.sap_workloads.monitors
WHERE subscriptionId = 'replace-me';
SELECT
location as location,
identity as identity,
tags as tags,
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.errors') as "errors",
json_extract_path_text(properties, '$.appLocation') as "app_location",
json_extract_path_text(properties, '$.routingPreference') as "routing_preference",
json_extract_path_text(properties, '$.zoneRedundancyPreference') as "zone_redundancy_preference",
json_extract_path_text(properties, '$.managedResourceGroupConfiguration') as "managed_resource_group_configuration",
json_extract_path_text(properties, '$.logAnalyticsWorkspaceArmId') as "log_analytics_workspace_arm_id",
json_extract_path_text(properties, '$.monitorSubnet') as "monitor_subnet",
json_extract_path_text(properties, '$.msiArmId') as "msi_arm_id",
json_extract_path_text(properties, '$.storageAccountArmId') as "storage_account_arm_id",
subscriptionId,
resourceGroupName,
monitorName
FROM azure_isv.sap_workloads.monitors
WHERE subscriptionId = 'replace-me';