CreateVmInstanceFromVolumeSnapshotGroup
Create a VM instance from a snapshot group. For
example,
CreateVmInstanceFromVolumeSnapshotGroup name=vm instanceOfferingUuid=80c606e35bc038bbb102e31cae191ea2 l3NetworkUuids=333817afcaf63f13a101f674761c8a77 volumeSnapshotGroupUuid=23984cd68b903fd4883aa962c70d83fc
Parameters
Name | Description | Optional | Valid Value | Starting Version |
---|---|---|---|---|
name | The VM instance name. For more information, see Resource properties. | 4.1.0 | ||
description | The detailed description of the VM instance. For more information, see Resource properties. | Yes | 4.1.0 | |
instanceOfferingUuid | The instance offering UUID. | Yes | 4.1.0 | |
cpuNum | The number of CPU cores. | Yes | 4.1.0 | |
memorySize | The memory size. | Yes | 4.1.0 | |
l3NetworkUuids | The L3 network UUID. | 4.1.0 | ||
type | The VM type. This is a reserved field. | Yes |
|
4.1.0 |
volumeSnapshotGroupUuid | The snapshot group UUID. | 4.1.0 | ||
zoneUuid | The zone UUID. If you specify this parameter, the VM instance is created in the specified zone. The clusterUuid and hostUuid parameter settings have higher priorities than this parameter setting. | Yes | 4.1.0 | |
clusterUuid | The cluster UUID. If you specify this parameter, the VM instance is created in the specified cluster. The hostUuid parameter setting has higher priorities than this parameter setting. | Yes | 4.1.0 | |
hostUuid | The host UUID. If you specify this parameter, the VM instance is created in the specified host. | Yes | 4.1.0 | |
primaryStorageUuidForRootVolume | The UUID of the primary storage where the root volume resides. | Yes | 4.1.0 | |
defaultL3NetworkUuid | The default L3 network UUID. This parameter is used if the value of the l3NetworkUuids parameter consists of multiple UUID entries. If the value of the l3NetworkUuids parameter consists of only one UUID entry, you do not need to set this parameter. | Yes | 4.1.0 | |
strategy | The policy that specifies whether to start a VM instance when the instance is created. | Yes |
|
4.1.0 |
resourceUuid | The resource UUID. | Yes | 4.1.0 | |
tagUuids | The tag UUIDs. | Yes | 4.1.0 | |
userTags | The user tags. For more information, see CreateUserTag. | Yes | 4.1.0 | |
systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 4.1.0 | |
timeout | Yes |