Compute Resource Get Configuration Ex

Compute Resource Get Configuration Ex

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

For a cluster this property will return a ClusterConfigInfoEx object.

Request
URI
GET
https://{vcenter-host}/sdk/vim25/{release}/ComputeResource/{moId}/configurationEx
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case ComputeResource/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns ComputeResourceConfigInfo of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_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