ChangeVmImage
Changes the root volume image of a VM instance. For
example,
ChangeVmImage vmInstanceUuid=7ab6c02b92124e96ac92a43a7cb8b368 \
imageUuid=71b02f0b26232ae1b22af3a18b3b85d0Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| vmInstanceUuid | The VM instance UUID. | 2.2 | ||
| imageUuid | The image UUID. | 2.2 | ||
| userTags | The user tags. For more information, see CreateUserTag. The resource type is VmInstanceVO. | Yes | 2.2 | |
| systemTags | The system tags. For more information, see CreateSystemTag. The resource type is VmInstanceVO. | Yes | 2.2 | |
| timeout | Yes |
Note:
- When you change the root volume of a VM instance in ZStack Cloud, you can specify the Ceph pool where the
root volume is located by adding the rootPoolName option to
SystemTags. The SystemTag is passed by using the
rootPoolName parameter.
- Format of the rootPoolName option:
ceph::rootPoolName::xxx. Here, xxx is the name of the Ceph pool. - Example:
ceph::rootPoolName::pri-v-r-26e11ca6814d4e1ba504d845f7848db3
- Format of the rootPoolName option: