Name: Snapshot

Contains snapshot information such as the creation time stamp and size change.

Data Structure
{
   "typeId": "com.tintri.api.rest.v310.dto.domain.Snapshot",
   "cloneReferenceCount": <Number>,
   "createTime": <Date>,
   "creatorName": <String>,
   "description": <String>,
   "expirationTime": <Date>,
   "id": <String>,
   "isCollapsed": <Boolean>,
   "isDeleted": <Boolean>,
   "isLastReplicatedSnapshot": <Boolean>,
   "isOrphaned": <Boolean>,
   "isReplica": <Boolean>,
   "lastUpdatedTime": DateTime,
   "localAlias": <String>,
   "replicaRetentionMinutes": <Number>,
   "replicationId": <Number>,
   "sizeChangedMB": <Number>,
   "sizeChangedPhysicalMB": <Number>,
   "tag": <String>,
   "timeDeleted": <Date>,
   "vcenterInstanceUuid": <String>,
   "vmIsTemplate": <Boolean>,
   "vmName": <String>,
   "consistency": 'CRASH_CONSISTENT' | 'VM_CONSISTENT' | 'APP_CONSISTENT',
   "deletionPolicy": 'DELETE_ON_EXPIRATION' | 'DELETE_ON_ZERO_CLONE_REFERENCES' | 'DELETE_ON_SYNCREPL_RESYNC_COMPLETE',
   "hypervisorType": 'VMWARE' | 'RHEV' | 'HYPERV' | 'UNKNOWN' | 'OPENSTACK' | 'XENSERVER' | 'VMWARE_VVOL',
   "snapshotComposition": SnapshotComposition,
   "type": 'SCHEDULED_SNAPSHOT' | 'USER_GENERATED_SNAPSHOT' | 'AUTO_GENERATED_CLONING_SNAPSHOT' | 'VAAI_GENERATED_SNAPSHOT' | 'ODX_GENERATED_SNAPSHOT' | 'CINDER_GENERATED_SNAPSHOT' | 'SCHEDULED_HIGH_FREQUENCY_SNAPSHOT' | 'HYPERV_SHARE_SNAPSHOT' | 'SYNCREPL_RESYNC_SNAPSHOT',
   "uuid": Uuid,
   "vmUuid": Uuid,
}

Elements
NameTypeDescription
consistencyCRASH_CONSISTENT | VM_CONSISTENT | APP_CONSISTENTThe consistency type. Crash consistency is a VMstore snapshot that can be used to recover from a VM crash. VM consistency is a hypervisor snapshot that is hypervisor consistent and can be used to recover from a VM crash. App consistency is not used at this time.
CRASH_CONSISTENTDisk activity quiesed snapshot
VM_CONSISTENTVM activity quiesed snapshot
APP_CONSISTENTApplication activity quiesed snapshot (currently not used)
deletionPolicyDELETE_ON_EXPIRATION | DELETE_ON_ZERO_CLONE_REFERENCES | DELETE_ON_SYNCREPL_RESYNC_COMPLETEThe snapshot deletion policy: delete when retention minutes exprire or when there are zero clone references.
DELETE_ON_EXPIRATIONDelete snapshot when expirationTime is reached
DELETE_ON_ZERO_CLONE_REFERENCESDelete snapshot when there are no clones
DELETE_ON_SYNCREPL_RESYNC_COMPLETEDelete snapshot by filesystem when Synchronous Replication resync is completed
hypervisorTypeVMWARE | RHEV | HYPERV | UNKNOWN | OPENSTACK | XENSERVER | VMWARE_VVOLThe hypervisor type: VMware, RHEV, HyperV, OpenStack, XenServer, VVol, or unknown.
VMWAREVMware hypervisor
RHEVRed Hat hypervisor
HYPERVMicrosoft hypervisor
UNKNOWNUnknown hypervisor
OPENSTACKOpenStack platform
XENSERVERCitrix hypervisor
VMWARE_VVOLVMware virtual volume
snapshotCompositionSnapshotCompositionThe snapshot compostion which consists of total snapshot size and a replica map. Used only by TGC.
typeSCHEDULED_SNAPSHOT | USER_GENERATED_SNAPSHOT | AUTO_GENERATED_CLONING_SNAPSHOT | VAAI_GENERATED_SNAPSHOT | ODX_GENERATED_SNAPSHOT | CINDER_GENERATED_SNAPSHOT | SCHEDULED_HIGH_FREQUENCY_SNAPSHOT | HYPERV_SHARE_SNAPSHOT | SYNCREPL_RESYNC_SNAPSHOTThe snapshot type.
SCHEDULED_SNAPSHOTSnapshots created from a snapshot schedule.
USER_GENERATED_SNAPSHOTSnapshots created manually by a user.
AUTO_GENERATED_CLONING_SNAPSHOTSnapshots created as a part of Tintri clones.
VAAI_GENERATED_SNAPSHOTSnapshots created on Tintri VMstore using VAAI plugin to facilitate VMware clone operation.
ODX_GENERATED_SNAPSHOTSnapshots for files that get copied onto Vmstore using ODX(Offline Data Transfer).
CINDER_GENERATED_SNAPSHOTSnapshots for cinder volumes.
SCHEDULED_HIGH_FREQUENCY_SNAPSHOTSnapshots created at a high frequency schedule.
HYPERV_SHARE_SNAPSHOTSnapshots for Hyper-V shares, for the purpose of backup.
SYNCREPL_RESYNC_SNAPSHOTSnapshot for Synchronous Replication (resync).
uuidUuidUnique Tintri UUID for the object
vmUuidUuidThe source VM Tintri UUID. It can be null in some cases for a VAAI snapshot.

