forked from docs/doc-exports
Reviewed-by: Muller, Martin <martin.muller@t-systems.com> Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
131 lines
9.4 KiB
HTML
131 lines
9.4 KiB
HTML
<a name="evs_04_2029"></a><a name="evs_04_2029"></a>
|
|
|
|
<h1 class="topictitle1">Batch Deleting Tags of a Specified EVS Disk</h1>
|
|
<div id="body1521547856936"><div class="section" id="evs_04_2029__section5299350116935"><h4 class="sectiontitle">Function</h4><p id="evs_04_2029__p42748596184850">This API is used to batch delete tags of a specified EVS disk. </p>
|
|
</div>
|
|
<div class="section" id="evs_04_2029__section4466609116935"><h4 class="sectiontitle">Constraints</h4><p id="evs_04_2029__p6118358516935">None</p>
|
|
</div>
|
|
<div class="section" id="evs_04_2029__section1378135716935"><h4 class="sectiontitle">URI</h4><ul id="evs_04_2029__ul4254812316935"><li id="evs_04_2029__li4738879116935">URI format<p id="evs_04_2029__p7339249185049"><a name="evs_04_2029__li4738879116935"></a><a name="li4738879116935"></a>POST /v2/{project_id}/os-vendor-volumes/{volume_id}/tags/action</p>
|
|
</li><li id="evs_04_2029__li1328688716935">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2029__table28484833104128" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2029__row60547305104128"><th align="left" class="cellrowborder" valign="top" width="28.57%" id="mcps1.3.3.2.2.1.1.4.1.1"><p id="evs_04_2029__p5384679104128">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.340000000000003%" id="mcps1.3.3.2.2.1.1.4.1.2"><p id="evs_04_2029__p33505894104128">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="45.09%" id="mcps1.3.3.2.2.1.1.4.1.3"><p id="evs_04_2029__p29622926104128">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2029__row50646790104128"><td class="cellrowborder" valign="top" width="28.57%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2029__p16385142185226">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.340000000000003%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2029__p52128135185226">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.09%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2029__p50566709185232">The project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2029__row40869685152038"><td class="cellrowborder" valign="top" width="28.57%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2029__p66238361185240">volume_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.340000000000003%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2029__p63707038185240">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.09%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2029__p42707547152038">The disk ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2029__section5573802716935"><h4 class="sectiontitle">Request</h4><ul id="evs_04_2029__ul3084156718537"><li id="evs_04_2029__li28433766">Request parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2029__evs_04_2027_table54577306" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2029__evs_04_2027_row28922261"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.4.2.1.1.1.5.1.1"><p id="evs_04_2029__evs_04_2027_p61001774">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.4.2.1.1.1.5.1.2"><p id="evs_04_2029__evs_04_2027_p42196623">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="evs_04_2029__evs_04_2027_p62483297">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="47%" id="mcps1.3.4.2.1.1.1.5.1.4"><p id="evs_04_2029__evs_04_2027_p27982283">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2029__evs_04_2027_row50513961"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="evs_04_2029__evs_04_2027_p52260429185445">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="evs_04_2029__evs_04_2027_p5236376185445">List<resource_tag></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="evs_04_2029__evs_04_2027_p21493324185445">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="evs_04_2029__evs_04_2027_p63237647185445">The tag list. For details, see <a href="#evs_04_2029__li2051510427374">Parameters in the resource_tag field</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2029__evs_04_2027_row5477191"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="evs_04_2029__evs_04_2027_p63564655185445">action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="evs_04_2029__evs_04_2027_p48463411185445">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="evs_04_2029__evs_04_2027_p33222212185445">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="evs_04_2029__evs_04_2027_p8076185185456">The operation to perform. The value can be <strong id="evs_04_2029__b842352706194823">create</strong> or <strong id="evs_04_2029__b842352706194828">delete</strong>.</p>
|
|
<p id="evs_04_2029__p199258121833"><strong id="evs_04_2029__b842352706194852">delete</strong>: deletes tags.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2029__li2051510427374"><a name="evs_04_2029__li2051510427374"></a><a name="li2051510427374"></a>Parameters in the <strong id="evs_04_2029__b842352706181836">resource_tag</strong> field
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2029__table251711423376" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2029__row16518134283716"><th align="left" class="cellrowborder" valign="top" width="15.409999999999998%" id="mcps1.3.4.2.2.2.1.5.1.1"><p id="evs_04_2029__p75181742143717">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.099999999999998%" id="mcps1.3.4.2.2.2.1.5.1.2"><p id="evs_04_2029__p2051804253715">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.16%" id="mcps1.3.4.2.2.2.1.5.1.3"><p id="evs_04_2029__p1951816424370">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="54.33%" id="mcps1.3.4.2.2.2.1.5.1.4"><p id="evs_04_2029__p15181442193715">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2029__row10520194220379"><td class="cellrowborder" valign="top" width="15.409999999999998%" headers="mcps1.3.4.2.2.2.1.5.1.1 "><p id="evs_04_2029__p652074219372">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.099999999999998%" headers="mcps1.3.4.2.2.2.1.5.1.2 "><p id="evs_04_2029__p452094213376">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.16%" headers="mcps1.3.4.2.2.2.1.5.1.3 "><p id="evs_04_2029__p13520174213710">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.33%" headers="mcps1.3.4.2.2.2.1.5.1.4 "><p id="evs_04_2029__p0755543174416">The tag key.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2029__row105231642193712"><td class="cellrowborder" valign="top" width="15.409999999999998%" headers="mcps1.3.4.2.2.2.1.5.1.1 "><p id="evs_04_2029__p152364220378">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.099999999999998%" headers="mcps1.3.4.2.2.2.1.5.1.2 "><p id="evs_04_2029__p1352344216374">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.16%" headers="mcps1.3.4.2.2.2.1.5.1.3 "><p id="evs_04_2029__p11523842133712">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.33%" headers="mcps1.3.4.2.2.2.1.5.1.4 "><p id="evs_04_2029__p14523242153711">The tag value.</p>
|
|
<ul id="evs_04_2029__ul125242424378"><li id="evs_04_2029__li652415421378">It can contain up to 43 Unicode characters.</li><li id="evs_04_2029__li1052474243711">It can be an empty string. The spaces before and after the character string are discarded.</li><li id="evs_04_2029__li1852412423374">It cannot contain the following characters:<ul id="evs_04_2029__ul852464263711"><li id="evs_04_2029__li55241942183716">Non-printable ASCII characters (0-31)</li><li id="evs_04_2029__li85245427376">Special characters, including asterisks (*), left angle brackets (<), right angle brackets (>), backslashes (\), equal signs (=), commas (,), vertical bars (|), and slashes (/)</li></ul>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2029__li9576290185747">Example request<pre class="screen" id="evs_04_2029__screen41597520185927">{
|
|
"action": "delete",
|
|
"tags": [
|
|
{
|
|
"key": "key1"
|
|
},
|
|
{
|
|
"key": "key2"
|
|
}
|
|
]
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2029__section3215934016935"><h4 class="sectiontitle">Response</h4><p id="evs_04_2029__p6442366919015">None</p>
|
|
</div>
|
|
<div class="section" id="evs_04_2029__section6050296116935"><h4 class="sectiontitle">Status Codes</h4><ul id="evs_04_2029__ul179279516935"><li id="evs_04_2029__li1613516116935">Normal<p id="evs_04_2029__p1099872616935"><a name="evs_04_2029__li1613516116935"></a><a name="li1613516116935"></a>204</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2029__section431317151242"><h4 class="sectiontitle">Error Codes</h4><p id="evs_04_2029__evs_04_2013_p783819215242">For details, see <a href="evs_04_0038.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="evs_04_2024.html">Tag Management</a></div>
|
|
</div>
|
|
</div>
|
|
|