vw_virtual_machine_instances
Creates, updates, deletes, gets or lists a vw_virtual_machine_instances
resource.
Overview
Name | vw_virtual_machine_instances |
Type | View |
Id | azure_isv.connected_vsphere.vw_virtual_machine_instances |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
extendedLocation as extended_location,
JSON_EXTRACT(properties, '$.placementProfile') as "placement_profile",
JSON_EXTRACT(properties, '$.osProfile') as "os_profile",
JSON_EXTRACT(properties, '$.hardwareProfile') as "hardware_profile",
JSON_EXTRACT(properties, '$.networkProfile') as "network_profile",
JSON_EXTRACT(properties, '$.storageProfile') as "storage_profile",
JSON_EXTRACT(properties, '$.securityProfile') as "security_profile",
JSON_EXTRACT(properties, '$.infrastructureProfile') as "infrastructure_profile",
JSON_EXTRACT(properties, '$.powerState') as "power_state",
JSON_EXTRACT(properties, '$.statuses') as "statuses",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.resourceUid') as "resource_uid",
resourceUri
FROM azure_isv.connected_vsphere.virtual_machine_instances
WHERE resourceUri = 'replace-me';
SELECT
extendedLocation as extended_location,
json_extract_path_text(properties, '$.placementProfile') as "placement_profile",
json_extract_path_text(properties, '$.osProfile') as "os_profile",
json_extract_path_text(properties, '$.hardwareProfile') as "hardware_profile",
json_extract_path_text(properties, '$.networkProfile') as "network_profile",
json_extract_path_text(properties, '$.storageProfile') as "storage_profile",
json_extract_path_text(properties, '$.securityProfile') as "security_profile",
json_extract_path_text(properties, '$.infrastructureProfile') as "infrastructure_profile",
json_extract_path_text(properties, '$.powerState') as "power_state",
json_extract_path_text(properties, '$.statuses') as "statuses",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.resourceUid') as "resource_uid",
resourceUri
FROM azure_isv.connected_vsphere.virtual_machine_instances
WHERE resourceUri = 'replace-me';