forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
292 lines
22 KiB
HTML
292 lines
22 KiB
HTML
<a name="en-us_topic_0056890256"></a><a name="en-us_topic_0056890256"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining Specified DB Instance Specifications</h1>
|
|
<div id="body1492603082526"><div class="section" id="en-us_topic_0056890256__section44230431101549"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0056890256__p25895163101549">This API is used to obtain DB instance specifications of a specified specification ID.</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890256__section31729879101549"><h4 class="sectiontitle">URI</h4><ul id="en-us_topic_0056890256__ul19983374101549"><li id="en-us_topic_0056890256__li45632644101549">URI format<p id="en-us_topic_0056890256__p8040618101549"><a name="en-us_topic_0056890256__li45632644101549"></a><a name="li45632644101549"></a>PATH: /v1.0/{project_id}/flavors/{flavorId}</p>
|
|
<p id="en-us_topic_0056890256__p5256706101549">Method: GET</p>
|
|
</li><li id="en-us_topic_0056890256__li47310355101549">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890256__table23140016101549" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="en-us_topic_0056890256__row27795795101549"><th align="left" class="cellrowborder" valign="top" width="21.25%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="en-us_topic_0056890256__p36866898101549"><strong id="en-us_topic_0056890256__b84235270691445_1">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.38%" id="mcps1.3.2.2.2.1.2.4.1.2"><p id="en-us_topic_0056890256__p33428750101549"><strong id="en-us_topic_0056890256__b842352706102346_1">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.370000000000005%" id="mcps1.3.2.2.2.1.2.4.1.3"><p id="en-us_topic_0056890256__p23374190101549"><strong id="en-us_topic_0056890256__b842352706163417_1">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890256__row14261210101549"><td class="cellrowborder" valign="top" width="21.25%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="en-us_topic_0056890256__p14307387101549">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.38%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="en-us_topic_0056890256__p18047737101549">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.370000000000005%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="en-us_topic_0056890256__p52580603101549">Specifies the project ID of a tenant in a region.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row556889316231"><td class="cellrowborder" valign="top" width="21.25%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="en-us_topic_0056890256__p6457320716239">flavorId</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.38%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="en-us_topic_0056890256__p6304726516239">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.370000000000005%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="en-us_topic_0056890256__p417079116231">Specifies the specification ID.</p>
|
|
<p id="en-us_topic_0056890256__p64139204162316">When this parameter is empty, the URLs of all DB instance specifications are obtained. For details, see <span class="parmname" id="en-us_topic_0056890256__parmname1015220599105"><b>str_id</b></span> in <span class="parmname" id="en-us_topic_0056890256__parmname47834231116"><b>flavors</b></span> in section <a href="en-us_topic_0056890255.html">Obtaining All DB Instance Specifications</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0056890256__ul38418396101549"><li id="en-us_topic_0056890256__li273646671817">Restrictions<p id="en-us_topic_0056890256__p57152011145532"><a name="en-us_topic_0056890256__li273646671817"></a><a name="li273646671817"></a>Currently, only the DB engines MySQL and PostgreSQL are supported by the API.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890256__section28070818101549"><h4 class="sectiontitle">Request</h4><p id="en-us_topic_0056890256__p59143777101549">None</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890256__section62531952101549"><h4 class="sectiontitle">Normal Response</h4><ul id="en-us_topic_0056890256__ul31923327101549"><li id="en-us_topic_0056890256__li18874490101549">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890256__table37458421101549" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="en-us_topic_0056890256__row57880533101549"><th align="left" class="cellrowborder" valign="top" width="21.64%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="en-us_topic_0056890256__p57811625101549"><strong id="en-us_topic_0056890256__b84235270691445_5">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="29.25%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="en-us_topic_0056890256__p52230049101549"><strong id="en-us_topic_0056890256__b842352706164541_1">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.11%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="en-us_topic_0056890256__p2775590101549"><strong id="en-us_topic_0056890256__b842352706163417_5">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890256__row63972357101549"><td class="cellrowborder" valign="top" width="21.64%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="en-us_topic_0056890256__p14378425101549">ram</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.25%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="en-us_topic_0056890256__p23801806101549">Int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.11%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="en-us_topic_0056890256__p48898156101549">Indicates the memory specifications in GB.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row37430221101549"><td class="cellrowborder" valign="top" width="21.64%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="en-us_topic_0056890256__p11949066101549">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.25%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="en-us_topic_0056890256__p28350308101549">Int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.11%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="en-us_topic_0056890256__p14673602101549">Indicates the specification ID (Int type). Its default value is <strong id="en-us_topic_0056890256__b842352706114710">1</strong> because RDS uses UUID to store the specification ID and cannot convert it to the Int type.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row64953558101549"><td class="cellrowborder" valign="top" width="21.64%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="en-us_topic_0056890256__p26746870101549">links</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.25%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="en-us_topic_0056890256__p19012879101549">List data structure</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.11%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="en-us_topic_0056890256__p63648200101549">Indicates the link address.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row55230537101549"><td class="cellrowborder" valign="top" width="21.64%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="en-us_topic_0056890256__p44488507101549">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.25%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="en-us_topic_0056890256__p46799301101549">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.11%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="en-us_topic_0056890256__p32647056101549">Indicates the specification item name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row4160090011234"><td class="cellrowborder" valign="top" width="21.64%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="en-us_topic_0056890256__p6120435811252">str_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.25%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="en-us_topic_0056890256__p5860598511252">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.11%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="en-us_topic_0056890256__p4946435711252">Indicates the specification ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row47070999145632"><td class="cellrowborder" valign="top" width="21.64%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="en-us_topic_0056890256__p36569660145641">flavor_detail</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.25%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="en-us_topic_0056890256__p64947236145632">List data structure. For details, see <a href="#en-us_topic_0056890256__table6215887215014">Table 4</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.11%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="en-us_topic_0056890256__p26234743145632">Indicates the specification information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row60274269145636"><td class="cellrowborder" valign="top" width="21.64%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="en-us_topic_0056890256__p50377617145636">price_detail</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.25%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="en-us_topic_0056890256__p54055206145636">List data structure. For details, see <a href="#en-us_topic_0056890256__table6260788515016">Table 5</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.11%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="en-us_topic_0056890256__p16395588145636">Indicates the price information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row3177911615837"><td class="cellrowborder" valign="top" width="21.64%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="en-us_topic_0056890256__p2397160015837">flavor</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.25%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="en-us_topic_0056890256__p6265147715837">Dictionary data structure. For details, see <a href="#en-us_topic_0056890256__table497927581596">Table 6</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.11%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="en-us_topic_0056890256__p4160489915837">Indicates the embedded specification information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056890256__table25388053101549"></a><a name="table25388053101549"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890256__table25388053101549" frame="border" border="1" rules="all"><caption><b>Table 3 </b>links field data structure description</caption><thead align="left"><tr id="en-us_topic_0056890256__row6032865101549"><th align="left" class="cellrowborder" valign="top" width="22.009999999999998%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="en-us_topic_0056890256__p18900038101549"><strong id="en-us_topic_0056890256__b84235270691445_7">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="29.110000000000003%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="en-us_topic_0056890256__p54508124101549"><strong id="en-us_topic_0056890256__b842352706164541_3">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="48.88%" id="mcps1.3.4.2.1.2.2.4.1.3"><p id="en-us_topic_0056890256__p53081930101549"><strong id="en-us_topic_0056890256__b842352706163417_7">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890256__row7679206101549"><td class="cellrowborder" valign="top" width="22.009999999999998%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890256__p18035950101549">rel</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.110000000000003%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890256__p51625859101549">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.88%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890256__p20945036101549">Indicates the link property.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row703888311359"><td class="cellrowborder" valign="top" width="22.009999999999998%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056890256__p4425720211426">href</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.110000000000003%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056890256__p2806364211426">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.88%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056890256__p5856251411426">Indicates the API link. Its value is <strong id="en-us_topic_0056890256__b842352706182645">""</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056890256__table6215887215014"></a><a name="table6215887215014"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890256__table6215887215014" frame="border" border="1" rules="all"><caption><b>Table 4 </b>flavor_detail field data structure description</caption><thead align="left"><tr id="en-us_topic_0056890256__row1683573215014"><th align="left" class="cellrowborder" valign="top" width="21.447855214478555%" id="mcps1.3.4.2.1.3.2.4.1.1"><p id="en-us_topic_0056890256__p2151706915014"><strong id="en-us_topic_0056890256__b84235270691445_9">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="29.2970702929707%" id="mcps1.3.4.2.1.3.2.4.1.2"><p id="en-us_topic_0056890256__p6516099815014"><strong id="en-us_topic_0056890256__b842352706164541_5">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.25507449255074%" id="mcps1.3.4.2.1.3.2.4.1.3"><p id="en-us_topic_0056890256__p4354944715014"><strong id="en-us_topic_0056890256__b842352706163417_9">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890256__row3784431315014"><td class="cellrowborder" valign="top" width="21.447855214478555%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="en-us_topic_0056890256__p4549049915014">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.2970702929707%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="en-us_topic_0056890256__p6085182215014">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.25507449255074%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="en-us_topic_0056890256__p3005056215014">Indicates the specification name, such a cpu or mem.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row201960215014"><td class="cellrowborder" valign="top" width="21.447855214478555%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="en-us_topic_0056890256__p2937006915014">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.2970702929707%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="en-us_topic_0056890256__p3016539715014">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.25507449255074%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="en-us_topic_0056890256__p2747807315014">Indicates the specification item value.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056890256__table6260788515016"></a><a name="table6260788515016"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890256__table6260788515016" frame="border" border="1" rules="all"><caption><b>Table 5 </b>price_detail field data structure description</caption><thead align="left"><tr id="en-us_topic_0056890256__row1153918115016"><th align="left" class="cellrowborder" valign="top" width="21.46%" id="mcps1.3.4.2.1.4.2.4.1.1"><p id="en-us_topic_0056890256__p6225848115016"><strong id="en-us_topic_0056890256__b84235270691445_11">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="30.220000000000002%" id="mcps1.3.4.2.1.4.2.4.1.2"><p id="en-us_topic_0056890256__p977216415016"><strong id="en-us_topic_0056890256__b842352706164541_7">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="48.32%" id="mcps1.3.4.2.1.4.2.4.1.3"><p id="en-us_topic_0056890256__p5334785715016"><strong id="en-us_topic_0056890256__b842352706163417_11">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890256__row2620915015016"><td class="cellrowborder" valign="top" width="21.46%" headers="mcps1.3.4.2.1.4.2.4.1.1 "><p id="en-us_topic_0056890256__p4256638715016">timeUnit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.220000000000002%" headers="mcps1.3.4.2.1.4.2.4.1.2 "><p id="en-us_topic_0056890256__p2532533715016">Int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.32%" headers="mcps1.3.4.2.1.4.2.4.1.3 "><p id="en-us_topic_0056890256__p3808642315016">Indicates the pricing unit.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row723349515016"><td class="cellrowborder" valign="top" width="21.46%" headers="mcps1.3.4.2.1.4.2.4.1.1 "><p id="en-us_topic_0056890256__p4904225415016">price</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.220000000000002%" headers="mcps1.3.4.2.1.4.2.4.1.2 "><p id="en-us_topic_0056890256__p1299960015016">Float</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="48.32%" headers="mcps1.3.4.2.1.4.2.4.1.3 "><p id="en-us_topic_0056890256__p4633469515016">Indicates the unit price.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056890256__table497927581596"></a><a name="table497927581596"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056890256__table497927581596" frame="border" border="1" rules="all"><caption><b>Table 6 </b>flavor field data structure description</caption><thead align="left"><tr id="en-us_topic_0056890256__row78856391596"><th align="left" class="cellrowborder" valign="top" width="21.18%" id="mcps1.3.4.2.1.5.2.4.1.1"><p id="en-us_topic_0056890256__p347570181596"><strong id="en-us_topic_0056890256__b84235270691445_13">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="31.06%" id="mcps1.3.4.2.1.5.2.4.1.2"><p id="en-us_topic_0056890256__p638550821596"><strong id="en-us_topic_0056890256__b842352706164541_9">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="47.760000000000005%" id="mcps1.3.4.2.1.5.2.4.1.3"><p id="en-us_topic_0056890256__p48791341596"><strong id="en-us_topic_0056890256__b842352706163417_13">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056890256__row596337561596"><td class="cellrowborder" valign="top" width="21.18%" headers="mcps1.3.4.2.1.5.2.4.1.1 "><p id="en-us_topic_0056890256__p55464813151015">ram</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="31.06%" headers="mcps1.3.4.2.1.5.2.4.1.2 "><p id="en-us_topic_0056890256__p63464887151015">Int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.760000000000005%" headers="mcps1.3.4.2.1.5.2.4.1.3 "><p id="en-us_topic_0056890256__p40382213151015">Indicates the memory specifications in GB.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row3991536315958"><td class="cellrowborder" valign="top" width="21.18%" headers="mcps1.3.4.2.1.5.2.4.1.1 "><p id="en-us_topic_0056890256__p44951233151015">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="31.06%" headers="mcps1.3.4.2.1.5.2.4.1.2 "><p id="en-us_topic_0056890256__p17171274151015">Int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.760000000000005%" headers="mcps1.3.4.2.1.5.2.4.1.3 "><p id="en-us_topic_0056890256__p48695923151015">Indicates the specification ID (Int type). Its default value is <strong id="en-us_topic_0056890256__b23746938191548">1</strong> because RDS uses UUID to store the specification ID and cannot convert it to the Int type.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row21332647151021"><td class="cellrowborder" valign="top" width="21.18%" headers="mcps1.3.4.2.1.5.2.4.1.1 "><p id="en-us_topic_0056890256__p8108001151023">links</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="31.06%" headers="mcps1.3.4.2.1.5.2.4.1.2 "><p id="en-us_topic_0056890256__p52768370151023">List data structure. For details, see <a href="#en-us_topic_0056890256__table25388053101549">Table 3</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.760000000000005%" headers="mcps1.3.4.2.1.5.2.4.1.3 "><p id="en-us_topic_0056890256__p46379616151023">Indicates the link address.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row5033941196"><td class="cellrowborder" valign="top" width="21.18%" headers="mcps1.3.4.2.1.5.2.4.1.1 "><p id="en-us_topic_0056890256__p5196942811914">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="31.06%" headers="mcps1.3.4.2.1.5.2.4.1.2 "><p id="en-us_topic_0056890256__p4877410911914">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.760000000000005%" headers="mcps1.3.4.2.1.5.2.4.1.3 "><p id="en-us_topic_0056890256__p5838871811914">Indicates the specification item name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056890256__row3989126411837"><td class="cellrowborder" valign="top" width="21.18%" headers="mcps1.3.4.2.1.5.2.4.1.1 "><p id="en-us_topic_0056890256__p5641325211849">str_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="31.06%" headers="mcps1.3.4.2.1.5.2.4.1.2 "><p id="en-us_topic_0056890256__p607072411849">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.760000000000005%" headers="mcps1.3.4.2.1.5.2.4.1.3 "><p id="en-us_topic_0056890256__p2196665311849">Indicates the specification ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0056890256__ul4234447810173"><li id="en-us_topic_0056890256__li4555599010173">Response example<pre class="codeblock" id="en-us_topic_0056890256__codeblock22530842165817">{
|
|
"ram": 2,
|
|
"id": 1,
|
|
"links": null,
|
|
"name": "rds.pg.c2.medium",
|
|
"str_id": "9ff2a3a5-c859-bbc0-67f7-86ce59432b1d",
|
|
"flavor_detail": [
|
|
{
|
|
"name": "cpu",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "mem",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"name": "flavor",
|
|
"value": "normal1"
|
|
},
|
|
{
|
|
"name": "dbType",
|
|
"value": "MySQL"
|
|
},
|
|
{
|
|
"name": "serverType",
|
|
"value": "XEN"
|
|
}
|
|
],
|
|
"price_detail": [],
|
|
"flavor": {
|
|
"ram": 2048,
|
|
"id": 1,
|
|
"links": [
|
|
{
|
|
"rel": "self",
|
|
"href": ""
|
|
},
|
|
{
|
|
"rel": "bookmark",
|
|
"href": ""
|
|
}
|
|
],
|
|
"name": "rds.pg.c2.medium",
|
|
"str_id": "9ff2a3a5-c859-bbc0-67f7-86ce59432b1d"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056890256__section26140549101733"><h4 class="sectiontitle">Abnormal Response</h4><p id="en-us_topic_0056890256__p1030608810173">For details, see <a href="en-us_topic_0032488197.html">Abnormal Request Results</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rds_06_0021.html">DB Instance Management</a></div>
|
|
</div>
|
|
</div>
|
|
|