Skip to main content

vw_virtual_machines

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

Overview

Namevw_virtual_machines
TypeView
Idazure_isv.vmware_cloud_simple.vw_virtual_machines

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,
tags as tags,
type as type,
JSON_EXTRACT(properties, '$.amountOfRam') as "amount_of_ram",
JSON_EXTRACT(properties, '$.controllers') as "controllers",
JSON_EXTRACT(properties, '$.customization') as "customization",
JSON_EXTRACT(properties, '$.disks') as "disks",
JSON_EXTRACT(properties, '$.dnsname') as "dnsname",
JSON_EXTRACT(properties, '$.exposeToGuestVM') as "expose_to_guest_vm",
JSON_EXTRACT(properties, '$.folder') as "folder",
JSON_EXTRACT(properties, '$.guestOS') as "guest_os",
JSON_EXTRACT(properties, '$.guestOSType') as "guest_os_type",
JSON_EXTRACT(properties, '$.nics') as "nics",
JSON_EXTRACT(properties, '$.numberOfCores') as "number_of_cores",
JSON_EXTRACT(properties, '$.password') as "password",
JSON_EXTRACT(properties, '$.privateCloudId') as "private_cloud_id",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.publicIP') as "public_ip",
JSON_EXTRACT(properties, '$.resourcePool') as "resource_pool",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.templateId') as "template_id",
JSON_EXTRACT(properties, '$.username') as "username",
JSON_EXTRACT(properties, '$.vSphereNetworks') as "v_sphere_networks",
JSON_EXTRACT(properties, '$.vmId') as "vm_id",
JSON_EXTRACT(properties, '$.vmwaretools') as "vmwaretools",
subscriptionId,
resourceGroupName,
virtualMachineName
FROM azure_isv.vmware_cloud_simple.virtual_machines
WHERE subscriptionId = 'replace-me';