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. This structure was added in vSphere API 6.5.

Representation:

{
    "tag_ids"[
        "obj-103",
        "obj-103"
    ],
    "object_id"{
        "id""obj-103",
        "type""string"
    }
}

Attributes:

Name Type Description
Required
object_id dynamic_ID The identifier of the object. This attribute was added in vSphere API 6.5.

object_id.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_id.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.

tag_ids string[] The identifiers of the related tags. This attribute was added in vSphere API 6.5.

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.