vw_log_profiles
Creates, updates, deletes, gets or lists a vw_log_profiles
resource.
Overview
Name | vw_log_profiles |
Type | View |
Id | azure.monitor.vw_log_profiles |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
JSON_EXTRACT(properties, '$.storageAccountId') as "storage_account_id",
JSON_EXTRACT(properties, '$.serviceBusRuleId') as "service_bus_rule_id",
JSON_EXTRACT(properties, '$.locations') as "locations",
JSON_EXTRACT(properties, '$.categories') as "categories",
JSON_EXTRACT(properties, '$.retentionPolicy') as "retention_policy",
subscriptionId,
logProfileName
FROM azure.monitor.log_profiles
WHERE subscriptionId = 'replace-me';
SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
json_extract_path_text(properties, '$.storageAccountId') as "storage_account_id",
json_extract_path_text(properties, '$.serviceBusRuleId') as "service_bus_rule_id",
json_extract_path_text(properties, '$.locations') as "locations",
json_extract_path_text(properties, '$.categories') as "categories",
json_extract_path_text(properties, '$.retentionPolicy') as "retention_policy",
subscriptionId,
logProfileName
FROM azure.monitor.log_profiles
WHERE subscriptionId = 'replace-me';