Attributes
NameTypeDescription
cloneReferenceCountxsd:intThe clone reference count for this snapshot. The range is 0..2^31-1; however, others limits will be reached before this limit is reached.
createTimexsd:datetimeThe snapshot creation time specified as the number of milliseconds since January 1, 1970.
creatorNamexsd:stringThe snapshot creator's name.
descriptionxsd:stringThe snapshot description.
expirationTimexsd:datetimeThe snapshot expiration date specified as the number of milliseconds since January 1, 1970.
idxsd:stringReturns the global snapshot ID. At this time, Tintri use only.
isCollapsedxsd:boolean'True' indicates that the snapshot is collapsed. 'False' indicates that the snapshot has not been collapsed. Tintri use only at this time.
isDeletedxsd:boolean'True' indicates that the snapshot is deleted, while 'False' indicates that the snapshot is not deleted.
isLastReplicatedSnapshotxsd:boolean'True' indicates that the snapshot is the last replicated snapshot, while 'False' indicates that the snapshot is not the last replicated snapshot.
isOrphanedxsd:boolean'True' indicates that the snapshot's source is not available or orphaned, while 'False' indicates that the snapshot's source is available or not orphaned.
isReplicaxsd:boolean'True' indicates that the snapshot is a replica. 'False' indicates that the snapshot is not a replica.
lastUpdatedTimeDateTimeLast time the entity is updated in the format YYYY-MM-DDThh:mm:ss.ms-/+zz:zz
localAliasxsd:stringAlias used for the entity instance in this Tintri API server. If an alias is not set, then localAlias is not returned.
replicaRetentionMinutesxsd:longThe number of minutes that the replica is to be retained before removing it.
replicationIdxsd:longDeprecated. Deprecated since v310.61. Please see the elements configurationsIncoming and configurationsOutgoing in
sizeChangedMBxsd:doubleTotal size changed in MiB from the last snapshot.
sizeChangedPhysicalMBxsd:doublePhysical size changed in MiB from the last snapshot.
tagxsd:stringThe comma delimited snapshot metadata. It contains information about the snapshot like the VVOL ID or whether the files used for the snapshot are not up-to-date using keywords. i.e. stale_ss_files,vvol:id123 This example means it lost it's hypervisor connection and the snapshot is a VVOL snapshot type.
timeDeletedxsd:datetimeThe snapshot deleted date specified in milliseconds since January 1, 1970.
vcenterInstanceUuidxsd:stringThe vCenter instance UUID.
vmIsTemplatexsd:boolean'True' indicates that the snapshot's source VM is a template. 'False' indicates that the snapshot's source VM is not a template.
vmNamexsd:stringSnaphot's source VM name.