# Data Object - VimVsanHostDiskMappingCreationSpec(vim.vsan.host.DiskMappingCreationSpec)

Property of
  VsanPrepareVsanForVcsaSpec
Parameter to
  InitializeDiskMappings
Extends
  DynamicData
See also
  HostScsiDisk, HostSystem
Since
  vSphere API 6.0

## Data Object Description

Specification for vSAN disk group creation. It is used for semi-automatic disk claim on specific host for vSAN service, both hybrid and all flash disk groups could be created with this specification. It could be used to create new disk group, and append new disks to existing vSAN disk group. It can also be used for vSAN direct datastore provision on specific host. For claiming vSAN direct datastore, creationType is set to "vsandirect" and the disk(s) to be claimed are provided through capacityDisks.

Properties

Name | Type | Description
--- | --- | ---
cacheDisks* | HostScsiDisk[] | Disk(s) to be used as cache tier of disk group. If the specification is used to create new disk group, disk(s) set to this field must not be used by vSAN, and this field is required; if the specification is used to append disk(s) to existing disk group, this field is optional, and cannot accept more than one disk, and disk specified here should be the cache tier of existing disk group.
capacityDisks* | HostScsiDisk[] | Disk(s) to be used as capacity tier of disk group. All disk(s) specified to this field, must not be used by vSAN. This field can also be used in vSAN direct datastore provision, i.e. creationType set to "vsandirect". It represents all the disk(s) used to create vSAN direct datastores. All disk(s) specified to this field must not be used by vSAN or any other datastores.
creationType | xsd:string | Disk group type to create. See VimVsanHostDiskMappingCreationSpecDiskMappingCreationType
host | ManagedObjectReference to a HostSystem | Target host to create vSAN disk group.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VimVsanHostDiskMappingCreationSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="host" type="vsan:ManagedObjectReference"/> <element name="cacheDisks" type="vsan:HostScsiDisk" minOccurs="0" maxOccurs="unbounded"/> <element name="capacityDisks" type="vsan:HostScsiDisk" minOccurs="0" maxOccurs="unbounded"/> <element name="creationType" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>