CreateVmInstanceFromVolumeSnapshot
Create a VM instance from a snapshot. For
example,
CreateVmInstanceFromVolumeSnapshot name=vm instanceOfferingUuid=80c606e35bc038bbb102e31cae191ea2 l3NetworkUuids=333817afcaf63f13a101f674761c8a77 volumeSnapshotGroupUuid=23984cd68b903fd4883aa962c70d83fcParameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| name | The VM instance name. | 4.1.0 | ||
| description | The detailed description of the VM instance. | 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 |
| volumeSnapshotUuid | The snapshot UUID. | 4.1.0 | ||
| platform | The platform type of the VM instance. | Yes |
|
4.1.0 |
| zoneUuid | The zone UUID. | Yes | 4.1.0 | |
| clusterUuid | The cluster UUID. | Yes | 4.1.0 | |
| hostUuid | The host UUID. | Yes | 4.1.0 | |
| primaryStorageVolume | The UUID of the primary storage. | Yes | 4.1.0 | |
| defaultL3NetworkUuid | The default L3 network UUID. | Yes | The default L3 network UUID. | 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 |