Files
doc-exports/docs/taurusdb/api-ref/gaussdb_11_0031.html
wangdengke2 ee9f8aa0b6 taurusdb_api
Reviewed-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: wangdengke2 <wangdengke2@huawei.com>
Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
2025-10-30 15:48:33 +00:00

296 lines
22 KiB
HTML

<a name="gaussdb_11_0031"></a><a name="gaussdb_11_0031"></a>
<h1 class="topictitle1">Modifying Enterprise Project Resource Quotas of a Tenant</h1>
<div id="body8662426"><div class="section" id="gaussdb_11_0031__en-us_topic_0000001297344609_section4850156117316"><h4 class="sectiontitle">Function</h4><p id="gaussdb_11_0031__en-us_topic_0000001297344609_p52780252141331">This API is used to modify the resource quotas of a specified enterprise project. Before calling this API:</p>
<ul id="gaussdb_11_0031__en-us_topic_0000001297344609_ul924420236520"><li id="gaussdb_11_0031__en-us_topic_0000001267522832_en-us_topic_0000001250985350_li136356359522">Learn how to <a href="gaussdb_03_0001.html">authorize and authenticate</a> it.</li><li id="gaussdb_11_0031__en-us_topic_0000001267522832_en-us_topic_0000001250985350_li1991981933613">Obtain the required <a href="gaussdb_00_0003.html">region and endpoint</a>.</li></ul>
</div>
<div class="section" id="gaussdb_11_0031__en-us_topic_0000001297344609_section28961517113719"><h4 class="sectiontitle">URI</h4><ul id="gaussdb_11_0031__en-us_topic_0000001297344609_ul53354139141429"><li id="gaussdb_11_0031__en-us_topic_0000001297344609_li1270098217262">URI format<p id="gaussdb_11_0031__en-us_topic_0000001297344609_p66079617141421"><a name="gaussdb_11_0031__en-us_topic_0000001297344609_li1270098217262"></a><a name="en-us_topic_0000001297344609_li1270098217262"></a>PUT https://{endpoint}/mysql/v3/{project_id}/quotas</p>
</li><li id="gaussdb_11_0031__en-us_topic_0000001297344609_li4411135064210">URI example<p id="gaussdb_11_0031__p9897438102115"><a name="gaussdb_11_0031__en-us_topic_0000001297344609_li4411135064210"></a><a name="en-us_topic_0000001297344609_li4411135064210"></a>PUT https://gaussdb-mysql.eu-de.otc.t-systems.com/mysql/v3/0483b6b16e954cb88930a360d2c4e663/quotas</p>
</li></ul>
<ul id="gaussdb_11_0031__en-us_topic_0000001297344609_ul49831254144655"><li id="gaussdb_11_0031__en-us_topic_0000001297344609_li15430535">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0031__en-us_topic_0000001297344609_table4657088" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="gaussdb_11_0031__en-us_topic_0000001297344609_row60083059"><th align="left" class="cellrowborder" valign="top" width="20.979999999999997%" id="mcps1.3.2.3.1.1.2.4.1.1"><p id="gaussdb_11_0031__en-us_topic_0000001297344609_p34889605"><strong id="gaussdb_11_0031__en-us_topic_0000001297344609_b694113538282">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.55%" id="mcps1.3.2.3.1.1.2.4.1.2"><p id="gaussdb_11_0031__en-us_topic_0000001297344609_p7485743">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="62.470000000000006%" id="mcps1.3.2.3.1.1.2.4.1.3"><p id="gaussdb_11_0031__en-us_topic_0000001297344609_p2365466"><strong id="gaussdb_11_0031__en-us_topic_0000001297344609_b7124195682817">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0031__en-us_topic_0000001297344609_row57385070"><td class="cellrowborder" valign="top" width="20.979999999999997%" headers="mcps1.3.2.3.1.1.2.4.1.1 "><p id="gaussdb_11_0031__en-us_topic_0000001297344609_p17679057">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.55%" headers="mcps1.3.2.3.1.1.2.4.1.2 "><p id="gaussdb_11_0031__en-us_topic_0000001297344609_p22717550">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="62.470000000000006%" headers="mcps1.3.2.3.1.1.2.4.1.3 "><p id="gaussdb_11_0031__en-us_topic_0000001297344609_p28182251">Project ID of a tenant in a region.</p>
<p id="gaussdb_11_0031__en-us_topic_0000001297344609_p181691757183820">To obtain this value, see <a href="gaussdb_10_0004.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="gaussdb_11_0031__section5683141710357"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0031__en-us_topic_0000001181244188_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="gaussdb_11_0031__row76831817103519"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="gaussdb_11_0031__p9683111710350">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="gaussdb_11_0031__p5683917173516">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="gaussdb_11_0031__p19683131715358">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="gaussdb_11_0031__p1068431716356">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0031__row1468371793517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="gaussdb_11_0031__p116846177359">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="gaussdb_11_0031__p146841017153510">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="gaussdb_11_0031__p146841817163510">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="gaussdb_11_0031__p1168441712351">User token.</p>
</td>
</tr>
<tr id="gaussdb_11_0031__row176831717153513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="gaussdb_11_0031__p16846177357">X-Language</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="gaussdb_11_0031__p568451714353">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="gaussdb_11_0031__p5684111733512">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="gaussdb_11_0031__p16685141743516">Language.</p>
</td>
</tr>
<tr id="gaussdb_11_0031__row9132855183514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="gaussdb_11_0031__p15665114311157">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="gaussdb_11_0031__p36651643101518">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="gaussdb_11_0031__p10665443181514">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="gaussdb_11_0031__p1866504318159">MIME type of the request body. You are advised to use the default value <strong id="gaussdb_11_0031__b10274191112396">application/json</strong>. For APIs used to upload objects or images, the value can vary depending on the flow type.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0031__en-us_topic_0000001181244188_request_SetQuotasRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameter</caption><thead align="left"><tr id="gaussdb_11_0031__row18685111711355"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="gaussdb_11_0031__p1568531713514">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="gaussdb_11_0031__p1768515178352">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="gaussdb_11_0031__p146854179353">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="gaussdb_11_0031__p6686161714357">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0031__row196851517183520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0031__p9686101717356">quota_list</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0031__p16686151715356">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0031__p19686117143510">Array of <a href="#gaussdb_11_0031__en-us_topic_0000001181244188_request_setQuota">setQuota</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0031__p4686201743510">Enterprise project resource quotas to be updated. A maximum of 10 quotas can be updated at a time.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="gaussdb_11_0031__en-us_topic_0000001181244188_request_setQuota"></a><a name="en-us_topic_0000001181244188_request_setQuota"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0031__en-us_topic_0000001181244188_request_setQuota" frame="border" border="1" rules="all"><caption><b>Table 4 </b>setQuota</caption><thead align="left"><tr id="gaussdb_11_0031__row12686217183512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="gaussdb_11_0031__p3687417143514">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="gaussdb_11_0031__p368791773512">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="gaussdb_11_0031__p1687141713514">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="gaussdb_11_0031__p16687317123514">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0031__row176864178353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="gaussdb_11_0031__p116871917113514">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="gaussdb_11_0031__p1168791763510">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="gaussdb_11_0031__p15687417153515">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="gaussdb_11_0031__p1468851713511">Enterprise project ID.</p>
</td>
</tr>
<tr id="gaussdb_11_0031__row7686717143513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="gaussdb_11_0031__p166881171359">instance_quota</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="gaussdb_11_0031__p13688121713518">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="gaussdb_11_0031__p186881517203511">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="gaussdb_11_0031__p3688417163517">Quota of the DB instance quantity. Value: <strong id="gaussdb_11_0031__b8532323183911">0</strong> to <strong id="gaussdb_11_0031__b453242310392">1000</strong>. (If there are already instances created, this parameter value must be greater than the number of existing instances.)</p>
</td>
</tr>
<tr id="gaussdb_11_0031__row268611793513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="gaussdb_11_0031__p1268817175352">vcpus_quota</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="gaussdb_11_0031__p668813179354">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="gaussdb_11_0031__p11688131793511">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="gaussdb_11_0031__p1068851753512">Quota of vCPUs. Value: <strong id="gaussdb_11_0031__b133903271393">0</strong> to <strong id="gaussdb_11_0031__b1539032710393">3600000</strong>. (If there are already instances created, this parameter value must be greater than the number of used vCPUs.)</p>
</td>
</tr>
<tr id="gaussdb_11_0031__row19686617153513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="gaussdb_11_0031__p14689181718355">ram_quota</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="gaussdb_11_0031__p168919176355">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="gaussdb_11_0031__p15689217133516">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="gaussdb_11_0031__p196891417143516">Memory quota in GB. Value: <strong id="gaussdb_11_0031__b963912342395">0</strong> to <strong id="gaussdb_11_0031__b11640163420398">19200000</strong>. (If there are already instances created, this parameter value must be greater than the used memory size.)</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="gaussdb_11_0031__section136891717133520"><h4 class="sectiontitle">Response Parameters</h4><p id="gaussdb_11_0031__p668941713517"><strong id="gaussdb_11_0031__b6917113723910">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0031__en-us_topic_0000001181244188_response_SetQuotasRequestBody" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="gaussdb_11_0031__row2689617133512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="gaussdb_11_0031__p1690417113520">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="gaussdb_11_0031__p8690181719356">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="gaussdb_11_0031__p8690121716357">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0031__row36898175355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="gaussdb_11_0031__p15690161715358">quota_list</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="gaussdb_11_0031__p4690817153517">Array of <a href="#gaussdb_11_0031__en-us_topic_0000001181244188_response_setQuota">setQuota</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="gaussdb_11_0031__p22140377">Configured quota information.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="gaussdb_11_0031__en-us_topic_0000001181244188_response_setQuota"></a><a name="en-us_topic_0000001181244188_response_setQuota"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0031__en-us_topic_0000001181244188_response_setQuota" frame="border" border="1" rules="all"><caption><b>Table 6 </b>setQuota</caption><thead align="left"><tr id="gaussdb_11_0031__row1169191720351"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="gaussdb_11_0031__p19691191719356">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="gaussdb_11_0031__p3691101733510">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="gaussdb_11_0031__p769151793519">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0031__row136911917183515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0031__p469114171350">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0031__p1569151712355">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0031__p169211733511">Enterprise project ID.</p>
</td>
</tr>
<tr id="gaussdb_11_0031__row26918172354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0031__p20692101703516">instance_quota</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0031__p186921417113510">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0031__p1969231716355">Quota of the DB instance quantity.</p>
</td>
</tr>
<tr id="gaussdb_11_0031__row1369181773518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0031__p769211763513">vcpus_quota</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0031__p1369271713357">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0031__p1069271743516">Quota of vCPUs.</p>
</td>
</tr>
<tr id="gaussdb_11_0031__row86911217183513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0031__p10692417193515">ram_quota</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0031__p10693141733510">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0031__p1769361733512">Memory quota in GB.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="gaussdb_11_0031__p6693617133517"><strong id="gaussdb_11_0031__b32836887472517">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0031__en-us_topic_0000001181244188_response_MysqlErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="gaussdb_11_0031__row126933178355"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="gaussdb_11_0031__p1693201719353">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="gaussdb_11_0031__p9693171713519">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="gaussdb_11_0031__p1469411710352">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0031__row11693111763515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="gaussdb_11_0031__p1694617113513">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="gaussdb_11_0031__p7694101753511">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="gaussdb_11_0031__p10694141733513">Error code.</p>
</td>
</tr>
<tr id="gaussdb_11_0031__row869317179357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="gaussdb_11_0031__p869401716352">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="gaussdb_11_0031__p1969401713518">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="gaussdb_11_0031__p1669420172356">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="gaussdb_11_0031__p136941517183517"><strong id="gaussdb_11_0031__b214351032964024">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0031__table196941175357" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="gaussdb_11_0031__row156951617203510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="gaussdb_11_0031__p18695131733511">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.2"><p id="gaussdb_11_0031__p56957173354">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.8.2.4.1.3"><p id="gaussdb_11_0031__p4695111714354">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0031__row669561710357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="gaussdb_11_0031__p12695317163511">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="gaussdb_11_0031__p176959172359">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="gaussdb_11_0031__p6696217163519">Error code.</p>
</td>
</tr>
<tr id="gaussdb_11_0031__row5695517153514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="gaussdb_11_0031__p4696517193519">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="gaussdb_11_0031__p1269651718352">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="gaussdb_11_0031__p156961917133511">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="gaussdb_11_0031__section06961617193513"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="gaussdb_11_0031__screen1669681713352">
POST https://gaussdb-mysql.eu-de.otc.t-systems.com/mysql/v3/0483b6b16e954cb88930a360d2c4e663/quotas
{
"quota_list" : [ {
"enterprise_project_id" : "0",
"instance_quota" : 20,
"vcpus_quota" : 20,
"ram_quota" : 40
} ]
}</pre>
</div>
<div class="section" id="gaussdb_11_0031__section1569721717355"><h4 class="sectiontitle">Example Response</h4><p id="gaussdb_11_0031__p18697917193510"><strong id="gaussdb_11_0031__b8558154973916">Status code: 200</strong></p>
<p id="gaussdb_11_0031__p1069741783519">Success.</p>
<pre class="screen" id="gaussdb_11_0031__screen146981517163514">{
"quota_list" : [ {
"enterprise_project_id" : "0",
"instance_quota" : 20,
"vcpus_quota" : 20,
"ram_quota" : 40
} ]
}</pre>
</div>
<div class="section" id="gaussdb_11_0031__section4778540915440"><h4 class="sectiontitle">Status Code</h4><p id="gaussdb_11_0031__p0723374409">For details, see <a href="gaussdb_10_0002.html">Status Codes</a>.</p>
</div>
<div class="section" id="gaussdb_11_0031__section2557116171718"><h4 class="sectiontitle">Error Code</h4><p id="gaussdb_11_0031__p855716160178">For details, see <a href="gaussdb_10_0003.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_11_0028.html">Quota Management</a></div>
</div>
</div>