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",
                "sslCertificate": "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"
            }
        }
    },
    "softwareSpecId": "string",
    "networkBootMode": "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 for the set of physical compute resources.

This parameter is supported in vim.Folder#createClusterEx and vim.Folder#addStandaloneHost operations. If unset, this field will be initialized with the latest base image from the image depot on vSphere version 9.0 and later.

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

Specification for the host seeding operation.

Since: vSphere API Release 8.0.3.0

string
softwareSpecId
Optional

ID of a software specification from the repository.

This software specification is created in the repository before cluster creation operation or add standalone host operation. This desired state software specification will be applied to the cluster or the standalone host. The lifecycle of the created cluster or the added standalone host will be managed by vLCM.

Since: vSphere API Release 9.0.0.0

string
networkBootMode
Optional

Enumeration indicating whether and what kind of netwoork boot mode should be configured for the compute resource.

Supported values are enumerated in ComputeResourceNetworkBootModeEnum. If the property is not set not network boot will not be supported by this compute resource. This property is only supported in CreateClusterEx operation.

Since: vSphere API Release 9.0.0.0