forked from docs/doc-exports
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
94 lines
7.5 KiB
HTML
94 lines
7.5 KiB
HTML
<a name="dns_api_70005"></a><a name="dns_api_70005"></a>
|
|
|
|
<h1 class="topictitle1">Tag Management</h1>
|
|
<div id="body8662426">
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dns_api_70005__en-us_topic_0254295005_table930910161495" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Actions for tag management</caption><thead align="left"><tr id="dns_api_70005__en-us_topic_0254295005_row1015517691"><th align="left" class="cellrowborder" valign="top" width="19.047619047619047%" id="mcps1.3.1.2.6.1.1"><p id="dns_api_70005__en-us_topic_0254295005_p0163172093">Permission</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.999999999999996%" id="mcps1.3.1.2.6.1.2"><p id="dns_api_70005__en-us_topic_0254295005_p18295111810169">API</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.857142857142854%" id="mcps1.3.1.2.6.1.3"><p id="dns_api_70005__en-us_topic_0254295005_p15509182516274">Action</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.238095238095237%" id="mcps1.3.1.2.6.1.4"><p id="dns_api_70005__en-us_topic_0254295005_p94009499502">Dependent Permission</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.857142857142854%" id="mcps1.3.1.2.6.1.5"><p id="dns_api_70005__en-us_topic_0254295005_p1838971541713">IAM Project</p>
|
|
<p id="dns_api_70005__en-us_topic_0254295005_p93891815181714">(Project)</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dns_api_70005__en-us_topic_0254295005_row10301317997"><td class="cellrowborder" valign="top" width="19.047619047619047%" headers="mcps1.3.1.2.6.1.1 "><p id="dns_api_70005__en-us_topic_0254295005_p193014171397">Add a resource tag.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.999999999999996%" headers="mcps1.3.1.2.6.1.2 "><p id="dns_api_70005__en-us_topic_0254295005_p4299131871615">POST /v2/{project_id}/{resource_type}/{resource_id}/tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.857142857142854%" headers="mcps1.3.1.2.6.1.3 "><p id="dns_api_70005__en-us_topic_0254295005_p55122025112715">dns:tag:set</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.238095238095237%" headers="mcps1.3.1.2.6.1.4 "><p id="dns_api_70005__en-us_topic_0254295005_p859344013514">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.857142857142854%" headers="mcps1.3.1.2.6.1.5 "><p id="dns_api_70005__en-us_topic_0254295005_p17588650165114">√</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_70005__en-us_topic_0254295005_row831517395"><td class="cellrowborder" valign="top" width="19.047619047619047%" headers="mcps1.3.1.2.6.1.1 "><p id="dns_api_70005__en-us_topic_0254295005_p11316173913">Add or delete resource tags in batches.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.999999999999996%" headers="mcps1.3.1.2.6.1.2 "><p id="dns_api_70005__en-us_topic_0254295005_p1029951818161">POST /v2/{project_id}/{resource_type}/{resource_id}/tags/action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.857142857142854%" headers="mcps1.3.1.2.6.1.3 "><p id="dns_api_70005__en-us_topic_0254295005_p19938959255">dns:tag:set</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.238095238095237%" headers="mcps1.3.1.2.6.1.4 "><p id="dns_api_70005__en-us_topic_0254295005_p3938135919510">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.857142857142854%" headers="mcps1.3.1.2.6.1.5 "><p id="dns_api_70005__en-us_topic_0254295005_p1493810591453">√</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_70005__en-us_topic_0254295005_row11311417194"><td class="cellrowborder" valign="top" width="19.047619047619047%" headers="mcps1.3.1.2.6.1.1 "><p id="dns_api_70005__en-us_topic_0254295005_p53111720913">Delete a resource tag.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.999999999999996%" headers="mcps1.3.1.2.6.1.2 "><p id="dns_api_70005__en-us_topic_0254295005_p12299201861615">DELETE /v2/{project_id}/{resource_type}/{resource_id}/tags/{key}</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.857142857142854%" headers="mcps1.3.1.2.6.1.3 "><p id="dns_api_70005__en-us_topic_0254295005_p2049660363">dns:tag:set</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.238095238095237%" headers="mcps1.3.1.2.6.1.4 "><p id="dns_api_70005__en-us_topic_0254295005_p154961409619">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.857142857142854%" headers="mcps1.3.1.2.6.1.5 "><p id="dns_api_70005__en-us_topic_0254295005_p17496701469">√</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_70005__en-us_topic_0254295005_row2313177914"><td class="cellrowborder" valign="top" width="19.047619047619047%" headers="mcps1.3.1.2.6.1.1 "><p id="dns_api_70005__en-us_topic_0254295005_p18311317497">Query tags of a resource.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.999999999999996%" headers="mcps1.3.1.2.6.1.2 "><p id="dns_api_70005__en-us_topic_0254295005_p1299101818163">GET /v2/{project_id}/{resource_type}/{resource_id}/tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.857142857142854%" headers="mcps1.3.1.2.6.1.3 "><p id="dns_api_70005__en-us_topic_0254295005_p851262522715">dns:tag:get</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.238095238095237%" headers="mcps1.3.1.2.6.1.4 "><p id="dns_api_70005__en-us_topic_0254295005_p13584123615116">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.857142857142854%" headers="mcps1.3.1.2.6.1.5 "><p id="dns_api_70005__en-us_topic_0254295005_p174151953175116">√</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_70005__en-us_topic_0254295005_row173219171992"><td class="cellrowborder" valign="top" width="19.047619047619047%" headers="mcps1.3.1.2.6.1.1 "><p id="dns_api_70005__en-us_topic_0254295005_p123221712917">Query project tags.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.999999999999996%" headers="mcps1.3.1.2.6.1.2 "><p id="dns_api_70005__en-us_topic_0254295005_p5299718171612">GET /v2/{project_id}/{resource_type}/tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.857142857142854%" headers="mcps1.3.1.2.6.1.3 "><p id="dns_api_70005__en-us_topic_0254295005_p8521177468">dns:tag:get</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.238095238095237%" headers="mcps1.3.1.2.6.1.4 "><p id="dns_api_70005__en-us_topic_0254295005_p1593814315614">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.857142857142854%" headers="mcps1.3.1.2.6.1.5 "><p id="dns_api_70005__en-us_topic_0254295005_p193819437569">√</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dns_api_70005__en-us_topic_0254295005_row17323171397"><td class="cellrowborder" valign="top" width="19.047619047619047%" headers="mcps1.3.1.2.6.1.1 "><p id="dns_api_70005__en-us_topic_0254295005_p173210171594">Query resources by tag.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.999999999999996%" headers="mcps1.3.1.2.6.1.2 "><p id="dns_api_70005__en-us_topic_0254295005_p19299618171612">POST /v2/{project_id}/{resource_type}/resource_instances/action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.857142857142854%" headers="mcps1.3.1.2.6.1.3 "><p id="dns_api_70005__en-us_topic_0254295005_p759389616">dns:tag:get</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.238095238095237%" headers="mcps1.3.1.2.6.1.4 "><p id="dns_api_70005__en-us_topic_0254295005_p1124134413566">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.857142857142854%" headers="mcps1.3.1.2.6.1.5 "><p id="dns_api_70005__en-us_topic_0254295005_p1324154410566">√</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dns_api_70000.html">Permissions Policies and Supported Actions</a></div>
|
|
</div>
|
|
</div>
|
|
|