Skip to main content

vw_workspaces

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

Overview

Namevw_workspaces
TypeView
Idazure.log_analytics.vw_workspaces

Fields

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

SQL Definition

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';