Clusters_VirtualMachines_RestoreSpec

Clusters_VirtualMachines_RestoreSpec
Clusters_VirtualMachines_RestoreSpec

The VirtualMachines.RestoreSpec structure contains fields to restore deleted virtual machine to a given snapshot point.

JSON Example
{
    "snapshot": "string",
    "name": "string",
    "placement": {
        "folder": "string",
        "resource_pool": "string",
        "host": "string"
    }
}
string
snapshot
Required

Identifier of the virtual machine snapshot using which the virtual machine shall be restored. VirtualMachines.RestoreSpec.snapshot must be a snapshot of a virtual machine on the same cluster where virtual machine being restored. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.snapservice.vm.snapshot. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.snapservice.vm.snapshot.

string
name
Optional

New name for the virtual machine being restored. If unset, will use the name of the virtual machine when the snapshot was taken.

placement
Optional

The VirtualMachines.RestorePlacementSpec structure contains fields used to place restored virtual machine on to resources within the vcenter inventory.