# Data Object - VslmCreateSpec(vim.vslm.CreateSpec)

Parameter to
  CreateDisk_Task, HostCreateDisk_Task
Extends
  DynamicData
See also
  VirtualMachineProfileSpec, VslmCreateSpecBackingSpec
Since
  vSphere API 6.5

## Data Object Description

Specification to create a virtual storage object.

Properties

Name | Type | Description
--- | --- | ---
backingSpec | VslmCreateSpecBackingSpec | Specification of the backings of the virtual storage object.
capacityInMB | xsd:long | Size in MB of the virtual storage object.
keepAfterDeleteVm* | xsd:boolean | Choice of the deletion behavior of this virtual storage object. If not set, the default value is false. Since vSphere API 6.7
name | xsd:string | Descriptive name of this virtual storage object.
profile* | VirtualMachineProfileSpec[] | Virtual storage object Profile requirement. If unset, the default behavior will apply. Since vSphere API 6.7
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="VslmCreateSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="name" type="xsd:string"/> <element name="keepAfterDeleteVm" type="xsd:boolean" minOccurs="0"/> <element name="backingSpec" type="vsan:VslmCreateSpecBackingSpec"/> <element name="capacityInMB" type="xsd:long"/> <element name="profile" type="vsan:VirtualMachineProfileSpec" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>