ComputeResourceConfigSpec

ComputeResourceConfigSpec
ComputeResourceConfigSpec

Changes to apply to the compute resource configuration.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "vmSwapPlacement": "string",
    "spbmEnabled": false,
    "defaultHardwareVersionKey": "string",
    "desiredSoftwareSpec": {
        "_typeName": "string",
        "baseImageSpec": {
            "_typeName": "string",
            "version": "string"
        },
        "vendorAddOnSpec": {
            "_typeName": "string",
            "name": "string",
            "version": "string"
        },
        "components": [
            {
                "_typeName": "string",
                "name": "string",
                "version": "string"
            }
        ],
        "removedComponents": [
            "string"
        ]
    },
    "maximumHardwareVersionKey": "string",
    "enableConfigManager": false,
    "hostSeedSpec": {
        "_typeName": "string",
        "singleHostSpec": {
            "_typeName": "string",
            "newHostCnxSpec": {
                "_typeName": "string",
                "hostName": "string",
                "port": 0,
                "sslThumbprint": "string",
                "userName": "string",
                "password": "string",
                "vmFolder": {
                    "_typeName": "string",
                    "type": "string",
                    "value": "string"
                },
                "force": false,
                "vimAccountName": "string",
                "vimAccountPassword": "string",
                "managementIp": "string",
                "lockdownMode": "string",
                "hostGateway": {
                    "_typeName": "string",
                    "gatewayType": "string",
                    "gatewayId": "string",
                    "trustVerificationToken": "string",
                    "hostAuthParams": [
                        {
                            "_typeName": "string",
                            "key": "string",
                            "value": "string"
                        }
                    ]
                }
            },
            "existingHost": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            }
        }
    }
}
string
vmSwapPlacement
Optional

New setting for the swapfile placement policy.

Any change to this policy will affect virtual machines that subsequently power on or resume from a suspended state in this compute resource, or that migrate to a host in this compute resource while powered on; virtual machines that are currently powered on in this compute resource will not yet be affected.

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 to be used on this compute resource in the format of key.

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

desiredSoftwareSpec
Optional

Desired Software Spec is defined as combination of base-image and add-on component which user wants to install on ESX host or cluster.

string
maximumHardwareVersionKey
Optional

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

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

Since: vSphere API Release 7.0.2.0

boolean
enableConfigManager
Optional

Flag indicating whether or not the vLCM (vSphere Lifecycle Manager) Config Manager feature is enabled on this compute resource.

If the flag is not set, the Config Manager feature will be disabled by default. This parameter is only supported in CreateClusterEx operation.

Since: vSphere API Release 7.0.3.1

hostSeedSpec
Optional

Since: vSphere API Release 8.0.3.0