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

Parameter to
  AddStandaloneHost_Task, ReconfigureComputeResource_Task
Extended by
  ClusterConfigSpecEx
Extends
  DynamicData
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
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"/> </sequence> </extension> </complexContent> </complexType>