Name: VirtualMachineSyncSpec

Input to support SyncVm operations.

Sample request for synchronize a VM from a snapshot:

 {"type":"FULL_VM",
  "targetVmTintriUuids":["05AA7A2B-0463-F458-2024-1522128E4E8D-VIM-0000000000000024"],
  "snapshotTintriUuid":"05AA7A2B-0463-F458-2024-1522128E4E8D-SST-0000000000000003",
  "typeId":"com.tintri.api.rest.v310.dto.domain.beans.vm.VirtualMachineSyncSpec"
 }
 
Sample for synchronize a disk of a VM from a disk in a snapshot:
 {"type":"VDISK",
  "targetVmTintriUuids":["05AA7A2B-0463-F458-2024-1522128E4E8D-VIM-0000000000000024"],
  "snapshotTintriUuid":"05AA7A2B-0463-F458-2024-1522128E4E8D-SST-0000000000000012",
  "sourceDisks":["scsi0:1"],
  "destDisks":["scsi0:1"],
  "takeSnapshotSpec":{"takeSnapshot":true,
  "localRetentionTimeInMinutes":1440,
  "replicaRetentionTimeInMinutes":1440,
  "typeId":"com.tintri.api.rest.v310.dto.domain.beans.vm.VirtualMachineSyncSpec"
 }
 
 
Sample request for Guest OS File restore of a snapshot to a VM:
 {"type":"FILE_RESTORE",
  "targetVmTintriUuids":["4BB35F23-205D-9234-DCB0-3781D75BB987-VIM-00000000000000E3"],
  "snapshotTintriUuid":"4BB35F23-205D-9234-DCB0-3781D75BB987-SST-0000000000000006",
  "sourceDisks":[],
  "destDisks":[],
  "isAsync":true,
  "vmConfig":{"isDiskAutoDetach":true,"diskAutoDetachInMinutes":2880,
  "typeId":"com.tintri.api.rest.v310.dto.domain.beans.vm.VirtualMachineSyncVmConfig"},
  "typeId":"com.tintri.api.rest.v310.dto.domain.beans.vm.VirtualMachineSyncSpec"}
 

Data Structure
{
   "typeId": "com.tintri.api.rest.v310.dto.domain.beans.vm.VirtualMachineSyncSpec",
   "async": <Boolean>,
   "destDisks": <String>,
   "snapshotTintriUuid": <String>,
   "sourceDisks": <String>,
   "targetVmTintriUuids": <String>,
   "type": 'FULL_VM' | 'VDISK' | 'FILE_RESTORE',
   "takeSnapshotSpec": VirtualMachineSyncTakeSnapshotSpec,
   "vmConfig": VirtualMachineSyncVmConfig,
   "vmwareSpec": VirtualMachineVmwareSyncSpec,
}

Elements
NameTypeDescription
takeSnapshotSpecVirtualMachineSyncTakeSnapshotSpecProperties for SyncVm operation to take a snapshot. The object is optional.
vmConfigVirtualMachineSyncVmConfigProperties for SyncVM operation to detach Guest OS File (File-Level) restored virtual disks.
vmwareSpecVirtualMachineVmwareSyncSpecProperties to support the SyncVm operation with hypervisor when the snapshot is VM-Consistent.

Attributes
NameTypeDescription
asyncxsd:booleanChecks if the SyncVM is synchronous or asynchronous. Default value is asynchronous.
destDisksxsd:list[xsd:string]Selected disks to be replaced on Virtual Machine.
snapshotTintriUuidxsd:stringTintri Snapshot UUID.
sourceDisksxsd:list[xsd:string]Selected disks from Snapshot.
targetVmTintriUuidsxsd:list[xsd:string]Tintri Virtual Machine UUID of selected target VMs.
typeFULL_VM | VDISK | FILE_RESTOREOperation type for SyncVm.
FULL_VMSync the full VM
VDISKSync the virtual disk
FILE_RESTORERestore a VM or virtual disk