cis tagging tag association: tag to objects
The
tag_to_objects
structure describes a tag and its related objects. Use the list_attached_objects_on_tags operation to retrieve a array with each element containing a tag and the objects to which it is attached.Representations:
{
"object_ids": [
{
"id": "obj-103",
"type": "string"
},
{
"id": "obj-103",
"type": "string"
}
],
"tag_id": "obj-103"
}
"object_ids": [
{
"id": "obj-103",
"type": "string"
},
{
"id": "obj-103",
"type": "string"
}
],
"tag_id": "obj-103"
}
<?xml version="1.0" ?>
<ns0:TagToObjects xmlns:ns0="http://vmware.com/cis/tagging/tag_association" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<object_ids-array>
<array-item>
<id>obj-103</id>
<type>string</type>
</array-item>
<array-item>
<id>obj-103</id>
<type>string</type>
</array-item>
</object_ids-array>
<tag_id>obj-103</tag_id>
</ns0:TagToObjects>
<ns0:TagToObjects xmlns:ns0="http://vmware.com/cis/tagging/tag_association" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<object_ids-array>
<array-item>
<id>obj-103</id>
<type>string</type>
</array-item>
<array-item>
<id>obj-103</id>
<type>string</type>
</array-item>
</object_ids-array>
<tag_id>obj-103</tag_id>
</ns0:TagToObjects>
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
tag_id | string | The 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 . |
object_ids | dynamic_ID[] | The identifiers of the related objects. |