cis tagging tag association: object to tags
The
object_to_tags
structure describes an object and its related tags. Use the list_attached_tags_on_objects operation to retrieve a array with each element containing an object and the tags attached to it.Representations:
{
"object_id": {
"id": "obj-103",
"type": "string"
},
"tag_ids": [
"obj-103",
"obj-103"
]
}
"object_id": {
"id": "obj-103",
"type": "string"
},
"tag_ids": [
"obj-103",
"obj-103"
]
}
<?xml version="1.0" ?>
<ns0:ObjectToTags xmlns:ns0="http://vmware.com/cis/tagging/tag_association" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tag_ids-array>
<array-item>obj-103</array-item>
<array-item>obj-103</array-item>
</tag_ids-array>
<object_id>
<id>obj-103</id>
<type>string</type>
</object_id>
</ns0:ObjectToTags>
<ns0:ObjectToTags xmlns:ns0="http://vmware.com/cis/tagging/tag_association" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tag_ids-array>
<array-item>obj-103</array-item>
<array-item>obj-103</array-item>
</tag_ids-array>
<object_id>
<id>obj-103</id>
<type>string</type>
</object_id>
</ns0:ObjectToTags>
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
object_id | dynamic_ID | The identifier of the object. |
tag_ids | string[] | The identifiers of the related tags. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.cis.tagging.Tag . When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.cis.tagging.Tag . |