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

Property of
  HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption, VirtualDeviceFileBackingOption, VirtualDeviceURIBackingOption, VirtualDiskDeltaDiskFormatsSupported, VirtualDiskFlatVer1BackingOption, VirtualDiskFlatVer2BackingOption, VirtualDiskLocalPMemBackingOption, VirtualDiskOptionVFlashCacheConfigOption, VirtualDiskRawDiskMappingVer1BackingOption, VirtualDiskRawDiskVer2BackingOption, VirtualDiskSeSparseBackingOption, VirtualDiskSparseVer1BackingOption, VirtualDiskSparseVer2BackingOption, VirtualEthernetCardOption, VirtualMachineQuestionInfo, VirtualMachineVMCIDeviceOptionFilterSpecOption, VirtualPointingDeviceBackingOption, VirtualPrecisionClockSystemClockBackingOption, VirtualSerialPortPipeBackingOption, VirtualVmxnet3VrdmaOption
Extends
  OptionType
See also
  ElementDescription
Since
  2.0

## Data Object Description

The ChoiceOption data object type defines a set of supported string values, a localizable description for each value, and the default value.

Properties

Name | Type | Description
--- | --- | ---
choiceInfo | ElementDescription[] | The set of possible selections and descriptions.
defaultIndex* | xsd:int | The index in ChoiceOption.value that serves as the default value.
Properties inherited from OptionType
valueIsReadonly
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="ChoiceOption"> <complexContent> <extension base="pbm:OptionType"> <sequence> <element name="choiceInfo" type="pbm:ElementDescription" maxOccurs="unbounded"/> <element name="defaultIndex" type="xsd:int" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>