Files
doc-exports/docs/taurusdb/api-ref/gaussdb_11_0002.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

291 lines
23 KiB
HTML

<a name="gaussdb_11_0002"></a><a name="gaussdb_11_0002"></a>
<h1 class="topictitle1">Querying Database Specifications</h1>
<div id="body8662426"><div class="section" id="gaussdb_11_0002__en-us_topic_0000001297664645_section4850156117316"><h4 class="sectiontitle">Function</h4><p id="gaussdb_11_0002__en-us_topic_0000001267522832_en-us_topic_0000001250985350_p33831530">This API is used to query the database specifications of a specified DB engine version. Before calling this API:</p>
<ul id="gaussdb_11_0002__en-us_topic_0000001267522832_en-us_topic_0000001250985350_ul924420236520"><li id="gaussdb_11_0002__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_0002__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_0002__en-us_topic_0000001297664645_section28961517113719"><h4 class="sectiontitle">URI</h4><ul id="gaussdb_11_0002__en-us_topic_0000001297664645_ul53354139141429"><li id="gaussdb_11_0002__en-us_topic_0000001297664645_li1270098217262">URI format<p id="gaussdb_11_0002__en-us_topic_0000001297664645_p66079617141421"><a name="gaussdb_11_0002__en-us_topic_0000001297664645_li1270098217262"></a><a name="en-us_topic_0000001297664645_li1270098217262"></a>GET https://{endpoint}/mysql/v3/{project_id}/flavors/{database_name}?version_name={version_name}&amp;spec_code={spec_code}&amp;availability_zone_mode={availability_zone_mode}</p>
</li><li id="gaussdb_11_0002__en-us_topic_0000001297664645_li4411135064210">URI example<p id="gaussdb_11_0002__p2012712491798"><a name="gaussdb_11_0002__en-us_topic_0000001297664645_li4411135064210"></a><a name="en-us_topic_0000001297664645_li4411135064210"></a>GET https://gaussdb-mysql.eu-de.otc.t-systems.com/mysql/v3/0483b6b16e954cb88930a360d2c4e663/flavors/gaussdb-mysql</p>
</li></ul>
<ul id="gaussdb_11_0002__en-us_topic_0000001297664645_ul49831254144655"><li id="gaussdb_11_0002__en-us_topic_0000001297664645_li15430535">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0002__en-us_topic_0000001297664645_table4657088" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="gaussdb_11_0002__en-us_topic_0000001297664645_row60083059"><th align="left" class="cellrowborder" valign="top" width="19.28%" id="mcps1.3.2.3.1.1.2.5.1.1"><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p34889605"><strong id="gaussdb_11_0002__en-us_topic_0000001297664645_b1781355075812">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.79%" id="mcps1.3.2.3.1.1.2.5.1.2"><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p7485743">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.54%" id="mcps1.3.2.3.1.1.2.5.1.3"><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p8142132402317"><strong id="gaussdb_11_0002__en-us_topic_0000001297664645_b93714401318">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.39%" id="mcps1.3.2.3.1.1.2.5.1.4"><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p2365466"><strong id="gaussdb_11_0002__en-us_topic_0000001297664645_b1632505319583">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0002__en-us_topic_0000001297664645_row57385070"><td class="cellrowborder" valign="top" width="19.28%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p17679057">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="13.79%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p22717550">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="13.54%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p4142102472311">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.39%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p28182251">Project ID of a tenant in a region.</p>
<p id="gaussdb_11_0002__en-us_topic_0000001297664645_p181691757183820">To obtain this value, see <a href="gaussdb_10_0004.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__en-us_topic_0000001297664645_row2864326155157"><td class="cellrowborder" valign="top" width="19.28%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p41557789155220">database_name</p>
</td>
<td class="cellrowborder" valign="top" width="13.79%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p10737742155220">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="13.54%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p1414262472315">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.39%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p64450739155220">DB engine. Its value is case-insensitive and can be:</p>
<p id="gaussdb_11_0002__en-us_topic_0000001297664645_p1891125214710">gaussdb-mysql</p>
</td>
</tr>
<tr id="gaussdb_11_0002__en-us_topic_0000001297664645_row4161445171"><td class="cellrowborder" valign="top" width="19.28%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p516110417170">version_name</p>
</td>
<td class="cellrowborder" valign="top" width="13.79%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p116114111716">No</p>
</td>
<td class="cellrowborder" valign="top" width="13.54%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p614292492319">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.39%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p31610414179">DB version number. To obtain this value, see <a href="gaussdb_11_0001.html">Querying Version Information About a DB Engine</a>.</p>
<p id="gaussdb_11_0002__en-us_topic_0000001297664645_p1060961014295">Currently, only MySQL 8.0 is supported.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__en-us_topic_0000001297664645_row16889163192915"><td class="cellrowborder" valign="top" width="19.28%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p1888923122917">availability_zone_mode</p>
</td>
<td class="cellrowborder" valign="top" width="13.79%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p9891163618224">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="13.54%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p9142132412239">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.39%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p188910317293">AZ mode. Its value can be <strong id="gaussdb_11_0002__en-us_topic_0000001297664645_b6543174175513">single</strong> or <strong id="gaussdb_11_0002__en-us_topic_0000001297664645_b1552664905512">multi</strong> and is case-insensitive.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__en-us_topic_0000001297664645_row115971435205310"><td class="cellrowborder" valign="top" width="19.28%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p1959723516537">spec_code</p>
</td>
<td class="cellrowborder" valign="top" width="13.79%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p105971935105319">No</p>
</td>
<td class="cellrowborder" valign="top" width="13.54%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p1314392415235">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.39%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="gaussdb_11_0002__en-us_topic_0000001297664645_p10597235155311">Specification code.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="gaussdb_11_0002__section46319616382"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0002__en-us_topic_0000001181244182_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="gaussdb_11_0002__row116316643818"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="gaussdb_11_0002__p8632166385">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_0002__p563296193818">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_0002__p1632265388">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_0002__p0632967385">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0002__row36317663817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="gaussdb_11_0002__p196325610387">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_0002__p1363266143816">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="gaussdb_11_0002__p1363213612384">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="gaussdb_11_0002__p1163216612384">User token.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__row1163126113811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="gaussdb_11_0002__p8633176143810">X-Language</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="gaussdb_11_0002__p763396143817">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="gaussdb_11_0002__p156333614383">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="gaussdb_11_0002__p9633961388">Language.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__row81341518101810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="gaussdb_11_0002__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_0002__p36651643101518">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="gaussdb_11_0002__p10665443181514">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="gaussdb_11_0002__p1866504318159">MIME type of the request body. You are advised to use the default value <strong id="gaussdb_11_0002__b138261653162110">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>
<div class="section" id="gaussdb_11_0002__section166333643811"><h4 class="sectiontitle">Response Parameters</h4><p id="gaussdb_11_0002__p1563346113819"><strong id="gaussdb_11_0002__b441265882110">Status code: 202</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0002__en-us_topic_0000001181244182_response_MysqlFlavors" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameter</caption><thead align="left"><tr id="gaussdb_11_0002__row363318620388"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="gaussdb_11_0002__p116332616384">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_0002__p76341693817">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_0002__p13634862384">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0002__row663319617388"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="gaussdb_11_0002__p116343693818">flavors</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="gaussdb_11_0002__p1263413610387">Array of <a href="#gaussdb_11_0002__en-us_topic_0000001181244182_response_MysqlFlavorsInfo">MysqlFlavorsInfo</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="gaussdb_11_0002__p15634176183814">Instance specifications.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="gaussdb_11_0002__en-us_topic_0000001181244182_response_MysqlFlavorsInfo"></a><a name="en-us_topic_0000001181244182_response_MysqlFlavorsInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0002__en-us_topic_0000001181244182_response_MysqlFlavorsInfo" frame="border" border="1" rules="all"><caption><b>Table 4 </b>MysqlFlavorsInfo</caption><thead align="left"><tr id="gaussdb_11_0002__row763416203815"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="gaussdb_11_0002__p15635106193813">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_0002__p16350663815">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_0002__p0635366384">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0002__row176340683818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0002__p8635146113812">vcpus</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0002__p863536203811">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0002__p1635156113818">Number of vCPUs. For example, the value <strong id="gaussdb_11_0002__en-us_topic_0000001297664645_b1311053793611">1</strong> indicates 1 vCPU.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__row96347612383"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0002__p363613673814">ram</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0002__p1636106143817">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0002__p12636860388">Memory size in GB.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__row86341693819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0002__p1563610603810">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0002__p66361968387">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0002__p11636176193816">Specification type. The value is <strong id="gaussdb_11_0002__b17228510514">x86</strong>.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__row163414643812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0002__p7636136133813">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0002__p146361960387">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0002__p186361664383">Specification ID. The value must be unique.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__row1763418613382"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0002__p126361268388">spec_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0002__p1663716113814">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0002__p15559193110194">Resource specification code. Its value is same as the value of <strong id="gaussdb_11_0002__b182501357132219">flavor_ref</strong>.</p>
<p id="gaussdb_11_0002__p770642214313">Example: <strong id="gaussdb_11_0002__b17437733714330">gaussdb.mysql.xlarge.x86.8</strong>.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__row176341613381"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0002__p106376683818">version_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0002__p66371614389">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0002__p66378603816">DB version number.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__row1863420663810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0002__p2063712614385">instance_mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0002__p146370693810">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0002__p363710693813">DB instance type. Currently, only the cluster type is supported.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__row2063426183815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0002__p146372633812">az_status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0002__p1763710643813">Map&lt;String,String&gt;</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0002__p663812683816">Specification status in an AZ.</p>
<ul id="gaussdb_11_0002__ul763896153813"><li id="gaussdb_11_0002__li116389615383"><strong id="gaussdb_11_0002__b123982014483">normal</strong>: The specifications are available.</li><li id="gaussdb_11_0002__li166381768381"><strong id="gaussdb_11_0002__b1314192214482">unsupported</strong>: The specifications are not supported.</li><li id="gaussdb_11_0002__li163813623817"><strong id="gaussdb_11_0002__b17271624194813">sellout</strong>: The specifications are sold out.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<p id="gaussdb_11_0002__p1163876193816"><strong id="gaussdb_11_0002__b177884491238">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0002__en-us_topic_0000001181244182_response_MysqlErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="gaussdb_11_0002__row763814693810"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="gaussdb_11_0002__p563816113811">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_0002__p86394683819">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_0002__p1263915643811">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0002__row1638166163814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="gaussdb_11_0002__p06391468381">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="gaussdb_11_0002__p106392061384">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="gaussdb_11_0002__p1963936143816">Error code.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__row166381262386"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="gaussdb_11_0002__p10639156193810">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="gaussdb_11_0002__p116397633814">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="gaussdb_11_0002__p5639186123814">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="gaussdb_11_0002__p1563918663814"><strong id="gaussdb_11_0002__b98394562363944">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0002__table4639867383" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="gaussdb_11_0002__row4640265381"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="gaussdb_11_0002__p186408618385">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_0002__p76401360382">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_0002__p196401368385">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0002__row3640156123816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="gaussdb_11_0002__p764010663819">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="gaussdb_11_0002__p14640262383">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="gaussdb_11_0002__p46409613389">Error code.</p>
</td>
</tr>
<tr id="gaussdb_11_0002__row06404619383"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="gaussdb_11_0002__p18641962381">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="gaussdb_11_0002__p156411564381">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="gaussdb_11_0002__p1264146173812">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="gaussdb_11_0002__section1464156113811"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="gaussdb_11_0002__screen83125191411">GET https://gaussdb-mysql.eu-de.otc.t-systems.com/mysql/v3/0483b6b16e954cb88930a360d2c4e663/flavors/gaussdb-mysql</pre>
</div>
<div class="section" id="gaussdb_11_0002__section15641662382"><h4 class="sectiontitle">Example Response</h4><p id="gaussdb_11_0002__p10641367386"><strong id="gaussdb_11_0002__b1299015317223">Status code: 202</strong></p>
<p id="gaussdb_11_0002__p11641763382">Success.</p>
<pre class="screen" id="gaussdb_11_0002__screen486395510165">{
"flavors" : [ {
"vcpus" : "4",
"ram" : "32",
"type" : "x86",
"id" : "3169caaf-6c2f-41d5-aadd-c8fc3d83597e",
"spec_code" : "gaussdb.mysql.xlarge.x86.8",
"instance_mode" : "Cluster",
"version_name" : "8.0",
"az_status" : {
"eu-de-01" : "normal"
}
} ]
}</pre>
</div>
<div class="section" id="gaussdb_11_0002__section4778540915440"><h4 class="sectiontitle">Status Code</h4><p id="gaussdb_11_0002__p0723374409">For details, see <a href="gaussdb_10_0002.html">Status Codes</a>.</p>
</div>
<div class="section" id="gaussdb_11_0002__section2557116171718"><h4 class="sectiontitle">Error Code</h4><p id="gaussdb_11_0002__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_0000.html">APIs (Unavailable Soon)</a></div>
</div>
</div>