CreateAutoScalingVmTemplate
Creates a VM instance template in an auto scaling group. For
example,
CreateAutoScalingVmTemplate name=test defaultL3NetworkUuid=22247b0705a43af7a47ed6428c537934 vmInstanceName=vm1 vmInstanceOfferingUuid=07e435acb1c230d5b328f23e5a840da2 imageUuid=77407eb341e732b2a45ad5bad4a2c76e l3NetworkUuids=93edf15377e233a291fe1ab1c4190241
Parameters
Name | Description | Optional | Valid Value | Starting Version |
---|---|---|---|---|
vmInstanceName | The VM instance name. | 3.1.0 | ||
vmInstanceDescription | The VM instance description. | Yes | 3.1.0 | |
vmInstanceOfferingUuid | The instance offering of the VM instance. | 3.1.0 | ||
imageUuid | The image UUID of the VM instance. | 3.1.0 | ||
l3NetworkUuids | The L3 networks of the VM instance. | 3.1.0 | ||
rootDiskOfferingUuid | The disk offering of the VM instance root volume. | Yes | 3.1.0 | |
dataDiskOfferingUuids | The disk offerings of the VM instance data volumes. | Yes | 3.1.0 | |
vmInstanceZoneUuid | The zone to which the VM instance belongs. | Yes | 3.1.0 | |
vmInstanceClusterUuid | The cluster to which the VM instance belongs. | Yes | 3.1.0 | |
hostUuid | The host UUID. | Yes | 3.1.0 | |
primaryStorageUuidForRootVolume | The UUID of the primary storage where the root volume locates. | Yes | 3.1.0 | |
defaultL3NetworkUuid | The default L3 network of the VM instance. | 3.1.0 | ||
name | The resource name. | 3.1.0 | ||
description | The detailed description of the resource. | Yes | 3.1.0 | |
type | The template type. | Yes | 3.1.0 | |
resourceUuid | Yes | 3.1.0 | ||
tagUuids | The tag UUID list. | Yes | 3.1.0 | |
userTags | The user tags. For more information, see CreateUserTag. | Yes | 3.1.0 | |
systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 3.1.0 | |
timeout | Yes |