vw_query_packs
Creates, updates, deletes, gets or lists a vw_query_packs
resource.
Overview
Name | vw_query_packs |
Type | View |
Id | azure.log_analytics.vw_query_packs |
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, '$.queryPackId') as "query_pack_id",
JSON_EXTRACT(properties, '$.timeCreated') as "time_created",
JSON_EXTRACT(properties, '$.timeModified') as "time_modified",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
queryPackName
FROM azure.log_analytics.query_packs
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, '$.queryPackId') as "query_pack_id",
json_extract_path_text(properties, '$.timeCreated') as "time_created",
json_extract_path_text(properties, '$.timeModified') as "time_modified",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
queryPackName
FROM azure.log_analytics.query_packs
WHERE subscriptionId = 'replace-me';