Name: TagCollection

This class represents a collection of tags. 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.

Data Structure
{
   "typeId": "com.tintri.api.rest.v310.dto.domain.beans.TagCollection",
   "lastUpdatedTime": DateTime,
   "sourceInstance": <String>,
   "sourceType": <String>,
   "keyValuePairs": java.util.Map,
}

Elements
NameTypeDescription
keyValuePairsjava.util.MapObtains a list of key/value pairs. The keys of the map is the sources of the tags, and the values are lists of key/value pairs that make up tag. For vSphere 5.1 tag: key is the category name, value is tag for vSphere tags (non empty list) For vSphere custom attribute: key is the custom attribute key, and value is the custom attribute value. For vSphere metadata: key is the metadata field name, and value is the values For other non VMware hypervisors: key is the tag key, and value is the list of the tag values The value can be empty list for standalone tags.

Attributes
NameTypeDescription
lastUpdatedTimeDateTimeObtains the timestamp when the tag collection was last updated.
sourceInstancexsd:stringObtains the hostname of the hypervisor instance where tags are collected.
sourceTypexsd:stringObtains the source of the tag. Some examples of sources are VMware vSphere metadata, VMware vSphere Custom Attributes, VMware vSphere Tags, OpenStack instance tags.