Data Object - VslmCreateSpec(vim.vslm.CreateSpec)

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

Data Object Description

Specification to create a virtual storage object.

Properties

Name Type Description
backingSpecVslmCreateSpecBackingSpec

Specification of the backings of the virtual storage object.
capacityInMBxsd:long

Size in MB of the virtual storage object.
crypto*CryptoSpec

Crypto operation of the disk. If unset and if profile contains an encryption iofilter, then crypto will be of type CryptoSpecEncrypt, and filled with keyId that is automatically generated and keyProviderId that is the default kms cluster.

Since vSphere API 7.0
keepAfterDeleteVm*xsd:boolean

Choice of the deletion behavior of this virtual storage object. If not set, the default value is true.

Since vSphere API 6.7
metadata*KeyValue[]

The metadata KV pairs that are supposed to be created on the newly created virtual storage object. The create task is atomic by design. That being said, failing to add the specified metadata pairs leads to the failure of the create task. If unset, no metadata will be added. An empty string value is indicative of a vcenter tag.

Since vSphere API 6.7.2
namexsd: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