Document navigation

SetVmMachineType

Changes the machine type of a VM instance. For example,

SetVmMachineType uuid=8b45bba4578f3e6eacc6f0a67f8603d6 machineType=q35

Parameters

Name Description Optional Optional Values Starting Version
uuid The VM instance UUID. 5.5.38
machineType The target machine type. Only q35 is supported. 5.5.38
systemTags The system tags. Yes 5.5.38
userTags The user tags. Yes 5.5.38

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.