# Data Object - HostConfigSpec(vim.host.ConfigSpec)

Property of
  HostProfileManagerConfigTaskList, ProfileExecuteResult
Parameter to
  ApplyHostConfig_Task, GenerateConfigTaskList, GenerateHostProfileTaskList_Task
Extends
  DynamicData
See also
  HostAccountSpec, HostActiveDirectory, HostDateTimeConfig, HostFirewallConfig, HostGraphicsConfig, HostLicenseSpec, HostMemorySpec, HostNasVolumeConfig, HostNetworkConfig, HostSecuritySpec, HostServiceConfig, HostStorageDeviceInfo, HostVirtualNicManagerNicTypeSelection, KeyAnyValue, OptionValue
Since
  vSphere API 4.0

## Data Object Description

The HostConfigSpec data object provides access to data objects that specify configuration changes to be applied to an ESX host.

Properties

Name | Type | Description
--- | --- | ---
activeDirectory* | HostActiveDirectory[] | Active Directory configuration change. Since vSphere API 4.1
datastorePrincipal* | xsd:string | Datastore principal user.
datastorePrincipalPasswd* | xsd:string | Password for the datastore principal.
datetime* | HostDateTimeConfig | DateTime Configuration.
firewall* | HostFirewallConfig | Firewall configuration.
genericConfig* | KeyAnyValue[] | Advanced configuration. Since vSphere API 5.0
graphicsConfig* | HostGraphicsConfig | Graphics configuration for a host. Since vSphere API 6.5
license* | HostLicenseSpec | License configuration for the host.
memory* | HostMemorySpec | Memory configuration for the host.
nasDatastore* | HostNasVolumeConfig[] | Configurations to create NAS datastores.
network* | HostNetworkConfig | Network system information.
nicTypeSelection* | HostVirtualNicManagerNicTypeSelection[] | Type selection for different VirtualNics.
option* | OptionValue[] | Host configuration options as defined by the OptionValue data object type.
security* | HostSecuritySpec | Security specification.
service* | HostServiceConfig[] | Host service configuration.
storageDevice* | HostStorageDeviceInfo | Storage system information.
userAccount* | HostAccountSpec[] | List of users to create/update with new password.
usergroupAccount* | HostAccountSpec[] | List of users to create/update with new password.
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="HostConfigSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="nasDatastore" type="vsan:HostNasVolumeConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="network" type="vsan:HostNetworkConfig" minOccurs="0"/> <element name="nicTypeSelection" type="vsan:HostVirtualNicManagerNicTypeSelection" minOccurs="0" maxOccurs="unbounded"/> <element name="service" type="vsan:HostServiceConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="firewall" type="vsan:HostFirewallConfig" minOccurs="0"/> <element name="option" type="vsan:OptionValue" minOccurs="0" maxOccurs="unbounded"/> <element name="datastorePrincipal" type="xsd:string" minOccurs="0"/> <element name="datastorePrincipalPasswd" type="xsd:string" minOccurs="0"/> <element name="datetime" type="vsan:HostDateTimeConfig" minOccurs="0"/> <element name="storageDevice" type="vsan:HostStorageDeviceInfo" minOccurs="0"/> <element name="license" type="vsan:HostLicenseSpec" minOccurs="0"/> <element name="security" type="vsan:HostSecuritySpec" minOccurs="0"/> <element name="userAccount" type="vsan:HostAccountSpec" minOccurs="0" maxOccurs="unbounded"/> <element name="usergroupAccount" type="vsan:HostAccountSpec" minOccurs="0" maxOccurs="unbounded"/> <element name="memory" type="vsan:HostMemorySpec" minOccurs="0"/> <element name="activeDirectory" type="vsan:HostActiveDirectory" minOccurs="0" maxOccurs="unbounded"/> <element name="genericConfig" type="vsan:KeyAnyValue" minOccurs="0" maxOccurs="unbounded"/> <element name="graphicsConfig" type="vsan:HostGraphicsConfig" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>