Document navigation

SetVmMachineType

Changes the machine type of a VM instance. For example,
SetVmMachineType uuid=8b45bba4578f3e6eacc6f0a67f8603d6 machineType=q35

Parameters

NameDescriptionOptionalOptional ValuesStarting Version
uuidThe VM instance UUID.5.5.38
machineTypeThe target machine type. Only q35 is supported.5.5.38
systemTagsThe system tags.Yes5.5.38
userTagsThe user tags.Yes5.5.38
Note: Changing the machine type requires the VM instance to be in the Stopped state. Machine types that are not set, pc, and q35 can all be changed to q35. Repeated calls on a VM instance whose machine type is already q35 are idempotent. If the current machine type of a VM instance is not q35 and the VM instance has memory snapshots, the conversion is not allowed.
CLI Command Manual | 5.5.38 | ZStack Cloud · ZCF | ZStack Resource Center