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 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.
Type of host bus adapter to which the device should be attached. If unset, guest-specific default values will be used
JSON Example
{
"backing": {
"type": "enum",
"vmdk_file": "string"
},
"ide": {
"master": false,
"primary": false
},
"new_vmdk": {
"capacity": 0,
"name": "string",
"storage_policy": {
"policy": "string"
}
},
"sata": {
"bus": 0,
"unit": 0
},
"scsi": {
"bus": 0,
"unit": 0
},
"type": "enum"
}