Stack Template Definition Schema - VMware
See stack-template.xsd for the schema definition.
The following example shows the definition of a VMware Stack Template custom type:
<?xml version="1.0" encoding="UTF-8"?> <!-- Version: 1.0.0 --> <StackTemplateType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd-schemes/stack_template.xsd"> <Name>VMware</Name> <Properties> <Group name="vm_template" displayName="VMware Template"> <Property name="template" type="SingleLineText" mode="MANDATORY" displayName="Template"> <Defaultvalue></Defaultvalue> <Description>Specifies the virtual machine template you want to use for the creation of the new virtual machine.</Description> </Property> <Property name="customspec" type="SingleLineText" mode="EDITABLE" displayName="OS Customization Specification"> <Defaultvalue></Defaultvalue> <Description>Specifies a customization specification that is to be applied to the new virtual machine. This works only in 32-bit mode.</Description> </Property> </Group> <Group name="target" displayName="Target"> <Property name="vm_name" type="SingleLineText" mode="MANDATORY" displayName="Virtual Machine Name"> <Defaultvalue></Defaultvalue> <Description>Specifies a name for the new virtual machine. This name is part of the actual instance name.</Description> </Property> <Property name="datacenter" type="SingleLineText" mode="MANDATORY" displayName="Datacenter"> <Defaultvalue></Defaultvalue> <Description>Specify a datacenter in which Virtual Machine is to be created.</Description> </Property> <Property name="datastore" type="SingleLineText" mode="EDITABLE" displayName="Datastore"> <Defaultvalue></Defaultvalue> <Description>Specify the datastore where you want to place the new Virtual Machine.</Description> </Property> <Property name="location_type" mode="EDITABLE" displayName="Location Type" type="SingleChoice"> <List>CLUSTER#;#NONE#;#RESOURCE POOL#;#VAPP</List> <Defaultvalue>NONE</Defaultvalue> <Description>Specifies where you want to place the new virtual machine. The parameter accepts Vapp, Cluster or ResourcePool.</Description> </Property> <Property name="location_name" mode="EDITABLE" displayName="Location Name" type="SingleLineText"> <Defaultvalue></Defaultvalue> <Description>Type a name of either Cluster, Resource Pool or VApp in which Virtual Machine wiis to be created.</Description> </Property> <Property name="vm_host" type="SingleLineText" mode="EDITABLE" displayName="VM Host"> <Defaultvalue></Defaultvalue> <Description>Specify the host on which you want to create the new Virtual Machine.</Description> </Property> <Property name="destination_folder" type="SingleLineText" mode="EDITABLE" displayName="Destination Folder"> <Defaultvalue></Defaultvalue> <Description>Specifies the folder where you want to place the new virtual machine.</Description> </Property> </Group> <Group name="vm_credentials" displayName="VM Credentials"> <Property name="vm_username" type="SingleLineText" mode="MANDATORY" displayName="VM Username"> <Defaultvalue></Defaultvalue> <Description>The username of an administrative account or an account with administrative permissions.</Description> </Property> <Property name="vm_password" type="Protected" mode="MANDATORY" displayName="VM Password"> <Defaultvalue></Defaultvalue> <Description>The password for the above account.</Description> </Property> </Group> </Properties> <DynamicProperties></DynamicProperties> </StackTemplateType>