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. This structure was added in vSphere API 6.5Representation:
{
"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"
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
tag_id | string | The identifier of the tag. This attribute was added in vSphere API 6.5 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. This attribute was added in vSphere API 6.5 |