VMRelocateSpec

Document-based relocate spec.


Properties

disks Optional

Individual disk relocation map. If unset, all disks will migrate to the datastore specified in the VM.RelocatePlacementSpec.datastore field of VM.RelocateSpec.placement. When clients pass a value of this structure as a parameter, the key in the field map must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk. When operations return a value of this structure as a result, the key in the field map will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk.


placement Optional

Virtual machine placement information. If this field is unset, the system will use the values from the source virtual machine. If specified, each field will be used for placement. If the fields result in disjoint placement the operation will fail. If the fields along with the other existing placement of the virtual machine result in disjoint placement the operation will fail.

JSON Example

{
    "disks": {
        "key": {
            "datastore": "string"
        }
    },
    "placement": {
        "cluster": "string",
        "datastore": "string",
        "folder": "string",
        "host": "string",
        "resource_pool": "string"
    }
}
Feedback

Was this page helpful?