vw_clusters
Creates, updates, deletes, gets or lists a vw_clusters
resource.
Overview
Name | vw_clusters |
Type | View |
Id | azure.log_analytics.vw_clusters |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
identity as identity,
sku as sku,
tags as tags,
JSON_EXTRACT(properties, '$.clusterId') as "cluster_id",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.isDoubleEncryptionEnabled') as "is_double_encryption_enabled",
JSON_EXTRACT(properties, '$.isAvailabilityZonesEnabled') as "is_availability_zones_enabled",
JSON_EXTRACT(properties, '$.billingType') as "billing_type",
JSON_EXTRACT(properties, '$.keyVaultProperties') as "key_vault_properties",
JSON_EXTRACT(properties, '$.lastModifiedDate') as "last_modified_date",
JSON_EXTRACT(properties, '$.createdDate') as "created_date",
JSON_EXTRACT(properties, '$.associatedWorkspaces') as "associated_workspaces",
JSON_EXTRACT(properties, '$.capacityReservationProperties') as "capacity_reservation_properties",
subscriptionId,
resourceGroupName,
clusterName
FROM azure.log_analytics.clusters
WHERE subscriptionId = 'replace-me';
SELECT
location as location,
identity as identity,
sku as sku,
tags as tags,
json_extract_path_text(properties, '$.clusterId') as "cluster_id",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.isDoubleEncryptionEnabled') as "is_double_encryption_enabled",
json_extract_path_text(properties, '$.isAvailabilityZonesEnabled') as "is_availability_zones_enabled",
json_extract_path_text(properties, '$.billingType') as "billing_type",
json_extract_path_text(properties, '$.keyVaultProperties') as "key_vault_properties",
json_extract_path_text(properties, '$.lastModifiedDate') as "last_modified_date",
json_extract_path_text(properties, '$.createdDate') as "created_date",
json_extract_path_text(properties, '$.associatedWorkspaces') as "associated_workspaces",
json_extract_path_text(properties, '$.capacityReservationProperties') as "capacity_reservation_properties",
subscriptionId,
resourceGroupName,
clusterName
FROM azure.log_analytics.clusters
WHERE subscriptionId = 'replace-me';