Skip to main content

vw_diagnostic_settings

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

Overview

Namevw_diagnostic_settings
TypeView
Idazure.monitor.vw_diagnostic_settings

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
systemData as system_data,
JSON_EXTRACT(properties, '$.storageAccountId') as "storage_account_id",
JSON_EXTRACT(properties, '$.serviceBusRuleId') as "service_bus_rule_id",
JSON_EXTRACT(properties, '$.eventHubAuthorizationRuleId') as "event_hub_authorization_rule_id",
JSON_EXTRACT(properties, '$.eventHubName') as "event_hub_name",
JSON_EXTRACT(properties, '$.metrics') as "metrics",
JSON_EXTRACT(properties, '$.logs') as "logs",
JSON_EXTRACT(properties, '$.workspaceId') as "workspace_id",
JSON_EXTRACT(properties, '$.marketplacePartnerId') as "marketplace_partner_id",
JSON_EXTRACT(properties, '$.logAnalyticsDestinationType') as "log_analytics_destination_type",
resourceUri,
name
FROM azure.monitor.diagnostic_settings
WHERE resourceUri = 'replace-me';