Developer Documentation

DiskCreateSpec

The Disk.CreateSpec structure provides a specification for the configuration of a newly-created virtual disk.


Properties

Required Property Name Type Description
optional backing DiskBackingSpec

Existing physical resource backing for the virtual disk. Exactly one of Disk.CreateSpec.backing or Disk.CreateSpec.new-vmdk must be specified. If unset, the virtual disk will not be connected to an existing backing.

optional ide HardwareIdeAddressSpec

Address for attaching the device to a virtual IDE adapter. If unset, the server will choose an available address; if none is available, the request will fail.

optional new_vmdk DiskVmdkCreateSpec

Specification for creating a new VMDK backing for the virtual disk. Exactly one of Disk.CreateSpec.backing or Disk.CreateSpec.new-vmdk must be specified. If unset, a new VMDK backing will not be created.

optional sata HardwareSataAddressSpec

Address for attaching the device to a virtual SATA adapter. If unset, the server will choose an available address; if none is available, the request will fail.

optional scsi HardwareScsiAddressSpec

Address for attaching the device to a virtual SCSI adapter. If unset, the server will choose an available address; if none is available, the request will fail.

optional type DiskHostBusAdapterType Enum

Type of host bus adapter to which the device should be attached. If unset, guest-specific default values will be used

Feedback

Was this page helpful?