VmInstance(vm)
| Name | Description | Default Value | Valid Value |
|---|---|---|---|
| bootMenu | Specifies whether to enable the boot menu during VM instance startup. Default: true. If the host does not support the boot menu feature, you can set this parameter to false. | true |
|
| cleanTraffic | Specifies whether to enable the feature of defending against IP spoofing or MAC spoofing attacks for a VM instance. Default: false. | false |
|
| deletionPolicy | The policy used to delete VM instances. Default: Delay. Valid values: Direct, Delay, and Never.
|
Delay |
|
| emulateHyperV | Specifies whether to enable Hyper-V emulation for a VM instance. Default: false. | false |
|
| expungeInterval | The interval of expunging a deleted VM instance. Default: 3600. Unit: second. | 3600 | [1,+∞) |
| expungePeriod | The delay of expunging a deleted VM instance. Default: 86400. Unit: second. | 86400 | [0,+∞) |
| instanceOffering.setNullWhenDeleting | Specifies whether to update the Instance Offering parameter of a VM instance to NULL after the instance offering of the VM instance is deleted. Default: true. | true |
|
| kvmHiddenState | Specifies whether to hide the KVM virtualization flag. Default: false. If set to true, <hidden state=‘on’> is inserted in the <kvm> field of the XML file defined for a newly started VM instance. If you use NVIDA video cards for VM instances, you need to set this parameter to true. | false |
|
| numa | Default: false. If set to true, you can modify the number of vCPUs and memory size of a VM instance online. We recommend that you do not modify the number of vCPUs and memory size of a Windows-based VM instance in the production environment. Please excise with caution. | false |
|
| spiceStreamingMode |
|
off |
|
| videoType | The type of video card that is used when a VM instance is started up. Default: virtio. Valid values: virtio, vga, qxl, and cirrus.
|
virtio |
|
| soundType | The type of voice card that is used when a VM instance is started up. Default: HDA(ICH6). Valid values: AC97, HDA(ICH6), and HDA(ICH9).
|
HDA(ICH6) |
|
| dataVolume.deleteOnVmDestroy | Specifies whether to delete attached data volumes while deleting a VM instance. Default: false. | false |
|
| Disable VMware io port emulation | Specifies whether to enable VMware I/O port simulation. Default: false. | false |
|
| vmDefaultCdRomNum | The default number of virtual drives that the system creates for a VM instance (the cdrom parameter is not specified). Default: 1. Valid values: 1, 2, and 3. This setting does not take effect on the VM instances whose number of virtual drives has exceeded the threshold. | 1 |
|
| maximumCdRomNum | The maximum of virtual drives that can be created for a VM instance. Default: 3. Valid values: 1, 2, and 3. This setting does not take effect on the VM instances whose number of virtual drives has exceeded the threshold. | 3 |
|
| pciePortNums | The number of PCIe root ports that can be configured for a x86-64 VM instance with Q35 motherboard. Default: 28. Valid values: 0 to 28. This setting predefines the number of PCIe devices that can be hot plugged during VM startup. Modifications of the setting on a VM instance take effect after you restart the VM instance. | 28 | 0-28 |
| multivNic.support | Specifies whether to enable multi-vNIC configuration in the same IP range. Default: false. This value indicates that you can configure only one vNIC for a VM instance in the same private IP range. If set to true, you can configure multiple vNICs for a VM instance in the same private IP range. | false |
|
| resourceBinding.strategy | Specifies the binding strength for instances bound with clusters. Default: Soft.
|
Soft |
|
| vm.ha.across.clusters | Specifies whether to allow instances’ cross-cluster migrations.
|
true |
|
| crash.strategy | Specifies whether to enable error inspection for VM instances. Default: false. If you enable error inspection, you can set the error handling policy. Three error handling polices are available: Preserve, Reboot, and Shutdown. If your VM instance crashes, the VM instance is handled based on the configured policy. Note that before you can enable error inspection, you must install GuestTools of the latest version and make sure the agent is in Running state. | false |
|
| crash.rebootThreshold.duration | The restart policy of VM instances upon errors. Default: Restart VM instance up to five times within 30 minutes. If the VM instance is not restarted after five attempts within 30 minutes, the VM instance remains crashed. | 1800 | [0,+∞) |
| crash.rebootThreshold.times | 5 | [0,+∞) | |
| vm.clock.track |
|
host |
|
| vm.clock.sync.after.vm.resume | Specifies whether to enable time sync when a paused VM instance resumes running. Default: false. | false |
|
| vm.clock.sync.interval.in.seconds | The interval of VM time syncing with the host. Unit: second. Default : 0. This value indicates that time sync is disabled. | 0 |
|
| enable.vm.address.recording | Specifies whether to record the addresses of PCI devices attached to a VM instance. Default: true. | true |
|
| enable.vm.internal.ip.overwrite | Specifies whether to allow the NIC IP configured in the VM instance to overwrite the NIC IP record existing on the Cloud. Default: false.
|
false |
|
