Name: VirtualMachine

Entity represents encapsulation of virtual machine, the files of which are stored and managed by Datastore / Tintri System. ManagedEntity uuid will be set to the primary tintriUuid. The Tintri assigned unique identifier for this virtual machine. It can be hypervisor dependent to some extent, but also linked to Tintri File System implementation. For example, for VMware VM, it would look as:
<File System UUID> -VIM- <VMX file id hexadecimal representation>

Data Structure
{
   "typeId": "com.tintri.api.rest.v310.dto.domain.VirtualMachine",
   "diskFormatDescription": <String>,
   "hasSyncVmFileLevelRestoreDisk": <Boolean>,
   "isDeleted": <Boolean>,
   "isLive": <Boolean>,
   "lastConfigChangedTime": DateTime,
   "lastUpdatedTime": DateTime,
   "localAlias": <String>,
   "pinnedType": 'NOT_PINNED' | 'PARTIALLY_PINNED' | 'PINNED',
   "provisionedType": 'THICK' | 'THIN' | 'PENDING',
   "supportMode": <String>,
   "timeDeleted": <Date>,
   "tintriUuidAliasList": <String>,
   "vmstoreName": <String>,
   "vmstoreTintriUuid": <String>,
   "affinityRule": VirtualMachineAffinityRule,
   "composition": VirtualMachineComposition,
   "migration": VirtualMachineMigrationInfo,
   "policyErrors": [PolicyError],
   "qosConfig": VirtualMachineQoSConfig,
   "replication": VirtualMachineReplicationInfo,
   "serviceGroup": VirtualMachineServiceGroupInfo,
   "snapshot": VirtualMachineSnapshotInfo,
   "stat": Stats,
   "tagCollections": [TagCollection],
   "uuid": Uuid,
   "vmware": VirtualMachineVmwareInfo,
}

Elements
NameTypeDescription
affinityRuleVirtualMachineAffinityRuleThe affinity rule.
compositionVirtualMachineCompositionTgcOnly Information about VM artifacts in the cluster managed by this Tintri Global Center.
migrationVirtualMachineMigrationInfoObtains the virtual machine replication information.
policyError (wrapped by policyErrors)xsd:list[PolicyError]TgcOnly Errors associated with per-VM policies which require user intervention to resolve.
qosConfigVirtualMachineQoSConfigObtains the virtual machine QoS config information.
replicationVirtualMachineReplicationInfoObtains the virtual machine replication information.
serviceGroupVirtualMachineServiceGroupInfoObtains the VM's service group information. A service group is a logical entity that groups one or more virtual machines together for the ease of classification.
snapshotVirtualMachineSnapshotInfoObtains the virtual machine snapshot information.
statStatsStatistics as for the virtual machine.
tagCollectionsxsd:list[TagCollection]Obtains the list of tag collections that are associated with this virtual machine. A tag collection is a collection of tags collected from a hypervisor instance, and from multiple sources. Tags provide a way to annotate objects. Tags can be used for different purposes such as grouping, sorting or searching on objects. All the tags in this collection are collected from one hypervisor instance, and from multiple sources. Some examples of sources are VMware vSphere metadata, VMware vSphere Custom Attributes, VMware vSphere Tags, OpenStack instance tags.
uuidUuidUnique Tintri UUID for the object
vmwareVirtualMachineVmwareInfoObtains hypervisor information about the VM.

Attributes
NameTypeDescription
diskFormatDescriptionxsd:stringObtains the disk format description.
hasSyncVmFileLevelRestoreDiskxsd:boolean'True' if virtual machine contains virtual disk that is restored via SyncVM File-Level Restore.
isDeletedxsd:booleanReturn the flag indicating whether this virtual machine is deleted
isLivexsd:booleanChecks if is live.
lastConfigChangedTimeDateTimeLatest timestamp when snapshot schedule or replication configuration for this VM was changed.
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.
pinnedTypeNOT_PINNED | PARTIALLY_PINNED | PINNEDObtains the pin type of the VM.
NOT_PINNEDVM disks are not pinned in cache
PARTIALLY_PINNEDSome, but not all of the VM disks are pinned in cache
PINNEDAll VM disks are pinned in cache
provisionedTypeTHICK | THIN | PENDINGObtains the provisioned type of the VM.
THICKAt least one VM disk is thick provisioned
THINAll VM disks are thin provisioned
PENDINGProvision type not available until the next statistics reporting
supportModexsd:stringObtains the support mode for the this VM.
timeDeletedxsd:datetimeObtains the timestamp the VM was deleted.
tintriUuidAliasListxsd:list[xsd:string]Obtains a list of Tintri UUID aliases. An alias is another Tintri UUID that was used to identify the same VM.
vmstoreNamexsd:stringTgcOnly Name of the primary VMstore for the VM
vmstoreTintriUuidxsd:stringTgcOnly Tintri UUID of the primary VMstore for the VM