doc-exports/docs/evs/api-ref/evs_04_3037.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
27 KiB
HTML

<a name="evs_04_3037"></a><a name="evs_04_3037"></a>
<h1 class="topictitle1">Querying Details of Tenant Quotas</h1>
<div id="body1521533622009"><div class="section" id="evs_04_3037__section9502070"><h4 class="sectiontitle">Function</h4><p id="evs_04_3037__p44041463">This API is used to query the details of tenant quotas.</p>
</div>
<div class="section" id="evs_04_3037__section18409771"><h4 class="sectiontitle">URI</h4><ul id="evs_04_3037__ul10588721"><li id="evs_04_3037__li28189627">URI format<p id="evs_04_3037__p0655427191414"><a name="evs_04_3037__li28189627"></a><a name="li28189627"></a>GET /v3/{project_id}/os-quota-sets/{target_project_id}?usage=True</p>
</li><li id="evs_04_3037__li14926099">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_3037__table117163" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_3037__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_3037__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_3037__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_3037__p48948360">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_3037__row5394248"><td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.2.1.1.4.1.1 "><p id="evs_04_3037__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_3037__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_3037__p35582587">Specifies the project ID.</p>
</td>
</tr>
<tr id="evs_04_3037__row12761552162920"><td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.2.1.1.4.1.1 "><p id="evs_04_3037__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_3037__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_3037__p33032891913">Specifies the ID of the target project. Set this parameter to the value of <strong id="evs_04_3037__b26844213481">project_id</strong>.</p>
</td>
</tr>
<tr id="evs_04_3037__row22250562296"><td class="cellrowborder" valign="top" width="33.33%" headers="mcps1.3.2.2.2.1.1.4.1.1 "><p id="evs_04_3037__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_3037__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_3037__p112714121195">Specifies whether to query the quota details. Only value <strong id="evs_04_3037__b845511974816">true</strong> is supported currently.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="evs_04_3037__section31470215"><h4 class="sectiontitle">Request</h4><ul id="evs_04_3037__ul11152033120"><li id="evs_04_3037__li1815190173113">Example request<pre class="screen" id="evs_04_3037__screen1411685103115">GET https://{endpoint}/v3/{project_id}/os-quota-sets/{project_id}?usage=True</pre>
</li></ul>
</div>
<div class="section" id="evs_04_3037__section14796483"><h4 class="sectiontitle">Response</h4><ul id="evs_04_3037__evs_04_2073_ul52727095"><li id="evs_04_3037__evs_04_2073_li17993914175519">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_3037__evs_04_2073_table13993131410556" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p17993414135514">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p1099416145558">Specifies the queried quota information. For details, see <a href="#evs_04_3037__evs_04_2073_li4741865201620">Parameters in the quota_set field</a>.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p109527215417">Specifies the error message returned when an error occurs. For details, see <a href="#evs_04_3037__evs_04_2073_li0419202382514">Parameters in the error field</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="evs_04_3037__evs_04_2073_li4741865201620"><a name="evs_04_3037__evs_04_2073_li4741865201620"></a><a name="evs_04_2073_li4741865201620"></a>Parameters in the <strong id="evs_04_3037__evs_04_2073_b1655744814197">quota_set</strong> field
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_3037__evs_04_2073_table42676787201620" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p1989612244512">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p10336815201620">Specifies the number of disks. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b59951287224">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b6995202810226">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b17995428142218">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p26061300201620">Specifies the number of snapshots. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b7576135613114">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b1557617566317">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b19576175610317">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p41689235201620">Specifies the total size (GB) of disks and snapshots allowed. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b19490101123216">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b749061123215">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b1149013114328">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p33568305201620">Specifies the number of reserved ultra-high I/O disks. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b11875153516326">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b17875635103210">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b58761835103212">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p849819015526">Specifies the number of reserved high I/O disks. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b033463614338">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b123357365337">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b153354366336">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p1280119305522">Specifies the number of reserved common I/O disks. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b1344494319336">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b3444243153312">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b3445194353318">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p19567167201620">Specifies the number of snapshots reserved for ultra-high I/O disks. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b18164755103318">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b1516514551335">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b9165205519332">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p22001126175315">Specifies the number of snapshots reserved for high I/O disks. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b639620163412">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b9396209341">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b2394207346">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p129066272538">Specifies the number of snapshots reserved for common I/O disks. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b34262913348">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b124212910342">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b94212298342">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p3943730201620">Specifies the size (GB) reserved for ultra-high I/O disks. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b44230373344">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b204231737143410">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b5423153733410">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p1544632717540">Specifies the size (GB) reserved for high I/O disks. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b6125123119351">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b9125831103513">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b512515314358">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p94710297546">Specifies the size (GB) reserved for common I/O disks. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b196191242193520">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b11619164216355">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b9619194213355">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p50275403201620">Specifies the tenant ID. <span id="evs_04_3037__evs_04_2073_text19941457165313">The tenant ID is actually the project ID.</span></p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p6295376201620">Specifies the number of backups. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b945914471358">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b1645918478356">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b645924717359">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p49989712201620">Specifies the backup size (GB). Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b1296825812353">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b18968458193514">limit</strong> (maximum quota), and <strong id="evs_04_3037__evs_04_2073_b179681758193516">in_use</strong> (used quota), and are made up of key-value pairs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_p11969135217118">Specifies the capacity quota of each EVS disk. Sub-parameters include <strong id="evs_04_3037__evs_04_2073_b1040432813618">reserved</strong> (reserved quota), <strong id="evs_04_3037__evs_04_2073_b7404328153610">limit</strong> (maximum quota), and <strong id="evs_04_3037__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_3037__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_3037__evs_04_2073_p192061544154211">If the <strong id="evs_04_3037__evs_04_2073_b842352706111518">limit</strong> value returned in the response is <strong id="evs_04_3037__evs_04_2073_b842352706111526">-1</strong>, no quota limit has been set.</p>
</div></div>
</li><li id="evs_04_3037__evs_04_2073_li0419202382514"><a name="evs_04_3037__evs_04_2073_li0419202382514"></a><a name="evs_04_2073_li0419202382514"></a>Parameters in the <strong id="evs_04_3037__evs_04_2073_evs_04_2013_b1288034833610">error</strong> field
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_3037__evs_04_2073_evs_04_2013_table15441099103019" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_evs_04_2013_p38578950103019">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_evs_04_2013_p21623243103019">Specifies the error message returned when an error occurs.</p>
</td>
</tr>
<tr id="evs_04_3037__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_3037__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_3037__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_3037__evs_04_2073_evs_04_2013_p6087468103019">Specifies the error code returned when an error occurs.</p>
<p id="evs_04_3037__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_3037__evs_04_2073_li4781813">Example response<pre class="screen" id="evs_04_3037__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_3037__evs_04_2073_p53829147">or</p>
<pre class="screen" id="evs_04_3037__evs_04_2073_screen62949310517">{
"error": {
"message": "XXXX",
"code": "XXX"
}
}</pre>
<p id="evs_04_3037__evs_04_2073_p47489758202021">In the preceding example, <strong id="evs_04_3037__evs_04_2073_evs_04_2070_b842352706143959">error</strong> indicates a general error, for example, <strong id="evs_04_3037__evs_04_2073_evs_04_2070_b842352706144438">badrequest</strong> or <strong id="evs_04_3037__evs_04_2073_evs_04_2070_b842352706144454">itemNotFound</strong>. An example is provided as follows:</p>
<pre class="screen" id="evs_04_3037__evs_04_2073_screen5868199202121">{
"badrequest": {
"message": "XXXX",
"code": "XXX"
}
}</pre>
</li></ul>
</div>
<div class="section" id="evs_04_3037__section66059488"><h4 class="sectiontitle">Status Codes</h4><ul id="evs_04_3037__evs_04_2073_ul57656925"><li id="evs_04_3037__evs_04_2073_li49150280">Normal<p id="evs_04_3037__evs_04_2073_p39699339"><a name="evs_04_3037__evs_04_2073_li49150280"></a><a name="evs_04_2073_li49150280"></a>200</p>
</li></ul>
</div>
<div class="section" id="evs_04_3037__section431317151242"><h4 class="sectiontitle">Error Codes</h4><p id="evs_04_3037__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_3028.html">EVS Disk</a></div>
</div>
</div>