cis tagging: tag model

The tag_model structure defines a tag that can be attached to vSphere objects.

Representation:

{
    "category_id""obj-103",
    "description""string",
    "id""obj-103",
    "name""string",
    "used_by"[
        "string",
        "string"
    ]
}

Attributes:

Name Type Description
Required
id string The unique identifier of the tag.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.cis.tagging.Tag. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.cis.tagging.Tag.

category_id string The identifier of the parent category in which this tag will be created.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.cis.tagging.Category. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.cis.tagging.Category.

name string The display name of the tag.

description string The description of the tag.

used_by string[] The set of users that can use this tag. To add users to this, you need to have the edit privilege on the tag. Similarly, to unsubscribe from this tag, you need the edit privilege on the tag. You should not modify other users subscription from this set.