cis tagging tag: create spec

The create_spec structure describes a tag.

Use the create operation to create a tag defined by the create specification.

Representation:

{
    "category_id""obj-103",
    "description""string",
    "name""string",
    "tag_id""obj-103"
}

Attributes:

Name Type Description
Required
name string The display name of the tag. The name must be unique within its category.

description string The description of the tag.

category_id string The unique 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.

Optional
tag_id string This attribute was added in vSphere API 6.7

Optional. If unset an identifier will be generated by the server. 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.