Files
doc-exports/docs/er/api-ref/er_02_0033.html
fanqinying 2eea95ac58 ER API 20250126 version
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: fanqinying <fanqinying@huawei.com>
Co-committed-by: fanqinying <fanqinying@huawei.com>
2025-06-24 08:13:54 +00:00

82 lines
5.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="er_02_0033"></a><a name="er_02_0033"></a>
<h1 class="topictitle1">Tags</h1>
<div id="body0000001647334752">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="er_02_0033__table18647195320239" frame="border" border="1" rules="all"><thead align="left"><tr id="er_02_0033__row156471553142310"><th align="left" class="cellrowborder" valign="top" width="15.840000000000002%" id="mcps1.3.1.1.6.1.1"><p id="er_02_0033__p1264710537238">Permission</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.71%" id="mcps1.3.1.1.6.1.2"><p id="er_02_0033__p1564745313232">API</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.650000000000002%" id="mcps1.3.1.1.6.1.3"><p id="er_02_0033__p4647165392316">Action</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.659999999999998%" id="mcps1.3.1.1.6.1.4"><p id="er_02_0033__p1164745352311">IAM Project</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.14%" id="mcps1.3.1.1.6.1.5"><p id="er_02_0033__p14648353152311">Enterprise Project</p>
</th>
</tr>
</thead>
<tbody><tr id="er_02_0033__row18648135319237"><td class="cellrowborder" valign="top" width="15.840000000000002%" headers="mcps1.3.1.1.6.1.1 "><p id="er_02_0033__p11604062414">Querying tags by resource type</p>
</td>
<td class="cellrowborder" valign="top" width="33.71%" headers="mcps1.3.1.1.6.1.2 "><p id="er_02_0033__p1895126155811">GET /v3/{project_id}/{resource_type}/tags</p>
</td>
<td class="cellrowborder" valign="top" width="22.650000000000002%" headers="mcps1.3.1.1.6.1.3 "><p id="er_02_0033__p148941968582">er:tags:list</p>
</td>
<td class="cellrowborder" valign="top" width="12.659999999999998%" headers="mcps1.3.1.1.6.1.4 "><p id="er_02_0033__p9475131354516"></p>
</td>
<td class="cellrowborder" valign="top" width="15.14%" headers="mcps1.3.1.1.6.1.5 "><p id="er_02_0033__p2475151320451">×</p>
</td>
</tr>
<tr id="er_02_0033__row15648105322310"><td class="cellrowborder" valign="top" width="15.840000000000002%" headers="mcps1.3.1.1.6.1.1 "><p id="er_02_0033__p665918495817">Querying resource tags</p>
</td>
<td class="cellrowborder" valign="top" width="33.71%" headers="mcps1.3.1.1.6.1.2 "><p id="er_02_0033__p565916405817">GET /v3/{project_id}/{resource_type}/{resource_id}/tags</p>
</td>
<td class="cellrowborder" valign="top" width="22.650000000000002%" headers="mcps1.3.1.1.6.1.3 "><p id="er_02_0033__p0659174115812">er:tags:get</p>
</td>
<td class="cellrowborder" valign="top" width="12.659999999999998%" headers="mcps1.3.1.1.6.1.4 "><p id="er_02_0033__p1284812121941"></p>
</td>
<td class="cellrowborder" valign="top" width="15.14%" headers="mcps1.3.1.1.6.1.5 "><p id="er_02_0033__p138485121419"></p>
</td>
</tr>
<tr id="er_02_0033__row1064895342315"><td class="cellrowborder" valign="top" width="15.840000000000002%" headers="mcps1.3.1.1.6.1.1 "><p id="er_02_0033__p86582455812">Creating a resource tag</p>
</td>
<td class="cellrowborder" valign="top" width="33.71%" headers="mcps1.3.1.1.6.1.2 "><p id="er_02_0033__p86585465819">POST /v3/{project_id}/{resource_type}/{resource_id}/tags</p>
</td>
<td class="cellrowborder" valign="top" width="22.650000000000002%" headers="mcps1.3.1.1.6.1.3 "><p id="er_02_0033__p4658194105811">er:tags:create</p>
</td>
<td class="cellrowborder" valign="top" width="12.659999999999998%" headers="mcps1.3.1.1.6.1.4 "><p id="er_02_0033__p144050132412"></p>
</td>
<td class="cellrowborder" valign="top" width="15.14%" headers="mcps1.3.1.1.6.1.5 "><p id="er_02_0033__p1640531315412"></p>
</td>
</tr>
<tr id="er_02_0033__row4648125352318"><td class="cellrowborder" valign="top" width="15.840000000000002%" headers="mcps1.3.1.1.6.1.1 "><p id="er_02_0033__p1565754165811">Adding or deleting resource tags in batches</p>
</td>
<td class="cellrowborder" valign="top" width="33.71%" headers="mcps1.3.1.1.6.1.2 "><p id="er_02_0033__p265684135819">POST /v3/{project_id}/{resource_type}/{resource_id}/tags/action</p>
</td>
<td class="cellrowborder" valign="top" width="22.650000000000002%" headers="mcps1.3.1.1.6.1.3 "><p id="er_02_0033__p1365624165817">er:tags:create</p>
</td>
<td class="cellrowborder" valign="top" width="12.659999999999998%" headers="mcps1.3.1.1.6.1.4 "><p id="er_02_0033__p1392581311412"></p>
</td>
<td class="cellrowborder" valign="top" width="15.14%" headers="mcps1.3.1.1.6.1.5 "><p id="er_02_0033__p1792517139411"></p>
</td>
</tr>
<tr id="er_02_0033__row47721224595"><td class="cellrowborder" valign="top" width="15.840000000000002%" headers="mcps1.3.1.1.6.1.1 "><p id="er_02_0033__p167721728597">Deleting a resource tag</p>
</td>
<td class="cellrowborder" valign="top" width="33.71%" headers="mcps1.3.1.1.6.1.2 "><p id="er_02_0033__p4773122125920">POST /v3/{project_id}/{resource_type}/{resource_id}/tags/{key}</p>
</td>
<td class="cellrowborder" valign="top" width="22.650000000000002%" headers="mcps1.3.1.1.6.1.3 "><p id="er_02_0033__p27731255919">er:tags:delete</p>
</td>
<td class="cellrowborder" valign="top" width="12.659999999999998%" headers="mcps1.3.1.1.6.1.4 "><p id="er_02_0033__p634741414410"></p>
</td>
<td class="cellrowborder" valign="top" width="15.14%" headers="mcps1.3.1.1.6.1.5 "><p id="er_02_0033__p193476141747"></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="er_02_0015.html">Permissions Policies and Supported Actions</a></div>
</div>
</div>