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.5.

Representation:

{
    "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.

object_ids[].type string The type of resource being identified (for example com.acme.Person).

Services that contain operations for creating and deleting resources typically contain a constant specifying the resource type for the resources being created and deleted. The API metamodel metadata services include a service that allows retrieving all the known resource types.

object_ids[].id string The identifier for a resource whose type is specified by vapi.std.dynamic_ID.type.

When clients pass a value of this structure as a parameter, the field type must contain the actual resource type. When operations return a value of this structure as a result, the field type will contain the actual resource type.