VmHardwareDiskCreateSpec
The Disk.CreateSpec structure provides a specification for the configuration of a newly-created virtual disk.
Properties
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.
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.
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.
Address for attaching the device to a virtual NVMe adapter. If unset, the server will choose an available address; if none is available, the request will fail.
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.
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.
The Disk.HostBusAdapterType enumerated type defines the valid types of host bus adapters that may be used for attaching a virtual storage device to a virtual machine.
IDE : Disk is attached to an IDE adapter.
SCSI : Disk is attached to a SCSI adapter.
SATA : Disk is attached to a SATA adapter.
NVME : Disk is attached to a NVMe adapter.
Possible values are: IDE , SCSI , SATA , NVME
JSON Example
{
"backing": {
"type": "VMDK_FILE",
"vmdk_file": "string"
},
"ide": {
"master": false,
"primary": false
},
"new_vmdk": {
"capacity": 0,
"name": "string",
"storage_policy": {
"policy": "string"
}
},
"nvme": {
"bus": 0,
"unit": 0
},
"sata": {
"bus": 0,
"unit": 0
},
"scsi": {
"bus": 0,
"unit": 0
},
"type": "IDE"
}