VirtualMachineRelocateSpecDiskLocator

VirtualMachineRelocateSpecDiskLocator
VirtualMachineRelocateSpecDiskLocator

The DiskLocator data object type specifies a virtual disk device (by ID) and a datastore locator for the disk's storage.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "diskId": 0,
    "datastore": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "diskMoveType": "string",
    "diskBackingInfo": {
        "_typeName": "string"
    },
    "profile": [
        {
            "_typeName": "string"
        }
    ],
    "backing": {
        "_typeName": "string",
        "parent": "VirtualMachineRelocateSpecDiskLocatorBackingSpec Object",
        "crypto": {
            "_typeName": "string"
        }
    },
    "filterSpec": [
        {
            "_typeName": "string"
        }
    ]
}
integer As int32 As int32
diskId
Required

Device ID of the virtual disk.

datastore
Required

Reference to an instance of the Datastore managed object.

string
diskMoveType
Optional

Manner in which to move the virtual disk to the target datastore.

The set of possible values is described in VirtualMachineRelocateDiskMoveOptionsEnum.

This property can only be set if deltaDiskBackingsSupported is true.

If left unset then moveAllDiskBackingsAndDisallowSharing is assumed.

diskBackingInfo
Optional

VirtualDeviceBackingInfo is a base data object type for information about the backing of a device in a virtual machine.

This base type does not define any properties. It is used as a namespace for general-purpose subtypes. Specific devices are represented by subtypes which define properties for device-specific backing information.

profile
Optional

Virtual Disk Profile requirement.

Profiles are solution specific. Profile Based Storage Management is a vSphere server extension. The API users who want to provision VMs using Storage Profiles, need to interact with it. This is an optional parameter and if user doesn't specify profile, the default behavior will apply.

backing
Optional

VirtualMachineRelocateSpecDiskLocatorBackingSpec is a data object type for crytographic information about the backing of a device.

The member parent refers the parent in the chain of VirtualDeviceBackingInfo objects.

filterSpec
Optional

List of independent filters VirtualMachineIndependentFilterSpec to be configured on the virtual disk after the relocate.

Since: vSphere API Release 7.0.2.1