Skip to main content

virtual_machine_templates

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

Overview

Namevirtual_machine_templates
TypeResource
Idazure_isv.vmware_cloud_simple.virtual_machine_templates

Fields

NameDatatypeDescription
idtextvirtual machine template id (privateCloudId:vsphereId)
nametext{virtualMachineTemplateName}
descriptiontextfield from the properties object
amount_of_ramtextfield from the properties object
controllerstextfield from the properties object
diskstextfield from the properties object
expose_to_guest_vmtextfield from the properties object
guest_ostextfield from the properties object
guest_os_typetextfield from the properties object
locationtextAzure region
nicstextfield from the properties object
number_of_corestextfield from the properties object
pathtextfield from the properties object
pcNametextfield from the properties object
private_cloud_idtextfield from the properties object
regionIdtextfield from the properties object
resourcePoolNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetext{resourceProviderNamespace}/{resourceType}
v_sphere_networkstextfield from the properties object
v_sphere_tagstextfield from the properties object
virtualMachineTemplateNametextfield from the properties object
vmwaretoolstextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTpcName, regionId, subscriptionId, virtualMachineTemplateNameReturns virtual machine templates by its name
listSELECTpcName, regionId, resourcePoolName, subscriptionIdReturns list of virtual machine templates in region for private cloud

SELECT examples

Returns list of virtual machine templates in region for private cloud

SELECT
id,
name,
description,
amount_of_ram,
controllers,
disks,
expose_to_guest_vm,
guest_os,
guest_os_type,
location,
nics,
number_of_cores,
path,
pcName,
private_cloud_id,
regionId,
resourcePoolName,
subscriptionId,
type,
v_sphere_networks,
v_sphere_tags,
virtualMachineTemplateName,
vmwaretools
FROM azure_isv.vmware_cloud_simple.vw_virtual_machine_templates
WHERE pcName = '{{ pcName }}'
AND regionId = '{{ regionId }}'
AND resourcePoolName = '{{ resourcePoolName }}'
AND subscriptionId = '{{ subscriptionId }}';