ComputeResourceConfigInfo

ComputeResourceConfigInfo
ComputeResourceConfigInfo

Configuration of the compute resource; applies to both standalone hosts and clusters.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "vmSwapPlacement": "string",
    "spbmEnabled": false,
    "defaultHardwareVersionKey": "string",
    "maximumHardwareVersionKey": "string"
}
string
vmSwapPlacement
Required

Swapfile placement policy for virtual machines within this compute resource.

Any policy except for "inherit" is a valid value for this property; the default is "vmDirectory". This setting will be honored for each virtual machine within the compute resource for which the following is true:

  • The virtual machine is executing on a host that has the perVmSwapFiles capability.
  • The virtual machine configuration's swapPlacement property is set to "inherit".

See also VirtualMachineConfigInfoSwapPlacementTypeEnum.

boolean
spbmEnabled
Optional

Flag indicating whether or not the SPBM(Storage Policy Based Management) feature is enabled on this compute resource

string
defaultHardwareVersionKey
Optional

Key for Default Hardware Version used on this compute resource in the format of VirtualMachineConfigOptionDescriptor.key.

This field affects VirtualMachineConfigOptionDescriptor.defaultConfigOption returned by ComputeResource.environmentBrowser of this object and all its children with this field unset.

string
maximumHardwareVersionKey
Optional

Key for Maximum Hardware Version used on this compute resource in the format of VirtualMachineConfigOptionDescriptor.key.

This field affects VirtualMachineConfigOptionDescriptor.defaultConfigOption returned by ComputeResource.environmentBrowser of this object and all its children with this field unset.

Since: vSphere API Release 7.0.2.0