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

Target datastore.

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

Backing information for the virtual disk at the destination.

This can be used, for instance, to change the format of the virtual disk. If the specified backing is invalid or not supported at the destination, InvalidDeviceBacking is thrown. Specific property changes may be ignored if they are not supported.

Supported BackingInfo types and properties:

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

Cryptographic option of the current disk.

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