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

Property of
  GuestOsDescriptor, StorageIORMConfigOption, VirtualCdromPassthroughBackingOption, VirtualCdromRemotePassthroughBackingOption, VirtualDeviceConnectOption, VirtualDeviceDeviceBackingOption, VirtualDeviceOption, VirtualDeviceRemoteDeviceBackingOption, VirtualDiskFlatVer1BackingOption, VirtualDiskFlatVer2BackingOption, VirtualDiskSeSparseBackingOption, VirtualDiskSparseVer1BackingOption, VirtualDiskSparseVer2BackingOption, VirtualEthernetCardOption, VirtualHardwareOption, VirtualMachineVMCIDeviceOption, VirtualSCSIControllerOption, VirtualSerialPortOption, VirtualSerialPortPipeBackingOption, VirtualUSBControllerOption, VirtualUSBXHCIControllerOption, VirtualVideoCardOption, VirtualVmxnet3Option, VirtualWDTOption
Extends
  OptionType
Since
  2.0

## Data Object Description

The BoolOption data object type describes if an option is supported ("true") and if the option is set to "true" or "false" by default.

Properties

Name | Type | Description
--- | --- | ---
defaultValue | xsd:boolean | The default value for the option.
supported | xsd:boolean | The flag to indicate whether or not the option is supported.
Properties inherited from OptionType
valueIsReadonly
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="BoolOption"> <complexContent> <extension base="vsan:OptionType"> <sequence> <element name="supported" type="xsd:boolean"/> <element name="defaultValue" type="xsd:boolean"/> </sequence> </extension> </complexContent> </complexType>