VmDisk
VmDisk
The VM disk information.
JSON Example
{
"vm_id": "VirtualMachine:vm-80:e594ad24-5f75-41e3-a276-88a2116dbed0",
"device_key": 0,
"is_vm_home": false,
"encrypted": false,
"capacity": 0,
"source_disk_format": "string",
"source_path": {
"datastore_id": "Datastore:datastore-16:ff4a23e7-2fed-4be0-be39-479ae372badd",
"datastore_name": "local-datastore",
"path": "/path/to/folder",
"filename": "vmDisk1.vmdk"
},
"source_storage_policy_name": "string",
"source_storage_policy_id": "dsbrowser.defaultStoragePolicy",
"label": "string",
"controller_key": 0,
"controller_label": "string",
"supported_for_replication": false
}
string
vm_id
Required
An ID of the VM this disk is part of.
integer As int32 As int32
device_key
Optional
Device key of the source VM disk.
boolean
is_vm_home
Optional
Each VM has one disk item, representing a VM home.
boolean
encrypted
Optional
Indicate whether this VM disk is encrypted.
integer As int64 As int64
capacity
Optional
Capacity of the source VM disk in KBs.
string
source_disk_format
Optional
The source disk format.
Possible values are : SAME_AS_SOURCE, SAME_AS_PRIMARY, AS_DEFINED_IN_PROFILE, FLAT, THICK, NATIVE_THICK, THIN, RDM,
string
source_storage_policy_name
Optional
The name of the storage policy.
string
source_storage_policy_id
Optional
An ID of the source storage policy.
string
label
Optional
label
integer As int32 As int32
controller_key
Optional
controller_key
string
controller_label
Optional
controller_label
boolean
supported_for_replication
Optional
Disks with certain types of controllers are not supported for replication. For example. NVMe, PCI, and SATA