doc-exports/docs/fg/api-ref/functiongraph_06_0137.html
Chen, Junjie cb4b0ade33 FG API 20240924 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-10-28 18:55:02 +00:00

336 lines
24 KiB
HTML

<a name="functiongraph_06_0137"></a><a name="functiongraph_06_0137"></a>
<h1 class="topictitle1">Querying Tenant Quotas</h1>
<div id="body129371408457"><div class="section" id="functiongraph_06_0137__section1293754018457"><h4 class="sectiontitle">Function</h4><p id="functiongraph_06_0137__p129371840194519">This API is used to query tenant quotas.</p>
</div>
<div class="section" id="functiongraph_06_0137__section1893874018452"><h4 class="sectiontitle">URI</h4><p id="functiongraph_06_0137__p18938124044519">GET /v2/{project_id}/fgs/quotas</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0137__table17940124010450" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="functiongraph_06_0137__row3940340184512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="functiongraph_06_0137__p39411240194512">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="functiongraph_06_0137__p294117407457">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="functiongraph_06_0137__p1994264018454">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="functiongraph_06_0137__p69421540144518">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0137__row194017406458"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0137__p13942240174510">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0137__p594310401454">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0137__p1194324064518">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0137__p7943840184511">Project ID. For details, see <a href="functiongraph_06_0260.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0137__section14944204019450"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0137__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="functiongraph_06_0137__row13944124014458"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="functiongraph_06_0137__p49451940114520">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="functiongraph_06_0137__p79451140114517">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="functiongraph_06_0137__p1194504024517">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="functiongraph_06_0137__p15946104054516">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0137__row1494444014459"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0137__p194634034520">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0137__p149463403459">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0137__p1494615407455">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0137__p209471940104515">User token.</p>
<p id="functiongraph_06_0137__p1947164012458">It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.</p>
</td>
</tr>
<tr id="functiongraph_06_0137__row1794464014451"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0137__p39471440104510">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0137__p12947140174513">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0137__p13947140104510">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0137__p1494874019458">Message body type (format).</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0137__section1994824064514"><h4 class="sectiontitle">Response Parameters</h4><p id="functiongraph_06_0137__p8948740194520"><strong id="functiongraph_06_0137__b16948184094517">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0137__response_ListQuotasResponseBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0137__row17949124019453"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="functiongraph_06_0137__p1694934018454">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="functiongraph_06_0137__p1195094004511">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="functiongraph_06_0137__p119501140194517">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0137__row15949194010456"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0137__p795084004519">quotas</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0137__p139503408454"><a href="#functiongraph_06_0137__response_ListQuotasResult">ListQuotasResult</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0137__p09510409452">Quota information.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0137__response_ListQuotasResult"></a><a name="response_ListQuotasResult"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0137__response_ListQuotasResult" frame="border" border="1" rules="all"><caption><b>Table 4 </b>ListQuotasResult</caption><thead align="left"><tr id="functiongraph_06_0137__row8951640154511"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="functiongraph_06_0137__p4952124084511">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="functiongraph_06_0137__p695234016451">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="functiongraph_06_0137__p159531340184520">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0137__row2951440124515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0137__p12953440134512">resources</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0137__p1195312400459">Array of <a href="#functiongraph_06_0137__response_Resources">Resources</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0137__p199531400458">Quota list.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0137__response_Resources"></a><a name="response_Resources"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0137__response_Resources" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Resources</caption><thead align="left"><tr id="functiongraph_06_0137__row7954104010456"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="functiongraph_06_0137__p119551640134514">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="functiongraph_06_0137__p1095574044511">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="functiongraph_06_0137__p09551840184511">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0137__row16954240204517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0137__p10956640184518">quota</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0137__p129561040164517">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0137__p159562406453">Function quota.</p>
</td>
</tr>
<tr id="functiongraph_06_0137__row159541940144519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0137__p7957240104514">used</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0137__p89572407458">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0137__p1395714014459">Used quota.</p>
</td>
</tr>
<tr id="functiongraph_06_0137__row59541408456"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0137__p395814015451">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0137__p14958940204511">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0137__p49586403451">Resource type.</p>
<p id="functiongraph_06_0137__p9959040144517">Enumeration values:</p>
<ul id="functiongraph_06_0137__ul149592404450"><li id="functiongraph_06_0137__li19959104094511"><strong id="functiongraph_06_0137__b1995918404452">fgs_func_scale_down_timeout</strong>:Release time of idle function instances in FunctionGraph v1.</li><li id="functiongraph_06_0137__li9959164014517"><strong id="functiongraph_06_0137__b1695915404456">fgs_func_occurs</strong>:Indicates instance quota for functions in FunctionGraph v1 and reserved instance quota for functions in FunctionGraph v2.</li><li id="functiongraph_06_0137__li795910406455"><strong id="functiongraph_06_0137__b1959540124511">fgs_func_pat_idle_time</strong>:Release time of idle PAT in VPC function.</li><li id="functiongraph_06_0137__li1959124054515"><strong id="functiongraph_06_0137__b5960194034513">fgs_func_num</strong>:User function quantity quota.</li><li id="functiongraph_06_0137__li5960134024513"><strong id="functiongraph_06_0137__b1996017400454">fgs_func_code_size</strong>:Total code size quota of user functions.</li><li id="functiongraph_06_0137__li149600406452"><strong id="functiongraph_06_0137__b696011408459">fgs_workflow_num</strong>:Function flow quantity quota.</li><li id="functiongraph_06_0137__li1549645334211"><strong id="functiongraph_06_0137__b94361254313">fgs_on_demand_instance_limit</strong>:Maximum number of instances per function in FunctionGraph v2.</li><li id="functiongraph_06_0137__li1747174134319"><strong id="functiongraph_06_0137__b4288171113433">fgs_func_qos_limit</strong>:Instance quantity quota of user functions.</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0137__row109542407457"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0137__p5960140194517">unit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0137__p129611840194513">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0137__p6961164014458">Resource unit. For fgs_func_code_size, the unit is MB. In other scenarios, there is no unit.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0137__p396113404451"><strong id="functiongraph_06_0137__b7961204019459">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0137__response_ErrorResp" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0137__row1696212405459"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="functiongraph_06_0137__p10962194017451">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="functiongraph_06_0137__p13963740164512">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="functiongraph_06_0137__p1196364012456">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0137__row6962174017459"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0137__p59635408453">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0137__p3964154014456">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0137__p9964184019451">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0137__row1962184094513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0137__p189641400458">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0137__p1296484010452">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0137__p1796584034516">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0137__p1996534094513"><strong id="functiongraph_06_0137__b4965194011458">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0137__table11965940144519" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0137__row1696504024512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="functiongraph_06_0137__p1396654054518">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.2"><p id="functiongraph_06_0137__p2967104024513">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.9.2.4.1.3"><p id="functiongraph_06_0137__p199671540174513">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0137__row19965174018459"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0137__p1096854015454">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0137__p12970154012459">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0137__p129701405457">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0137__row1966104014514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0137__p1197024034510">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0137__p4971174014516">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0137__p10971104012454">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0137__p2971174094518"><strong id="functiongraph_06_0137__b1971124004517">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0137__table497174015454" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0137__row159728404457"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.1"><p id="functiongraph_06_0137__p4972114054513">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.2"><p id="functiongraph_06_0137__p897334034520">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.11.2.4.1.3"><p id="functiongraph_06_0137__p49731940124515">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0137__row997284024514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0137__p159741640184513">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="functiongraph_06_0137__p797484024520">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0137__p197412405455">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0137__row1797216407457"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0137__p1497474015458">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="functiongraph_06_0137__p159751406451">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0137__p17975640144513">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0137__p5975144011456"><strong id="functiongraph_06_0137__b2975184004520">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0137__table1597534054514" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0137__row397634094513"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.13.2.4.1.1"><p id="functiongraph_06_0137__p12977140184510">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.13.2.4.1.2"><p id="functiongraph_06_0137__p10977240134518">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.13.2.4.1.3"><p id="functiongraph_06_0137__p1997717408450">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0137__row897612408451"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="functiongraph_06_0137__p997810409450">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="functiongraph_06_0137__p397824064519">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="functiongraph_06_0137__p139781240144519">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0137__row697612401453"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="functiongraph_06_0137__p129781140154516">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="functiongraph_06_0137__p1979184024518">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="functiongraph_06_0137__p139793403452">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0137__section1979174015453"><h4 class="sectiontitle">Example Requests</h4><p id="functiongraph_06_0137__p7979124004515">Query quotas.</p>
<pre class="screen" id="functiongraph_06_0137__screen19801440194518">GET /v2/{project_id}/fgs/quotas</pre>
</div>
<div class="section" id="functiongraph_06_0137__section4980240194518"><h4 class="sectiontitle">Example Responses</h4><p id="functiongraph_06_0137__p598004054519"><strong id="functiongraph_06_0137__b14980940184518">Status code: 200</strong></p>
<p id="functiongraph_06_0137__p13980124064517">Query successful.</p>
<pre class="screen" id="functiongraph_06_0137__screen14981194015458">{
"quotas" : {
"resources" : [ {
"quota" : 60,
"used" : 3,
"type" : "fgs_func_scale_down_timeout"
}, {
"quota" : 100,
"used" : 22,
"type" : "fgs_func_occurs"
}, {
"quota" : 100,
"used" : 22,
"type" : "fgs_func_pat_idle_time"
}, {
"quota" : 100,
"used" : 22,
"type" : "fgs_func_num"
}, {
"quota" : 10240,
"used" : 22,
"type" : "fgs_func_code_size",
"unit" : "MB"
}, {
"quota" : 512,
"used" : 22,
"type" : "fgs_workflow_num"
} ]
}
}</pre>
</div>
<div class="section" id="functiongraph_06_0137__section15985124014514"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0137__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="functiongraph_06_0137__row798519403450"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="functiongraph_06_0137__p2988104020452">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="functiongraph_06_0137__p14988440144515">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0137__row18985040104515"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0137__p1598894074513">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0137__p49891140164516">Query successful.</p>
</td>
</tr>
<tr id="functiongraph_06_0137__row19986114014450"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0137__p1098954020459">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0137__p5989340164515">Bad request.</p>
</td>
</tr>
<tr id="functiongraph_06_0137__row1898674084519"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0137__p13990164011458">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0137__p8990124010458">Unauthorized.</p>
</td>
</tr>
<tr id="functiongraph_06_0137__row1398774064513"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0137__p179908402454">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0137__p399044015454">Forbidden.</p>
</td>
</tr>
<tr id="functiongraph_06_0137__row13987940194518"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0137__p199111401459">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0137__p189911340164516">Internal server error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0137__section189911840194510"><h4 class="sectiontitle">Error Codes</h4><p id="functiongraph_06_0137__p10991340114512">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="FunctionQuotas.html">Function Quotas</a></div>
</div>
</div>