doc-exports/docs/ims/api-ref/en-us_topic_0125866391.html
Zaoxu, Li fdf6843d7a ims_api1226
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com>
Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com>
Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
2024-01-11 14:47:14 +00:00

137 lines
11 KiB
HTML

<a name="EN-US_TOPIC_0125866391"></a><a name="EN-US_TOPIC_0125866391"></a>
<h1 class="topictitle1">Image Tagging</h1>
<div id="body1534124160086">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0125866391__table5223112534119" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0125866391__row1223122544113"><th align="left" class="cellrowborder" valign="top" width="15.141514151415144%" id="mcps1.3.1.1.6.1.1"><p id="EN-US_TOPIC_0125866391__p0672171419381">Permission</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="28.592859285928597%" id="mcps1.3.1.1.6.1.2"><p id="EN-US_TOPIC_0125866391__p13672191463819">API</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="24.322432243224327%" id="mcps1.3.1.1.6.1.3"><p id="EN-US_TOPIC_0125866391__p367220148383">Action</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.291629162916294%" id="mcps1.3.1.1.6.1.4"><p id="EN-US_TOPIC_0125866391__en-us_topic_0131701325_p106791650133218">IAM Project</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.651565156515653%" id="mcps1.3.1.1.6.1.5"><p id="EN-US_TOPIC_0125866391__p3351112364715">Enterprise Project</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0125866391__row1222332594115"><td class="cellrowborder" valign="top" width="15.141514151415144%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0125866391__p9566153304119">Adding a Tag (Native OpenStack API)</p>
</td>
<td class="cellrowborder" valign="top" width="28.592859285928597%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0125866391__p165661233124120">PUT /v2/images/{image_id}/tags/{tag}</p>
</td>
<td class="cellrowborder" valign="top" width="24.322432243224327%" headers="mcps1.3.1.1.6.1.3 "><ul id="EN-US_TOPIC_0125866391__ul13346143019015"><li id="EN-US_TOPIC_0125866391__li113461330208">ims:images:get</li><li id="EN-US_TOPIC_0125866391__li203461630407">ims:images:update</li></ul>
</td>
<td class="cellrowborder" valign="top" width="16.291629162916294%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0125866391__p11809141617258"></p>
</td>
<td class="cellrowborder" valign="top" width="15.651565156515653%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0125866391__p18668121191417">x</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0125866391__row22231125144111"><td class="cellrowborder" valign="top" width="15.141514151415144%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0125866391__p18566633154116">Deleting a Tag (Native OpenStack API)</p>
</td>
<td class="cellrowborder" valign="top" width="28.592859285928597%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0125866391__p1256633314113">DELETE /v2/images/{image_id}/tags/{tag}</p>
</td>
<td class="cellrowborder" valign="top" width="24.322432243224327%" headers="mcps1.3.1.1.6.1.3 "><ul id="EN-US_TOPIC_0125866391__ul43464304019"><li id="EN-US_TOPIC_0125866391__li1434613302011">ims:images:get</li><li id="EN-US_TOPIC_0125866391__li12346163016019">ims:images:update</li></ul>
</td>
<td class="cellrowborder" valign="top" width="16.291629162916294%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0125866391__p1975572316252"></p>
</td>
<td class="cellrowborder" valign="top" width="15.651565156515653%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0125866391__p1966761161412">x</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0125866391__row022382519417"><td class="cellrowborder" valign="top" width="15.141514151415144%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0125866391__p256653318413">Adding or Modifying a Tag</p>
</td>
<td class="cellrowborder" valign="top" width="28.592859285928597%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0125866391__p25669338416">PUT /v1/cloudimages/tags</p>
</td>
<td class="cellrowborder" valign="top" width="24.322432243224327%" headers="mcps1.3.1.1.6.1.3 "><ul id="EN-US_TOPIC_0125866391__ul834614301200"><li id="EN-US_TOPIC_0125866391__li534643010014">ims:images:get</li><li id="EN-US_TOPIC_0125866391__li93469304016">ims:images:update</li></ul>
</td>
<td class="cellrowborder" valign="top" width="16.291629162916294%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0125866391__p1785192516253"></p>
</td>
<td class="cellrowborder" valign="top" width="15.651565156515653%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0125866391__p1666761114141">x</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0125866391__row1223925144119"><td class="cellrowborder" valign="top" width="15.141514151415144%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0125866391__p15666331418">Querying Tags</p>
</td>
<td class="cellrowborder" valign="top" width="28.592859285928597%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0125866391__p16566433194115">GET /v1/cloudimages/tags</p>
</td>
<td class="cellrowborder" valign="top" width="24.322432243224327%" headers="mcps1.3.1.1.6.1.3 "><p id="EN-US_TOPIC_0125866391__p412919443140">ims:images:list</p>
</td>
<td class="cellrowborder" valign="top" width="16.291629162916294%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0125866391__p10932184711255"></p>
</td>
<td class="cellrowborder" valign="top" width="15.651565156515653%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0125866391__p1066661113144">x</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0125866391__row16501161263217"><td class="cellrowborder" valign="top" width="15.141514151415144%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0125866391__p435616135333">Querying Images by Tag</p>
</td>
<td class="cellrowborder" valign="top" width="28.592859285928597%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0125866391__p7356181343311">POST /v2/{project_id}/images/resource_instances/action</p>
</td>
<td class="cellrowborder" valign="top" width="24.322432243224327%" headers="mcps1.3.1.1.6.1.3 "><p id="EN-US_TOPIC_0125866391__p13279154519144">ims:images:list</p>
</td>
<td class="cellrowborder" valign="top" width="16.291629162916294%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0125866391__p1532095015257"></p>
</td>
<td class="cellrowborder" valign="top" width="15.651565156515653%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0125866391__p126663113141">x</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0125866391__row55021312133211"><td class="cellrowborder" valign="top" width="15.141514151415144%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0125866391__p1010884819330">Adding or Deleting Image Tags in a Batch</p>
</td>
<td class="cellrowborder" valign="top" width="28.592859285928597%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0125866391__p1510811481332">POST /v2/{project_id}/images/{image_id}/tags/action</p>
</td>
<td class="cellrowborder" valign="top" width="24.322432243224327%" headers="mcps1.3.1.1.6.1.3 "><p id="EN-US_TOPIC_0125866391__p1852718467146">ims:images:update</p>
</td>
<td class="cellrowborder" valign="top" width="16.291629162916294%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0125866391__p4384155219253"></p>
</td>
<td class="cellrowborder" valign="top" width="15.651565156515653%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0125866391__p1166591151417">x</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0125866391__row10502812193220"><td class="cellrowborder" valign="top" width="15.141514151415144%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0125866391__p1522012161362">Adding an Image Tag</p>
</td>
<td class="cellrowborder" valign="top" width="28.592859285928597%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0125866391__p12220151613616">POST /v2/{project_id}/images/{image_id}/tags</p>
</td>
<td class="cellrowborder" valign="top" width="24.322432243224327%" headers="mcps1.3.1.1.6.1.3 "><p id="EN-US_TOPIC_0125866391__p2817489148">ims:images:update</p>
</td>
<td class="cellrowborder" valign="top" width="16.291629162916294%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0125866391__p20566154162519"></p>
</td>
<td class="cellrowborder" valign="top" width="15.651565156515653%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0125866391__p1366514114143">x</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0125866391__row1821901983219"><td class="cellrowborder" valign="top" width="15.141514151415144%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0125866391__p736924863618">Deleting an Image Tag</p>
</td>
<td class="cellrowborder" valign="top" width="28.592859285928597%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0125866391__p2369104820369">DELETE /v2/{project_id}/images/{image_id}/tags/{key}</p>
</td>
<td class="cellrowborder" valign="top" width="24.322432243224327%" headers="mcps1.3.1.1.6.1.3 "><p id="EN-US_TOPIC_0125866391__p622124921413">ims:images:update</p>
</td>
<td class="cellrowborder" valign="top" width="16.291629162916294%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0125866391__p135236563254"></p>
</td>
<td class="cellrowborder" valign="top" width="15.651565156515653%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0125866391__p1664611131412">x</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0125866391__row6219619153210"><td class="cellrowborder" valign="top" width="15.141514151415144%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0125866391__p105718713720">Querying Tags of an Image</p>
</td>
<td class="cellrowborder" valign="top" width="28.592859285928597%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0125866391__p18571378377">GET /v2/{project_id}/images/{image_id}/tags</p>
</td>
<td class="cellrowborder" valign="top" width="24.322432243224327%" headers="mcps1.3.1.1.6.1.3 "><p id="EN-US_TOPIC_0125866391__p627017509145">ims:images:list</p>
</td>
<td class="cellrowborder" valign="top" width="16.291629162916294%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0125866391__p236005812257"></p>
</td>
<td class="cellrowborder" valign="top" width="15.651565156515653%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0125866391__p10664121116148">x</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0125866391__row6201202114376"><td class="cellrowborder" valign="top" width="15.141514151415144%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0125866391__p21051334193719">Querying All Image Tags</p>
</td>
<td class="cellrowborder" valign="top" width="28.592859285928597%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0125866391__p110563410372">GET /v2/{project_id}/images/tags</p>
</td>
<td class="cellrowborder" valign="top" width="24.322432243224327%" headers="mcps1.3.1.1.6.1.3 "><p id="EN-US_TOPIC_0125866391__p1913815512141">ims:images:list</p>
</td>
<td class="cellrowborder" valign="top" width="16.291629162916294%" headers="mcps1.3.1.1.6.1.4 "><p id="EN-US_TOPIC_0125866391__p829813013262"></p>
</td>
<td class="cellrowborder" valign="top" width="15.651565156515653%" headers="mcps1.3.1.1.6.1.5 "><p id="EN-US_TOPIC_0125866391__p3662111121417">x</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0125866389.html">Permission Policies and Supported Actions</a></div>
</div>
</div>