StoragePlacementAction
Describes a single storage initial placement action for placing a virtual machine or a set of virtual disks on a datastore.
{
"_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"
}
},
"destination": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"spaceUtilBefore": "number",
"spaceDemandBefore": "number",
"spaceUtilAfter": "number",
"spaceDemandAfter": "number",
"ioLatencyBefore": "number"
}
Specification for moving or copying a virtual machine to a different datastore or host.
Current space utilization on the target datastore.
Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.
Current space demand on the target datastore.
Unit: percentage. For example, if set to 70.0, space demand is 70%. This value include the space demanded by thin provisioned VMs. Hence, it may be higher than 100%. If not set, the value is not available.
Space utilization on the target datastore after placing the virtual disk.
Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.
Space demand on the target datastore after placing the virtual disk.
Unit: percentage. For example, if set to 70.0, space demand is 70%. This value include the space demanded by thin provisioned VMs. Hence, it may be higher than 100%. If not set, the value is not available.
Current I/O latency on the target datastore.
Unit: millisecond. If not set, the value is not available.