forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
110 lines
7.5 KiB
HTML
110 lines
7.5 KiB
HTML
<a name="evs_04_3015"></a><a name="evs_04_3015"></a>
|
|
|
|
<h1 class="topictitle1">Querying Tags of an EVS Disk</h1>
|
|
<div id="body1522058633194"><div class="section" id="evs_04_3015__section5299350116935"><h4 class="sectiontitle">Function</h4><p id="evs_04_3015__evs_04_2031_p569978519036">This API is used to query the tags of the specified EVS disk. </p>
|
|
</div>
|
|
<div class="section" id="evs_04_3015__section4466609116935"><h4 class="sectiontitle">Constraints</h4><p id="evs_04_3015__p6118358516935">None</p>
|
|
</div>
|
|
<div class="section" id="evs_04_3015__section1378135716935"><h4 class="sectiontitle">URI</h4><ul id="evs_04_3015__ul4254812316935"><li id="evs_04_3015__li4738879116935">URI format<p id="evs_04_3015__p4461797419121"><a name="evs_04_3015__li4738879116935"></a><a name="li4738879116935"></a>GET /v3/{project_id}/os-vendor-volumes/{volume_id}/tags</p>
|
|
</li><li id="evs_04_3015__li1328688716935">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_3015__table28484833104128" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_3015__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_3015__p5384679104128">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.529999999999998%" id="mcps1.3.3.2.2.1.1.4.1.2"><p id="evs_04_3015__p33505894104128">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.9%" id="mcps1.3.3.2.2.1.1.4.1.3"><p id="evs_04_3015__p29622926104128">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_3015__row50646790104128"><td class="cellrowborder" valign="top" width="28.57%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_3015__p39499107192824">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.529999999999998%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_3015__p45311124192824">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_3015__p46322466192824">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_3015__row40869685152038"><td class="cellrowborder" valign="top" width="28.57%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_3015__p13319579192824">volume_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.529999999999998%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_3015__p5144078192824">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.9%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_3015__p14017211192824">Specifies the disk ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_3015__section565234819217"><h4 class="sectiontitle">Request</h4><p id="evs_04_3015__evs_04_2031_p2548924919221">None</p>
|
|
</div>
|
|
<div class="section" id="evs_04_3015__section3215934016935"><h4 class="sectiontitle">Response</h4><ul id="evs_04_3015__evs_04_2031_ul5476973316935"><li id="evs_04_3015__evs_04_2031_li2316555316935">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_3015__evs_04_2031_table716338716935" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_3015__evs_04_2031_row2937460716935"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.2.1.1.1.4.1.1"><p id="evs_04_3015__evs_04_2031_p3053299616935">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="23.53%" id="mcps1.3.5.2.1.1.1.4.1.2"><p id="evs_04_3015__evs_04_2031_p5725363416935">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.47%" id="mcps1.3.5.2.1.1.1.4.1.3"><p id="evs_04_3015__evs_04_2031_p3278200616935">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_3015__evs_04_2031_row63271571172633"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="evs_04_3015__evs_04_2031_p4610476519311">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.53%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="evs_04_3015__evs_04_2031_p4349852319311">List<resource_tag></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.47%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="evs_04_3015__evs_04_2031_p5468710519318">Specifies the tag list. For details, see <a href="#evs_04_3015__evs_04_2031_li8528152083214">Parameters in the tags field</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_3015__evs_04_2031_li8528152083214"><a name="evs_04_3015__evs_04_2031_li8528152083214"></a><a name="evs_04_2031_li8528152083214"></a>Parameters in the <strong id="evs_04_3015__evs_04_2031_b842352706181836">tags</strong> field
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_3015__evs_04_2031_table205290203323" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_3015__evs_04_2031_row13530142033210"><th align="left" class="cellrowborder" valign="top" width="20.24%" id="mcps1.3.5.2.2.2.1.4.1.1"><p id="evs_04_3015__evs_04_2031_p19530182011329">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="23.810000000000002%" id="mcps1.3.5.2.2.2.1.4.1.2"><p id="evs_04_3015__evs_04_2031_p20530120163211">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.95%" id="mcps1.3.5.2.2.2.1.4.1.3"><p id="evs_04_3015__evs_04_2031_p18533172017325">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_3015__evs_04_2031_row253510208321"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.5.2.2.2.1.4.1.1 "><p id="evs_04_3015__evs_04_2031_p17535320203220">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.5.2.2.2.1.4.1.2 "><p id="evs_04_3015__evs_04_2031_p175351020123212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.95%" headers="mcps1.3.5.2.2.2.1.4.1.3 "><p id="evs_04_3015__evs_04_2031_p118083133491">Specifies the tag key.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_3015__evs_04_2031_row853810204325"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.5.2.2.2.1.4.1.1 "><p id="evs_04_3015__evs_04_2031_p1053816201325">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.5.2.2.2.1.4.1.2 "><p id="evs_04_3015__evs_04_2031_p13538520153211">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.95%" headers="mcps1.3.5.2.2.2.1.4.1.3 "><p id="evs_04_3015__evs_04_2031_p656419560501">Specifies the tag value.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_3015__evs_04_2031_li1959442820342">Example response<pre class="screen" id="evs_04_3015__evs_04_2031_screen132191818103617">{
|
|
"tags": [
|
|
{
|
|
"value": "value1",
|
|
"key": "key1"
|
|
},
|
|
{
|
|
"value": "value2",
|
|
"key": "key2"
|
|
}
|
|
]
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_3015__section6050296116935"><h4 class="sectiontitle">Status Codes</h4><ul id="evs_04_3015__evs_04_2031_ul179279516935"><li id="evs_04_3015__evs_04_2031_li1613516116935">Normal<p id="evs_04_3015__evs_04_2031_p1099872616935"><a name="evs_04_3015__evs_04_2031_li1613516116935"></a><a name="evs_04_2031_li1613516116935"></a>200</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_3015__section431317151242"><h4 class="sectiontitle">Error Codes</h4><p id="evs_04_3015__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_3010.html">EVS Tag</a></div>
|
|
</div>
|
|
</div>
|
|
|