vw_workspaces
Creates, updates, deletes, gets or lists a vw_workspaces
resource.
Overview
Name | vw_workspaces |
Type | View |
Id | azure.log_analytics.vw_workspaces |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
identity as identity,
systemData as system_data,
etag as etag,
tags as tags,
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.customerId') as "customer_id",
JSON_EXTRACT(properties, '$.sku') as "sku",
JSON_EXTRACT(properties, '$.retentionInDays') as "retention_in_days",
JSON_EXTRACT(properties, '$.workspaceCapping') as "workspace_capping",
JSON_EXTRACT(properties, '$.createdDate') as "created_date",
JSON_EXTRACT(properties, '$.modifiedDate') as "modified_date",
JSON_EXTRACT(properties, '$.publicNetworkAccessForIngestion') as "public_network_access_for_ingestion",
JSON_EXTRACT(properties, '$.publicNetworkAccessForQuery') as "public_network_access_for_query",
JSON_EXTRACT(properties, '$.forceCmkForQuery') as "force_cmk_for_query",
JSON_EXTRACT(properties, '$.privateLinkScopedResources') as "private_link_scoped_resources",
JSON_EXTRACT(properties, '$.features') as "features",
JSON_EXTRACT(properties, '$.defaultDataCollectionRuleResourceId') as "default_data_collection_rule_resource_id",
subscriptionId,
resourceGroupName,
workspaceName
FROM azure.log_analytics.workspaces
WHERE subscriptionId = 'replace-me';
SELECT
location as location,
identity as identity,
systemData as system_data,
etag as etag,
tags as tags,
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.customerId') as "customer_id",
json_extract_path_text(properties, '$.sku') as "sku",
json_extract_path_text(properties, '$.retentionInDays') as "retention_in_days",
json_extract_path_text(properties, '$.workspaceCapping') as "workspace_capping",
json_extract_path_text(properties, '$.createdDate') as "created_date",
json_extract_path_text(properties, '$.modifiedDate') as "modified_date",
json_extract_path_text(properties, '$.publicNetworkAccessForIngestion') as "public_network_access_for_ingestion",
json_extract_path_text(properties, '$.publicNetworkAccessForQuery') as "public_network_access_for_query",
json_extract_path_text(properties, '$.forceCmkForQuery') as "force_cmk_for_query",
json_extract_path_text(properties, '$.privateLinkScopedResources') as "private_link_scoped_resources",
json_extract_path_text(properties, '$.features') as "features",
json_extract_path_text(properties, '$.defaultDataCollectionRuleResourceId') as "default_data_collection_rule_resource_id",
subscriptionId,
resourceGroupName,
workspaceName
FROM azure.log_analytics.workspaces
WHERE subscriptionId = 'replace-me';