vw_resource_pools
Creates, updates, deletes, gets or lists a vw_resource_pools
resource.
Overview
Name | vw_resource_pools |
Type | View |
Id | azure_isv.connected_vsphere.vw_resource_pools |
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,
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, '$.cpuSharesLevel') as "cpu_shares_level",
JSON_EXTRACT(properties, '$.cpuReservationMHz') as "cpu_reservation_m_hz",
JSON_EXTRACT(properties, '$.cpuLimitMHz') as "cpu_limit_m_hz",
JSON_EXTRACT(properties, '$.memSharesLevel') as "mem_shares_level",
JSON_EXTRACT(properties, '$.memReservationMB') as "mem_reservation_mb",
JSON_EXTRACT(properties, '$.memLimitMB') as "mem_limit_mb",
JSON_EXTRACT(properties, '$.memOverallUsageGB') as "mem_overall_usage_gb",
JSON_EXTRACT(properties, '$.memCapacityGB') as "mem_capacity_gb",
JSON_EXTRACT(properties, '$.cpuOverallUsageMHz') as "cpu_overall_usage_m_hz",
JSON_EXTRACT(properties, '$.cpuCapacityMHz') as "cpu_capacity_m_hz",
JSON_EXTRACT(properties, '$.customResourceName') as "custom_resource_name",
JSON_EXTRACT(properties, '$.datastoreIds') as "datastore_ids",
JSON_EXTRACT(properties, '$.networkIds') as "network_ids",
JSON_EXTRACT(properties, '$.statuses') as "statuses",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
resourcePoolName
FROM azure_isv.connected_vsphere.resource_pools
WHERE subscriptionId = 'replace-me';
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_path_text(properties, '$.uuid') as "uuid",
json_extract_path_text(properties, '$.vCenterId') as "v_center_id",
json_extract_path_text(properties, '$.moRefId') as "mo_ref_id",
json_extract_path_text(properties, '$.inventoryItemId') as "inventory_item_id",
json_extract_path_text(properties, '$.moName') as "mo_name",
json_extract_path_text(properties, '$.cpuSharesLevel') as "cpu_shares_level",
json_extract_path_text(properties, '$.cpuReservationMHz') as "cpu_reservation_m_hz",
json_extract_path_text(properties, '$.cpuLimitMHz') as "cpu_limit_m_hz",
json_extract_path_text(properties, '$.memSharesLevel') as "mem_shares_level",
json_extract_path_text(properties, '$.memReservationMB') as "mem_reservation_mb",
json_extract_path_text(properties, '$.memLimitMB') as "mem_limit_mb",
json_extract_path_text(properties, '$.memOverallUsageGB') as "mem_overall_usage_gb",
json_extract_path_text(properties, '$.memCapacityGB') as "mem_capacity_gb",
json_extract_path_text(properties, '$.cpuOverallUsageMHz') as "cpu_overall_usage_m_hz",
json_extract_path_text(properties, '$.cpuCapacityMHz') as "cpu_capacity_m_hz",
json_extract_path_text(properties, '$.customResourceName') as "custom_resource_name",
json_extract_path_text(properties, '$.datastoreIds') as "datastore_ids",
json_extract_path_text(properties, '$.networkIds') as "network_ids",
json_extract_path_text(properties, '$.statuses') as "statuses",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
resourcePoolName
FROM azure_isv.connected_vsphere.resource_pools
WHERE subscriptionId = 'replace-me';