# Data Object - OptionDef(vim.option.OptionDef)

Property of
  HostConfigInfo, HostInternetScsiHba, HostInternetScsiHbaSendTarget, HostInternetScsiHbaStaticTarget, OptionManager
Extends
  ElementDescription
See also
  OptionType
Since
  2.0

## Data Object Description

Describes a user-defined option. The name of each option is identified by the "key" property, inherited from the ElementDescription data object type. You can indicate the property's position in a hierarchy by using a dot-separated notation. The string preceding the first dot is the top of the hierarchy. The hierarchy descends to a new sublevel with each dot. For example, "Ethernet.NetworkConnection.Bridged".

Properties

Name | Type | Description
--- | --- | ---
optionType | OptionType | The option type which defines allowed values.
Properties inherited from ElementDescription
key
Properties inherited from Description
label, summary
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="OptionDef"> <complexContent> <extension base="vsan:ElementDescription"> <sequence> <element name="optionType" type="vsan:OptionType"/> </sequence> </extension> </complexContent> </complexType>