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.
Representations:
{
"category_id": "obj-103",
"description": "string",
"name": "string"
}
"category_id": "obj-103",
"description": "string",
"name": "string"
}
<?xml version="1.0" ?>
<ns0:CreateSpec xmlns:ns0="http://vmware.com/cis/tagging/tag" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<description>string</description>
<name>string</name>
<category_id>obj-103</category_id>
</ns0:CreateSpec>
<ns0:CreateSpec xmlns:ns0="http://vmware.com/cis/tagging/tag" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<description>string</description>
<name>string</name>
<category_id>obj-103</category_id>
</ns0:CreateSpec>
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 . |