Skip to main content

vw_clusters

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

Overview

Namevw_clusters
TypeView
Idazure_isv.connected_vsphere.vw_clusters

Fields

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

SQL Definition

SELECT
id as id,
name as name,
location as location,
extendedLocation as extended_location,
systemData as system_data,
tags as tags,
type as type,
kind as kind,
JSON_EXTRACT(properties, '$.uuid') as "uuid",
JSON_EXTRACT(properties, '$.vCenterId') as "v_center_id",
JSON_EXTRACT(properties, '$.moRefId') as "mo_ref_id",
JSON_EXTRACT(properties, '$.inventoryItemId') as "inventory_item_id",
JSON_EXTRACT(properties, '$.moName') as "mo_name",
JSON_EXTRACT(properties, '$.statuses') as "statuses",
JSON_EXTRACT(properties, '$.customResourceName') as "custom_resource_name",
JSON_EXTRACT(properties, '$.usedMemoryGB') as "used_memory_gb",
JSON_EXTRACT(properties, '$.totalMemoryGB') as "total_memory_gb",
JSON_EXTRACT(properties, '$.usedCpuMHz') as "used_cpu_m_hz",
JSON_EXTRACT(properties, '$.totalCpuMHz') as "total_cpu_m_hz",
JSON_EXTRACT(properties, '$.datastoreIds') as "datastore_ids",
JSON_EXTRACT(properties, '$.networkIds') as "network_ids",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
clusterName
FROM azure_isv.connected_vsphere.clusters
WHERE subscriptionId = 'replace-me';