vw_monitors
Creates, updates, deletes, gets or lists a vw_monitors
resource.
Overview
Name | vw_monitors |
Type | View |
Id | azure_isv.newrelic.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, '$.monitoringStatus') as "monitoring_status",
JSON_EXTRACT(properties, '$.marketplaceSubscriptionStatus') as "marketplace_subscription_status",
JSON_EXTRACT(properties, '$.marketplaceSubscriptionId') as "marketplace_subscription_id",
JSON_EXTRACT(properties, '$.newRelicAccountProperties') as "new_relic_account_properties",
JSON_EXTRACT(properties, '$.userInfo') as "user_info",
JSON_EXTRACT(properties, '$.planData') as "plan_data",
JSON_EXTRACT(properties, '$.liftrResourceCategory') as "liftr_resource_category",
JSON_EXTRACT(properties, '$.liftrResourcePreference') as "liftr_resource_preference",
JSON_EXTRACT(properties, '$.orgCreationSource') as "org_creation_source",
JSON_EXTRACT(properties, '$.accountCreationSource') as "account_creation_source",
JSON_EXTRACT(properties, '$.subscriptionState') as "subscription_state",
JSON_EXTRACT(properties, '$.saaSAzureSubscriptionStatus') as "saa_s_azure_subscription_status",
subscriptionId,
resourceGroupName,
monitorName
FROM azure_isv.newrelic.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, '$.monitoringStatus') as "monitoring_status",
json_extract_path_text(properties, '$.marketplaceSubscriptionStatus') as "marketplace_subscription_status",
json_extract_path_text(properties, '$.marketplaceSubscriptionId') as "marketplace_subscription_id",
json_extract_path_text(properties, '$.newRelicAccountProperties') as "new_relic_account_properties",
json_extract_path_text(properties, '$.userInfo') as "user_info",
json_extract_path_text(properties, '$.planData') as "plan_data",
json_extract_path_text(properties, '$.liftrResourceCategory') as "liftr_resource_category",
json_extract_path_text(properties, '$.liftrResourcePreference') as "liftr_resource_preference",
json_extract_path_text(properties, '$.orgCreationSource') as "org_creation_source",
json_extract_path_text(properties, '$.accountCreationSource') as "account_creation_source",
json_extract_path_text(properties, '$.subscriptionState') as "subscription_state",
json_extract_path_text(properties, '$.saaSAzureSubscriptionStatus') as "saa_s_azure_subscription_status",
subscriptionId,
resourceGroupName,
monitorName
FROM azure_isv.newrelic.monitors
WHERE subscriptionId = 'replace-me';