VmDisk

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

The ID of the VM this disk is part of.

integer As int32 As int32
device_key
Optional

The 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 the VM disk is encrypted.

integer As int64 As int64
capacity
Optional

The capacity of the source VM disk, in KBs.

string
source_disk_format
Optional

The format of the virtual disk.

Possible values are : SAME_AS_SOURCE, SAME_AS_PRIMARY, AS_DEFINED_IN_PROFILE, FLAT, THICK, NATIVE_THICK, THIN, RDM,
source_path
Optional

source_path

string
source_storage_policy_name
Optional

The name of the storage policy of the source storage.

string
source_storage_policy_id
Optional

The ID of the storage policy of the source storage.

string
label
Optional

The label of the VM disk.

integer As int32 As int32
controller_key
Optional

controller_key

string
controller_label
Optional

The label of the VM disk.

boolean
supported_for_replication
Optional

Disks with certain types of controllers are not supported for replication. For example, NVMe, PCI, and SATA.