models.tag_attribute module

class models.tag_attribute.TagAttribute(gcp_tag_type=None, id=None, name=None, uuid=None)[source]

Bases: object

Implementation of the ‘TagAttribute’ model.

Specifies a VMware tag.

Attributes:
gcp_tag_type (GcpTagTypeEnum): Specifies the tag attribute type of

GCP. Going forward, there will be an additional TagTypes for AWS as well. Specifies the type of the tag GCP entity refers to. ‘kNetworkTag’ indicates a network tag present on instances. ‘kLabel’ indicates a label (key-value pair) present on instances. ‘kCustomMetadata’ indicates custom Metadata (key-value pair) present on instances.

id (long|int): Specifies the Coheisty id of the VM tag. name (string): Specifies the VMware name of the VM tag. uuid (string): Specifies the VMware Universally Unique Identifier

(UUID) of the VM tag.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.