StorageMigrationAction

StorageMigrationAction
StorageMigrationAction

Describes a single storage migration action.

The storage migration action applies either to a virtual machine or a set of virtual disks.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "type": "string",
    "target": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "vm": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "relocateSpec": {
        "_typeName": "string",
        "service": {
            "_typeName": "string",
            "instanceUuid": "string",
            "url": "string",
            "credential": {
                "_typeName": "string"
            },
            "sslThumbprint": "string"
        },
        "folder": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        },
        "datastore": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        },
        "diskMoveType": "string",
        "pool": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        },
        "host": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        },
        "disk": [
            {
                "_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"
                    }
                ]
            }
        ],
        "transform": "string",
        "deviceChange": [
            {
                "_typeName": "string",
                "operation": "string",
                "fileOperation": "string",
                "device": {
                    "_typeName": "string",
                    "key": 0,
                    "deviceInfo": {
                        "_typeName": "string",
                        "label": "string",
                        "summary": "string"
                    },
                    "backing": {
                        "_typeName": "string"
                    },
                    "connectable": {
                        "_typeName": "string",
                        "migrateConnect": "string",
                        "startConnected": false,
                        "allowGuestControl": false,
                        "connected": false,
                        "status": "string"
                    },
                    "slotInfo": {
                        "_typeName": "string"
                    },
                    "controllerKey": 0,
                    "unitNumber": 0,
                    "numaNode": 0,
                    "deviceGroupInfo": {
                        "_typeName": "string",
                        "groupInstanceKey": 0,
                        "sequenceId": 0
                    }
                },
                "profile": [
                    {
                        "_typeName": "string"
                    }
                ],
                "backing": {
                    "_typeName": "string",
                    "parent": "VirtualDeviceConfigSpecBackingSpec Object",
                    "crypto": {
                        "_typeName": "string"
                    }
                },
                "filterSpec": [
                    {
                        "_typeName": "string"
                    }
                ],
                "changeMode": "string"
            }
        ],
        "profile": [
            {
                "_typeName": "string"
            }
        ],
        "cryptoSpec": {
            "_typeName": "string"
        }
    },
    "source": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "destination": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "sizeTransferred": 0,
    "spaceUtilSrcBefore": "number",
    "spaceUtilDstBefore": "number",
    "spaceUtilSrcAfter": "number",
    "spaceUtilDstAfter": "number",
    "ioLatencySrcBefore": "number",
    "ioLatencyDstBefore": "number"
}
vm
Required

Reference to an instance of the VirtualMachine managed object.

relocateSpec
Required

Specification for moving or copying a virtual machine to a different datastore or host.

source
Required

Reference to an instance of the Datastore managed object.

destination
Required

Reference to an instance of the Datastore managed object.

integer As int64 As int64
sizeTransferred
Required

The amount of data to be transferred.

Unit: KB.

number As float As float
spaceUtilSrcBefore
Optional

Space utilization on the source datastore before storage migration.

Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.

number As float As float
spaceUtilDstBefore
Optional

Space utilization on the destination datastore before storage migration.

Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.

number As float As float
spaceUtilSrcAfter
Optional

Expected space utilization on the source datastore after storage migration.

Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.

number As float As float
spaceUtilDstAfter
Optional

Expected space utilization on the destination datastore after storage migration.

Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.

number As float As float
ioLatencySrcBefore
Optional

I/O latency on the source datastore before storage migration.

Unit: millisecond. If not set, the value is not available.

number As float As float
ioLatencyDstBefore
Optional

I/O latency on the destination datastore before storage migration.

Unit: millisecond. If not set, the value is not available.