Esx.Settings.Clusters.Vms.AlternativeVmSpec
The Esx.Settings.Clusters.Vms.AlternativeVmSpec schema contains properties to describe alternative VM configuration to be applied on VMs that matches a given selection criteria defined as Esx.Settings.Clusters.Vms.VmSelectionSpec.
Warning: this schema is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
{
"selection_criteria": {
"selection_type": "string",
"extra_config_value": "string"
},
"devices": {}
}
Selection criteria to match System VMs for which to apply this Esx.Settings.Clusters.Vms.AlternativeVmSpec.
Warning: this property is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
Devices of the VMs not defined in the OVF descriptor. This property takes precedence over Esx.Settings.Clusters.Vms.ClusterSolutionSpec.devices property.
If Esx.Settings.Clusters.Vms.ClusterSolutionSpec.vm_datastores is not set, the devices of the VMs not defined in the OVF descriptor should be provided to {#member devices} and not as part of a VM lifecycle hook (VM reconfiguration). Otherwise, the compatibility of the devices with the selected host and datastore where the VM is deployed needs to be ensured by the client.
- For VM initial placement the devices are added to the VM configuration. 2. For the reconfiguration it is checked what devices need to be added, removed, and edited on the existing VMs. NOTE: No VM relocation is executed before the VM reconfiguration.
The supported property of vim.vm.ConfigSpec is vim.vm.ConfigSpec.deviceChange. The supported vim.vm.device.VirtualDeviceSpec.operation is Operation#add. For vim.vm.device.VirtualEthernetCard the unique identifier is vim.vm.device.VirtualDevice#unitNumber. Esx.Settings.Clusters.Vms.ClusterSolutionSpec.vm_networks and {#member devices} are mutually exclusive.
Warning: this property is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
If missing or null, Esx.Settings.Clusters.Vms.ClusterSolutionSpec.devices is used.