Skip to main content

vw_virtual_machine_templates

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

Overview

Namevw_virtual_machine_templates
TypeView
Idazure_isv.connected_vsphere.vw_virtual_machine_templates

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, '$.memorySizeMB') as "memory_size_mb",
JSON_EXTRACT(properties, '$.numCPUs') as "num_cp_us",
JSON_EXTRACT(properties, '$.numCoresPerSocket') as "num_cores_per_socket",
JSON_EXTRACT(properties, '$.osType') as "os_type",
JSON_EXTRACT(properties, '$.osName') as "os_name",
JSON_EXTRACT(properties, '$.folderPath') as "folder_path",
JSON_EXTRACT(properties, '$.networkInterfaces') as "network_interfaces",
JSON_EXTRACT(properties, '$.disks') as "disks",
JSON_EXTRACT(properties, '$.customResourceName') as "custom_resource_name",
JSON_EXTRACT(properties, '$.toolsVersionStatus') as "tools_version_status",
JSON_EXTRACT(properties, '$.toolsVersion') as "tools_version",
JSON_EXTRACT(properties, '$.firmwareType') as "firmware_type",
JSON_EXTRACT(properties, '$.statuses') as "statuses",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
virtualMachineTemplateName
FROM azure_isv.connected_vsphere.virtual_machine_templates
WHERE subscriptionId = 'replace-me';