# Data Object - HostDhcpServiceSpec(vim.host.DhcpService.Specification)

Property of
  HostDhcpService, HostDhcpServiceConfig
Extends
  DynamicData
Since
  VI API 2.5

## Data Object Description

Properties

Name | Type | Description
--- | --- | ---
defaultLeaseDuration | xsd:int | The default DHCP lease duration (minutes).
ipSubnetAddr | xsd:string | Subnet served by DHCP service.
ipSubnetMask | xsd:string | Subnet mask of network served by DHCP service.
leaseBeginIp | xsd:string | The start of the IP address range served by the DHCP service.
leaseEndIp | xsd:string | The end of the IP address range served by the DHCP service.
maxLeaseDuration | xsd:int | The maximum DHCP lease duration (minutes).
unlimitedLease | xsd:boolean | A flag to indicate whether or not unlimited DHCP lease durations are allowed.
virtualSwitch | xsd:string | The name of the virtual switch to which DHCP service is connected.
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="HostDhcpServiceSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="virtualSwitch" type="xsd:string"/> <element name="defaultLeaseDuration" type="xsd:int"/> <element name="leaseBeginIp" type="xsd:string"/> <element name="leaseEndIp" type="xsd:string"/> <element name="maxLeaseDuration" type="xsd:int"/> <element name="unlimitedLease" type="xsd:boolean"/> <element name="ipSubnetAddr" type="xsd:string"/> <element name="ipSubnetMask" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>