doc-exports/docs/smn/api-ref/en-us_topic_0173593946.html
Zaoxu, Li 152a7d9381 SMN API DOC
Reviewed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com>
Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com>
Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
2024-06-20 15:01:38 +00:00

71 lines
4.6 KiB
HTML

<a name="EN-US_TOPIC_0173593946"></a><a name="EN-US_TOPIC_0173593946"></a>
<h1 class="topictitle1">Tag Operations</h1>
<div id="body1559720516891">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0173593946__table94355111229" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0173593946__row84351111219"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.1.1.6.1.1"><p id="EN-US_TOPIC_0173593946__p129431911184814">Permission</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.1.1.6.1.2"><p id="EN-US_TOPIC_0173593946__p13672191463819">API</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.1.1.6.1.3"><p id="EN-US_TOPIC_0173593946__p7202482155253">Action</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.1.1.6.1.4"><p id="EN-US_TOPIC_0173593946__p39201783549">IAM Project</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.1.1.6.1.5"><p id="EN-US_TOPIC_0173593946__p726171334917">Enterprise Project</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0173593946__row3436181113214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0173593946__p135143415919">Adding a resource tag</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0173593946__p1871454393">POST /v2/{project_id}/{resource_type}/{resource_id}/tags</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.3 "><p id="EN-US_TOPIC_0173593946__p124011901360">smn:tag:create</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0173593946__p1925614118523"></p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0173593946__p625661175215"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0173593946__row1360025125716"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0173593946__p15514855719">Updating a tag</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0173593946__p12511688573">-</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.3 "><p id="EN-US_TOPIC_0173593946__p25110805715">smn:tag:update</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0173593946__p2511082577"></p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0173593946__p05112865714"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0173593946__row12436111120214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0173593946__p46694015103">Deleting a resource tag</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0173593946__p972551518103">DELETE /v2/{project_id}/{resource_type}/{resource_id}/tags/{key}</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.3 "><p id="EN-US_TOPIC_0173593946__p1518271131514">smn:tag:delete</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0173593946__p23189655218"></p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0173593946__p203183695216"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0173593946__row143610110214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0173593946__p85841321171010">Querying resource tags</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0173593946__p28641940111018">GET /v2/{project_id}/{resource_type}/{resource_id}/tags</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.3 "><p id="EN-US_TOPIC_0173593946__p161843116168">smn:tag:list</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0173593946__p218933795217"></p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0173593946__p91891337105217"></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0173558607.html">Permissions Policies and Supported Actions</a></div>
</div>
</div>