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

Property of
  HostProfileManagerConfigTaskList, ProfileExecuteResult
Parameter to
  ApplyHostConfig_Task, GenerateConfigTaskList, GenerateHostProfileTaskList_Task
Extends
  DynamicData
See also
  HostAccountSpec, HostActiveDirectory, HostAssignableHardwareConfig, 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
assignableHardwareConfig* | HostAssignableHardwareConfig | Assignable Hardware configuration for the host Since vSphere API 7.0
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:sms="urn:sms" name="HostConfigSpec"> <complexContent> <extension base="sms:DynamicData"> <sequence> <element name="nasDatastore" type="sms:HostNasVolumeConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="network" type="sms:HostNetworkConfig" minOccurs="0"/> <element name="nicTypeSelection" type="sms:HostVirtualNicManagerNicTypeSelection" minOccurs="0" maxOccurs="unbounded"/> <element name="service" type="sms:HostServiceConfig" minOccurs="0" maxOccurs="unbounded"/> <element name="firewall" type="sms:HostFirewallConfig" minOccurs="0"/> <element name="option" type="sms: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="sms:HostDateTimeConfig" minOccurs="0"/> <element name="storageDevice" type="sms:HostStorageDeviceInfo" minOccurs="0"/> <element name="license" type="sms:HostLicenseSpec" minOccurs="0"/> <element name="security" type="sms:HostSecuritySpec" minOccurs="0"/> <element name="userAccount" type="sms:HostAccountSpec" minOccurs="0" maxOccurs="unbounded"/> <element name="usergroupAccount" type="sms:HostAccountSpec" minOccurs="0" maxOccurs="unbounded"/> <element name="memory" type="sms:HostMemorySpec" minOccurs="0"/> <element name="activeDirectory" type="sms:HostActiveDirectory" minOccurs="0" maxOccurs="unbounded"/> <element name="genericConfig" type="sms:KeyAnyValue" minOccurs="0" maxOccurs="unbounded"/> <element name="graphicsConfig" type="sms:HostGraphicsConfig" minOccurs="0"/> <element name="assignableHardwareConfig" type="sms:HostAssignableHardwareConfig" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>