com.vmware.cis.tagging.tag

The tag service provides operations to create, read, update, delete, and enumerate tags.

list_used_tags

POST /com/vmware/cis/tagging/tag?~action=list-used-tags

Enumerates all tags for which the used_by_entity is part of the com.vmware.cis.tagging.tag_model.used_by subscribers set. To invoke this operation, you need the read privilege on the individual tags.
Request:
Representations:
{
    "used_by_entity""string"
}
<?xml version="1.0" ?>
<ns0:ListUsedTags-Input xmlns:ns0="http://vmware.com/cis/tagging/tag" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <used_by_entity>string</used_by_entity>
</ns0:ListUsedTags-Input>
POST /com/vmware/cis/tagging/tag?~action=list-used-tags
&used_by_entity=string

Parameters:
Name Type Required Description
used_by_entity
 *
string Yes The field on which the results will be filtered.

Response:
Representations:
{
    "value"[
        "obj-103",
        "obj-103"
    ]
}
<?xml version="1.0" ?>
<ns0:ListUsedTags-Result xmlns:ns0="http://vmware.com/cis/tagging/tag" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <value-array>
    <array-item>obj-103</array-item>
    <array-item>obj-103</array-item>
  </value-array>
</ns0:ListUsedTags-Result>

Parameters:
Name Type Required Description
result List<ID> Yes The array of resource identifiers for the tags in the system that are used by used_by_entity. Id of type com.vmware.cis.tagging.Tag.

Errors:
None

Copyright © 2014. All Rights Reserved.