doc-exports/docs/evs/api-ref/evs_04_2073.html
Zaoxu, Li 305c41bb57 EVS 2.0.38 SP1 version
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>
2022-10-19 22:27:18 +00:00

327 lines
24 KiB
HTML

<a name="evs_04_2073"></a><a name="evs_04_2073"></a>
<h1 class="topictitle1">Querying Details of Tenant Quotas</h1>
<div id="body40311937"><div class="section" id="evs_04_2073__section9502070"><h4 class="sectiontitle">Function</h4><p id="evs_04_2073__p44041463">This API is used to query the details of tenant quotas.</p>
</div>
<div class="section" id="evs_04_2073__section18409771"><h4 class="sectiontitle">URI</h4><ul id="evs_04_2073__ul10588721"><li id="evs_04_2073__li28189627">URI format<p id="evs_04_2073__p1658455"><a name="evs_04_2073__li28189627"></a><a name="li28189627"></a>GET /v2/{project_id}/os-quota-sets/{target_project_id}?usage=True</p>
</li><li id="evs_04_2073__li14926099">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2073__table117163" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2073__row55762700"><th align="left" class="cellrowborder" valign="top" width="33.33%" id="mcps1.3.2.2.2.1.1.4.1.1"><p id="evs_04_2073__p20484818">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.3%" id="mcps1.3.2.2.2.1.1.4.1.2"><p id="evs_04_2073__p48657561">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="48.370000000000005%" id="mcps1.3.2.2.2.1.1.4.1.3"><p id="evs_04_2073__p48948360">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_2073__row5394248"><td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.2.1.1.4.1.1 "><p id="evs_04_2073__p34280961">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="18.3%" headers="mcps1.3.2.2.2.1.1.4.1.2 "><p id="evs_04_2073__p25294426">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="48.370000000000005%" headers="mcps1.3.2.2.2.1.1.4.1.3 "><p id="evs_04_2073__p35582587">Specifies the project ID.</p>
</td>
</tr>
<tr id="evs_04_2073__row1630212817190"><td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.2.1.1.4.1.1 "><p id="evs_04_2073__p730312861919">target_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="18.3%" headers="mcps1.3.2.2.2.1.1.4.1.2 "><p id="evs_04_2073__p20303188151911">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="48.370000000000005%" headers="mcps1.3.2.2.2.1.1.4.1.3 "><p id="evs_04_2073__p33032891913">Specifies the ID of the target project. Set this parameter to the value of <strong id="evs_04_2073__b2079073712429">project_id</strong>.</p>
</td>
</tr>
<tr id="evs_04_2073__row12711612181914"><td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.2.1.1.4.1.1 "><p id="evs_04_2073__p10271101212194">usage</p>
</td>
<td class="cellrowborder" valign="top" width="18.3%" headers="mcps1.3.2.2.2.1.1.4.1.2 "><p id="evs_04_2073__p727112128195">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="48.370000000000005%" headers="mcps1.3.2.2.2.1.1.4.1.3 "><p id="evs_04_2073__p112714121195">Specifies whether to query the quota details. Only value <strong id="evs_04_2073__b5664351174216">true</strong> is supported currently.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="evs_04_2073__section31470215"><h4 class="sectiontitle">Request</h4><ul id="evs_04_2073__ul11152033120"><li id="evs_04_2073__li1815190173113">Example request<pre class="screen" id="evs_04_2073__screen1411685103115">GET https://{endpoint}/v2/{project_id}/os-quota-sets/{project_id}?usage=True</pre>
</li></ul>
</div>
<div class="section" id="evs_04_2073__section14796483"><h4 class="sectiontitle">Response</h4><ul id="evs_04_2073__ul52727095"><li id="evs_04_2073__li17993914175519">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2073__table13993131410556" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2073__row799321420553"><th align="left" class="cellrowborder" valign="top" width="20.24%" id="mcps1.3.4.2.1.1.1.4.1.1"><p id="evs_04_2073__p099351495511">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.62%" id="mcps1.3.4.2.1.1.1.4.1.2"><p id="evs_04_2073__p5993141425516">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="57.14%" id="mcps1.3.4.2.1.1.1.4.1.3"><p id="evs_04_2073__p17993414135514">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_2073__row209931814185513"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="evs_04_2073__p119941014125514">quota_set</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="evs_04_2073__p14994514165520">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="evs_04_2073__p1099416145558">Specifies the queried quota information. For details, see <a href="#evs_04_2073__li4741865201620">Parameters in the quota_set field</a>.</p>
</td>
</tr>
<tr id="evs_04_2073__row3451722569"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="evs_04_2073__p129522216412">error</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="evs_04_2073__p1595262111415">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="evs_04_2073__p109527215417">Specifies the error message returned when an error occurs. For details, see <a href="#evs_04_2073__li0419202382514">Parameters in the error field</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="evs_04_2073__li4741865201620"><a name="evs_04_2073__li4741865201620"></a><a name="li4741865201620"></a>Parameters in the <strong id="evs_04_2073__b1655744814197">quota_set</strong> field
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2073__table42676787201620" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2073__row15715964201620"><th align="left" class="cellrowborder" valign="top" width="20.24%" id="mcps1.3.4.2.2.2.1.4.1.1"><p id="evs_04_2073__p65033611201620">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.62%" id="mcps1.3.4.2.2.2.1.4.1.2"><p id="evs_04_2073__p5090379315311">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="57.14%" id="mcps1.3.4.2.2.2.1.4.1.3"><p id="evs_04_2073__p1989612244512">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_2073__row60124619201620"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p38255980201620">volumes</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p2956653915311">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p10336815201620">Specifies the number of disks. Sub-parameters include <strong id="evs_04_2073__b59951287224">reserved</strong> (reserved quota), <strong id="evs_04_2073__b6995202810226">limit</strong> (maximum quota), and <strong id="evs_04_2073__b17995428142218">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row25922478201620"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p19345972201620">snapshots</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p4607944115311">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p26061300201620">Specifies the number of snapshots. Sub-parameters include <strong id="evs_04_2073__b7576135613114">reserved</strong> (reserved quota), <strong id="evs_04_2073__b1557617566317">limit</strong> (maximum quota), and <strong id="evs_04_2073__b19576175610317">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row33225116201620"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p6879872201620">gigabytes</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p4144727715311">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p41689235201620">Specifies the total size (GB) of disks and snapshots allowed. Sub-parameters include <strong id="evs_04_2073__b19490101123216">reserved</strong> (reserved quota), <strong id="evs_04_2073__b749061123215">limit</strong> (maximum quota), and <strong id="evs_04_2073__b1149013114328">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row39658796201620"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p58245913201620">volumes_SSD</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p178624415311">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p33568305201620">Specifies the number of reserved ultra-high I/O disks. Sub-parameters include <strong id="evs_04_2073__b11875153516326">reserved</strong> (reserved quota), <strong id="evs_04_2073__b17875635103210">limit</strong> (maximum quota), and <strong id="evs_04_2073__b58761835103212">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row158911913505"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p1849815075218">volumes_SAS</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p249817065214">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p849819015526">Specifies the number of reserved high I/O disks. Sub-parameters include <strong id="evs_04_2073__b033463614338">reserved</strong> (reserved quota), <strong id="evs_04_2073__b123357365337">limit</strong> (maximum quota), and <strong id="evs_04_2073__b153354366336">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row13803613155014"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p7801730165210">volumes_SATA</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p168012306521">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p1280119305522">Specifies the number of reserved common I/O disks. Sub-parameters include <strong id="evs_04_2073__b1344494319336">reserved</strong> (reserved quota), <strong id="evs_04_2073__b3444243153312">limit</strong> (maximum quota), and <strong id="evs_04_2073__b3445194353318">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row33679293201620"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p6988929729">snapshots_SSD</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p1046809615311">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p19567167201620">Specifies the number of snapshots reserved for ultra-high I/O disks. Sub-parameters include <strong id="evs_04_2073__b18164755103318">reserved</strong> (reserved quota), <strong id="evs_04_2073__b1516514551335">limit</strong> (maximum quota), and <strong id="evs_04_2073__b9165205519332">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row775510173509"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p1820015264531">snapshots_SAS</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p10200132615539">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p22001126175315">Specifies the number of snapshots reserved for high I/O disks. Sub-parameters include <strong id="evs_04_2073__b639620163412">reserved</strong> (reserved quota), <strong id="evs_04_2073__b9396209341">limit</strong> (maximum quota), and <strong id="evs_04_2073__b2394207346">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row12575621105012"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p109062273533">snapshots_SATA</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p199061427105317">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p129066272538">Specifies the number of snapshots reserved for common I/O disks. Sub-parameters include <strong id="evs_04_2073__b34262913348">reserved</strong> (reserved quota), <strong id="evs_04_2073__b124212910342">limit</strong> (maximum quota), and <strong id="evs_04_2073__b94212298342">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row41886775201620"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p932213524218">gigabytes_SSD</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p4260948115311">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p3943730201620">Specifies the size (GB) reserved for ultra-high I/O disks. Sub-parameters include <strong id="evs_04_2073__b44230373344">reserved</strong> (reserved quota), <strong id="evs_04_2073__b204231737143410">limit</strong> (maximum quota), and <strong id="evs_04_2073__b5423153733410">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row1086118284505"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p344652745413">gigabytes_SAS</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p544602713542">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p1544632717540">Specifies the size (GB) reserved for high I/O disks. Sub-parameters include <strong id="evs_04_2073__b6125123119351">reserved</strong> (reserved quota), <strong id="evs_04_2073__b9125831103513">limit</strong> (maximum quota), and <strong id="evs_04_2073__b512515314358">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row1314725125019"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p047629135419">gigabytes_SATA</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p1447102917543">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p94710297546">Specifies the size (GB) reserved for common I/O disks. Sub-parameters include <strong id="evs_04_2073__b196191242193520">reserved</strong> (reserved quota), <strong id="evs_04_2073__b11619164216355">limit</strong> (maximum quota), and <strong id="evs_04_2073__b9619194213355">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row35493575201620"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p56407339201620">id</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p2881594215311">String</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p50275403201620">Specifies the tenant ID. <span id="evs_04_2073__text19941457165313">The tenant ID is actually the project ID.</span></p>
</td>
</tr>
<tr id="evs_04_2073__row49825446201620"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p9329306201620">backups</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p5238998415311">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p6295376201620">Specifies the number of backups. Sub-parameters include <strong id="evs_04_2073__b945914471358">reserved</strong> (reserved quota), <strong id="evs_04_2073__b1645918478356">limit</strong> (maximum quota), and <strong id="evs_04_2073__b645924717359">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row56658385201620"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p25926512201620">backup_gigabytes</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p1573030215311">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p49989712201620">Specifies the backup size (GB). Sub-parameters include <strong id="evs_04_2073__b1296825812353">reserved</strong> (reserved quota), <strong id="evs_04_2073__b18968458193514">limit</strong> (maximum quota), and <strong id="evs_04_2073__b179681758193516">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_2073__row1569318421316"><td class="cellrowborder" valign="top" width="20.24%" headers="mcps1.3.4.2.2.2.1.4.1.1 "><p id="evs_04_2073__p4969152818">per_volume_gigabytes</p>
</td>
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.2.2.1.4.1.2 "><p id="evs_04_2073__p19697521415">Object</p>
</td>
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.4.2.2.2.1.4.1.3 "><p id="evs_04_2073__p11969135217118">Specifies the capacity quota of each EVS disk. Sub-parameters include <strong id="evs_04_2073__b1040432813618">reserved</strong> (reserved quota), <strong id="evs_04_2073__b7404328153610">limit</strong> (maximum quota), and <strong id="evs_04_2073__b74044288365">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note" id="evs_04_2073__note620512449425"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="evs_04_2073__p192061544154211">If the <strong id="evs_04_2073__b842352706111518">limit</strong> value returned in the response is <strong id="evs_04_2073__b842352706111526">-1</strong>, no quota limit has been set.</p>
</div></div>
</li><li id="evs_04_2073__li0419202382514"><a name="evs_04_2073__li0419202382514"></a><a name="li0419202382514"></a>Parameters in the <strong id="evs_04_2073__evs_04_2013_b1288034833610">error</strong> field
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2073__evs_04_2013_table15441099103019" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2073__evs_04_2013_row54094047103019"><th align="left" class="cellrowborder" valign="top" width="21.17788221177882%" id="mcps1.3.4.2.3.2.1.4.1.1"><p id="evs_04_2073__evs_04_2013_p19541716103019">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="21.17788221177882%" id="mcps1.3.4.2.3.2.1.4.1.2"><p id="evs_04_2073__evs_04_2013_p39375186103019">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="57.64423557644236%" id="mcps1.3.4.2.3.2.1.4.1.3"><p id="evs_04_2073__evs_04_2013_p38578950103019">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_2073__evs_04_2013_row59401790103019"><td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.4.2.3.2.1.4.1.1 "><p id="evs_04_2073__evs_04_2013_p46815658103019">message</p>
</td>
<td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.4.2.3.2.1.4.1.2 "><p id="evs_04_2073__evs_04_2013_p33971979103019">String</p>
</td>
<td class="cellrowborder" valign="top" width="57.64423557644236%" headers="mcps1.3.4.2.3.2.1.4.1.3 "><p id="evs_04_2073__evs_04_2013_p21623243103019">Specifies the error message returned when an error occurs.</p>
</td>
</tr>
<tr id="evs_04_2073__evs_04_2013_row60391466103019"><td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.4.2.3.2.1.4.1.1 "><p id="evs_04_2073__evs_04_2013_p59870541103019">code</p>
</td>
<td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.4.2.3.2.1.4.1.2 "><p id="evs_04_2073__evs_04_2013_p17675690103019">String</p>
</td>
<td class="cellrowborder" valign="top" width="57.64423557644236%" headers="mcps1.3.4.2.3.2.1.4.1.3 "><p id="evs_04_2073__evs_04_2013_p6087468103019">Specifies the error code returned when an error occurs.</p>
<p id="evs_04_2073__evs_04_2013_p54787218103019">For details about the error code, see <a href="evs_04_0038.html">Error Codes</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="evs_04_2073__li4781813">Example response<pre class="screen" id="evs_04_2073__screen3843192710511">{
"quota_set": {
"gigabytes_SAS": {
"reserved": 0,
"limit": -1,
"in_use": 21
},
"volumes_SATA": {
"reserved": 0,
"limit": -1,
"in_use": 8
},
"gigabytes": {
"reserved": 0,
"limit": 42790,
"in_use": 2792
},
"backup_gigabytes": {
"reserved": 0,
"limit": 5120,
"in_use": 51
},
"snapshots_SAS": {
"reserved": 0,
"limit": -1,
"in_use": 0
},
"volumes_SSD": {
"reserved": 0,
"limit": -1,
"in_use": 28
},
"snapshots": {
"reserved": 0,
"limit": 10,
"in_use": 6
},
"id": "cd631140887d4b6e9c786b67a6dd4c02",
"volumes_SAS": {
"reserved": 0,
"limit": -1,
"in_use": 2
},
"snapshots_SSD": {
"reserved": 0,
"limit": -1,
"in_use": 0
},
"volumes": {
"reserved": 0,
"limit": -1,
"in_use": 108
},
"gigabytes_SATA": {
"reserved": 0,
"limit": -1,
"in_use": 168
},
"backups": {
"reserved": 0,
"limit": 100,
"in_use": 10
},
"gigabytes_SSD": {
"reserved": 0,
"limit": -1,
"in_use": 1085
},
"snapshots_SATA": {
"reserved": 0,
"limit": -1,
"in_use": 0
}
}
}</pre>
<p id="evs_04_2073__p53829147">or</p>
<pre class="screen" id="evs_04_2073__screen62949310517">{
"error": {
"message": "XXXX",
"code": "XXX"
}
}</pre>
<p id="evs_04_2073__p47489758202021">In the preceding example, <strong id="evs_04_2073__evs_04_2070_b842352706143959">error</strong> indicates a general error, for example, <strong id="evs_04_2073__evs_04_2070_b842352706144438">badrequest</strong> or <strong id="evs_04_2073__evs_04_2070_b842352706144454">itemNotFound</strong>. An example is provided as follows:</p>
<pre class="screen" id="evs_04_2073__screen5868199202121">{
"badrequest": {
"message": "XXXX",
"code": "XXX"
}
}</pre>
</li></ul>
</div>
<div class="section" id="evs_04_2073__section66059488"><h4 class="sectiontitle">Status Codes</h4><ul id="evs_04_2073__ul57656925"><li id="evs_04_2073__li49150280">Normal<p id="evs_04_2073__p39699339"><a name="evs_04_2073__li49150280"></a><a name="li49150280"></a>200</p>
</li></ul>
</div>
<div class="section" id="evs_04_2073__section431317151242"><h4 class="sectiontitle">Error Codes</h4><p id="evs_04_2073__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_2064.html">EVS Disk</a></div>
</div>
</div>