# Data Object - ComputeResourceConfigSpec(vim.ComputeResource.ConfigSpec)

Parameter to
  AddStandaloneHost_Task, BatchAddHostsToCluster_Task, BatchAddStandaloneHosts_Task, ReconfigureComputeResource_Task
Extended by
  ClusterConfigSpecEx
Extends
  DynamicData
See also
  DesiredSoftwareSpec
Since
  VI API 2.5

## Data Object Description

Changes to apply to the compute resource configuration.

Properties

Name | Type | Description
--- | --- | ---
defaultHardwareVersionKey* | xsd:string | 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. Since vSphere API 5.1
desiredSoftwareSpec* | DesiredSoftwareSpec | Desired software spec for the set of physical compute resources. This parameter is only supported in vim.Folder#createClusterEx operation. Since vSphere API 7.0
enableConfigManager* | xsd:boolean | 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 7.0.3.1
maximumHardwareVersionKey* | xsd:string | 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 7.0.2.0
spbmEnabled* | xsd:boolean | Flag indicating whether or not the SPBM(Storage Policy Based Management) feature is enabled on this compute resource Since vSphere API 5.0
vmSwapPlacement* | xsd:string | 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 VirtualMachineConfigInfoSwapPlacementType
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="ComputeResourceConfigSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="vmSwapPlacement" type="xsd:string" minOccurs="0"/> <element name="spbmEnabled" type="xsd:boolean" minOccurs="0"/> <element name="defaultHardwareVersionKey" type="xsd:string" minOccurs="0"/> <element name="desiredSoftwareSpec" type="vsan:DesiredSoftwareSpec" minOccurs="0"/> <element name="maximumHardwareVersionKey" type="xsd:string" minOccurs="0"/> <element name="enableConfigManager" type="xsd:boolean" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>