forked from docs/doc-exports
Reviewed-by: Drobnak, David <david.drobnak@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
813 lines
70 KiB
HTML
813 lines
70 KiB
HTML
<a name="en-us_topic_0056889804"></a><a name="en-us_topic_0056889804"></a>
|
|
|
|
<h1 class="topictitle1">Creating a DB Instance</h1>
|
|
<div id="body1492602043629"><div class="section" id="en-us_topic_0056889804__section4284989"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0056889804__p28332047">This API is used to create a single RDS DB instance or a read replica.</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056889804__section38564907"><h4 class="sectiontitle">URI</h4><ul id="en-us_topic_0056889804__ul13194498"><li id="en-us_topic_0056889804__li51641620">URI format<p id="en-us_topic_0056889804__p62121397"><a name="en-us_topic_0056889804__li51641620"></a><a name="li51641620"></a>PATH: /v1.0/{project_id}/instances</p>
|
|
<p id="en-us_topic_0056889804__p62184411154534">Method: POST</p>
|
|
</li><li id="en-us_topic_0056889804__li22221662">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table65777232" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="en-us_topic_0056889804__row46529701"><th align="left" class="cellrowborder" valign="top" width="19.040000000000003%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="en-us_topic_0056889804__p10809459"><strong id="en-us_topic_0056889804__b84235270691445_1">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="30.5%" id="mcps1.3.2.2.2.1.2.4.1.2"><p id="en-us_topic_0056889804__p3150961"><strong id="en-us_topic_0056889804__b842352706102346_1">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.46000000000001%" id="mcps1.3.2.2.2.1.2.4.1.3"><p id="en-us_topic_0056889804__p53901255"><strong id="en-us_topic_0056889804__b842352706163417_1">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row3925534"><td class="cellrowborder" valign="top" width="19.040000000000003%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="en-us_topic_0056889804__p49532829">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.5%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="en-us_topic_0056889804__p52736237">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.46000000000001%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="en-us_topic_0056889804__p43776822">Specifies the project ID of a tenant in a region.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="en-us_topic_0056889804__li273646671817">Restrictions<p id="en-us_topic_0056889804__p57152011145532"><a name="en-us_topic_0056889804__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_0056889804__section5589818810531"><h4 class="sectiontitle">Request</h4><ul id="en-us_topic_0056889804__ul36592919"><li id="en-us_topic_0056889804__li60900816">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table6209466312442" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="en-us_topic_0056889804__row6512234412442"><th align="left" class="cellrowborder" valign="top" width="21.307869213078693%" id="mcps1.3.3.2.1.1.2.4.1.1"><p id="en-us_topic_0056889804__p4041853012442"><strong id="en-us_topic_0056889804__b84235270691445_5">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.44715528447155%" id="mcps1.3.3.2.1.1.2.4.1.2"><p id="en-us_topic_0056889804__p5267548812442"><strong id="en-us_topic_0056889804__b842352706164541_1">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.24497550244975%" id="mcps1.3.3.2.1.1.2.4.1.3"><p id="en-us_topic_0056889804__p3885613912442"><strong id="en-us_topic_0056889804__b842352706163417_5">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row6033953012442"><td class="cellrowborder" valign="top" width="21.307869213078693%" headers="mcps1.3.3.2.1.1.2.4.1.1 "><p id="en-us_topic_0056889804__p5566375012442">instance</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.44715528447155%" headers="mcps1.3.3.2.1.1.2.4.1.2 "><p id="en-us_topic_0056889804__p5287375317633">Dictionary data structure.</p>
|
|
<p id="en-us_topic_0056889804__p1246986212442">For details on the field description when creating a single DB instance, see <a href="#en-us_topic_0056889804__table11236435">Table 3</a>.</p>
|
|
<p id="en-us_topic_0056889804__p590235817628">For details on the field description when creating a read replica, see <a href="#en-us_topic_0056889804__table32692621183156">Table 4</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.24497550244975%" headers="mcps1.3.3.2.1.1.2.4.1.3 "><p id="en-us_topic_0056889804__p48757463124544">Specifies the detailed DB instance information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056889804__table11236435"></a><a name="table11236435"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table11236435" frame="border" border="1" rules="all"><caption><b>Table 3 </b>instance field data structure (creating a single DB instance)</caption><thead align="left"><tr id="en-us_topic_0056889804__row61525259"><th align="left" class="cellrowborder" valign="top" width="21.990000000000002%" id="mcps1.3.3.2.1.2.2.5.1.1"><p id="en-us_topic_0056889804__p17490046"><strong id="en-us_topic_0056889804__b84235270691445_7">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.119999999999997%" id="mcps1.3.3.2.1.2.2.5.1.2"><p id="en-us_topic_0056889804__p7407659"><strong id="en-us_topic_0056889804__b842352706102346_5">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32.89%" id="mcps1.3.3.2.1.2.2.5.1.3"><p id="en-us_topic_0056889804__p63149496"><strong id="en-us_topic_0056889804__b842352706164541_3">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.1.2.2.5.1.4"><p id="en-us_topic_0056889804__p14835533"><strong id="en-us_topic_0056889804__b842352706163417_7">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row61715939182217"><td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056889804__p31636595182226">datastore</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.119999999999997%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056889804__p12427415182226">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.89%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056889804__p67096522182226">Dictionary data structure. For details, see <a href="#en-us_topic_0056889804__table1282893518295">Table 5</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056889804__p58112242182226">Specifies the database information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row60827539"><td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056889804__p28083633">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.119999999999997%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056889804__p60181840">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.89%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056889804__p42890904">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056889804__p23411412333">Specifies the DB instance name.</p>
|
|
<p id="en-us_topic_0056889804__p112761271615">DB instances of the same type can have same names under the same tenant.</p>
|
|
<p id="en-us_topic_0056889804__p61847473">Valid value:</p>
|
|
<p id="en-us_topic_0056889804__p49586916144357">The value must be 4 to 64 characters in length and start with a letter. It can contain only uppercase letters, lowercase letters, digits, underscores (_), and hyphens (-).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row42565233"><td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056889804__p25231885">flavorRef</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.119999999999997%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056889804__p30516772">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.89%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056889804__p55939488">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056889804__p34804713">Specifies the specification ID (<span class="parmname" id="en-us_topic_0056889804__parmname1056617516452"><b>str_id</b></span> in the response message in <a href="en-us_topic_0056890255.html#en-us_topic_0056890255__table5932144310813">Table 3</a> in section <a href="en-us_topic_0056890255.html">Obtaining All DB Instance Specifications</a>).</p>
|
|
<p id="en-us_topic_0056889804__p44806966">Valid value:</p>
|
|
<p id="en-us_topic_0056889804__p384473214443">The value cannot be empty. The string length and whether the string complying with UUID regular expression rules are verified.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row10911119122552"><td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056889804__p37921377122726">users</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.119999999999997%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056889804__p51732731122726">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.89%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056889804__p29601710122726">List data structure. For details, see <a href="#en-us_topic_0056889804__table52086869182956">Table 6</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056889804__p37701418122726">Specifies the user information.</p>
|
|
<p id="en-us_topic_0056889804__p3768444122726">It must contain the administrator username (for mysql and postgres, the administrator username is <strong id="en-us_topic_0056889804__b842352706192849">root</strong>) and the administrator password.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row10212442122810"><td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056889804__p38533284122814">volume</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.119999999999997%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056889804__p34188317122814">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.89%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056889804__p17790262122814">Dictionary data structure. For details, see <a href="#en-us_topic_0056889804__table812499818308">Table 7</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056889804__p17090258122814">Specifies the volume information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row38255771182316"><td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056889804__p7458408182320">configuration</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.119999999999997%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056889804__p151300182320">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.89%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056889804__p12255300182320">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056889804__p8634903182320">Specifies the configuration parameter set used for initializing the database. For details about how to obtain this parameter value, see <strong id="en-us_topic_0056889804__b842352706195521">configurations.id</strong> in the response message in section <a href="en-us_topic_0056890260.html">Obtaining a Parameter Template List</a>.</p>
|
|
<p id="en-us_topic_0056889804__p10605265182320">Valid value: The value cannot be empty. The string length and whether the string complying with UUID regular expression rules are verified.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row15044115182424"><td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056889804__p18168441182430">databases</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.119999999999997%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056889804__p62357587182430">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.89%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056889804__p17799769182430">List data structure. For details, see <a href="#en-us_topic_0056889804__table10656503">Table 8</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056889804__p24021533182430">Currently, this parameter is not supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row14119184171355"><td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056889804__p52247814171716">modules</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.119999999999997%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056889804__p4214542171716">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.89%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056889804__p5833635171716">Array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056889804__p24861712171716">Currently, this parameter is not supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row5231214612292"><td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056889804__p636523122911">nics</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.119999999999997%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056889804__p51558387122911">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.89%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056889804__p15479795122911">Array. For details, see <a href="#en-us_topic_0056889804__table2179128">Table 9</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056889804__p10481848122911">Specifies the nics information. For details about how to obtain this parameter value, see section "Subnet" in the <em id="en-us_topic_0056889804__i842352697165629">Virtual Private Cloud API Reference</em>.</p>
|
|
<p id="en-us_topic_0056889804__p27227773122911">If this parameter is not specified, RDS will query the VPC, subnet, and security group of the tenant. By default, the first query result is the parameter value.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row9307971"><td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056889804__p15748167">availability_zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.119999999999997%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056889804__p533144">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.89%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056889804__p43184669">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056889804__p8297278">Specifies the AZ ID.</p>
|
|
<p id="en-us_topic_0056889804__p6574938217430">Valid value:</p>
|
|
<p id="en-us_topic_0056889804__p3825082612023">For details about how to obtain this parameter value, see <a href="https://docs.otc.t-systems.com/en-us/endpoint/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row53995777123132"><td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056889804__p31441858123142">vpc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.119999999999997%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056889804__p63762573123142">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.89%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056889804__p64494764123142">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056889804__p56693384123142">Specifies the VPC ID. For details about how to obtain this parameter value, see section "Virtual Private Cloud" in the <em id="en-us_topic_0056889804__i899345101">Virtual Private Cloud API Reference</em>.</p>
|
|
<p id="en-us_topic_0056889804__p40478408123142">Valid value:</p>
|
|
<p id="en-us_topic_0056889804__p28761352123142">The value cannot be empty. The string length and whether the string complying with UUID regular expression rules are verified.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row37460321"><td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056889804__p884523171817">restorePoint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.119999999999997%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056889804__p4537551171817">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.89%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056889804__p31997314171817">Dictionary data structure. For details, see <a href="#en-us_topic_0056889804__table41613092172617">Table 10</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056889804__p41645679171817">Specifies the configuration parameter for restoring data to a new DB instance.</p>
|
|
<p id="en-us_topic_0056889804__p39266794171817">Currently, this parameter is not supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row33762549"><td class="cellrowborder" valign="top" width="21.990000000000002%" headers="mcps1.3.3.2.1.2.2.5.1.1 "><p id="en-us_topic_0056889804__p31027925171837">cluster_config</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.119999999999997%" headers="mcps1.3.3.2.1.2.2.5.1.2 "><p id="en-us_topic_0056889804__p30233960171837">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.89%" headers="mcps1.3.3.2.1.2.2.5.1.3 "><p id="en-us_topic_0056889804__p33031733171837">Dictionary data structure. For details, see <a href="#en-us_topic_0056889804__table19785388173024">Table 11</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.2.2.5.1.4 "><p id="en-us_topic_0056889804__p58324706171837">Currently, this parameter is not supported.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056889804__table32692621183156"></a><a name="table32692621183156"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table32692621183156" frame="border" border="1" rules="all"><caption><b>Table 4 </b>instance field data structure description (creating a read replica)</caption><thead align="left"><tr id="en-us_topic_0056889804__row47515064183156"><th align="left" class="cellrowborder" valign="top" width="22.18%" id="mcps1.3.3.2.1.3.2.5.1.1"><p id="en-us_topic_0056889804__p23514980183156"><strong id="en-us_topic_0056889804__b84235270691445_9">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.74%" id="mcps1.3.3.2.1.3.2.5.1.2"><p id="en-us_topic_0056889804__p25665224183156"><strong id="en-us_topic_0056889804__b842352706102346_7">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.08%" id="mcps1.3.3.2.1.3.2.5.1.3"><p id="en-us_topic_0056889804__p65617293183156"><strong id="en-us_topic_0056889804__b842352706164541_5">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.1.3.2.5.1.4"><p id="en-us_topic_0056889804__p13400539183156"><strong id="en-us_topic_0056889804__b842352706163417_9">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row11701849183156"><td class="cellrowborder" valign="top" width="22.18%" headers="mcps1.3.3.2.1.3.2.5.1.1 "><p id="en-us_topic_0056889804__p8325679183156">datastore</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.74%" headers="mcps1.3.3.2.1.3.2.5.1.2 "><p id="en-us_topic_0056889804__p3291398183156">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.08%" headers="mcps1.3.3.2.1.3.2.5.1.3 "><p id="en-us_topic_0056889804__p65276677183156">Dictionary data structure. For details, see <a href="#en-us_topic_0056889804__table1282893518295">Table 5</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.3.2.5.1.4 "><p id="en-us_topic_0056889804__p6513539183156">Specifies the database information. Its value must be the same as the primary DB instance.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row58621854183156"><td class="cellrowborder" valign="top" width="22.18%" headers="mcps1.3.3.2.1.3.2.5.1.1 "><p id="en-us_topic_0056889804__p50749703183156">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.74%" headers="mcps1.3.3.2.1.3.2.5.1.2 "><p id="en-us_topic_0056889804__p17085240183156">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.08%" headers="mcps1.3.3.2.1.3.2.5.1.3 "><p id="en-us_topic_0056889804__p41727194183156">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.3.2.5.1.4 "><p id="en-us_topic_0056889804__p2040583212443">Specifies the DB instance name.</p>
|
|
<p id="en-us_topic_0056889804__p10137195483510">DB instances of the same type can have same names under the same tenant.</p>
|
|
<p id="en-us_topic_0056889804__p18809274183156">Valid value:</p>
|
|
<p id="en-us_topic_0056889804__p35065743183156">The value must be 4 to 64 characters in length and start with a letter. It can contain only letters, digits, underscores (_), and hyphens (-).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row47156236183156"><td class="cellrowborder" valign="top" width="22.18%" headers="mcps1.3.3.2.1.3.2.5.1.1 "><p id="en-us_topic_0056889804__p61558795183156">flavorRef</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.74%" headers="mcps1.3.3.2.1.3.2.5.1.2 "><p id="en-us_topic_0056889804__p20206494183156">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.08%" headers="mcps1.3.3.2.1.3.2.5.1.3 "><p id="en-us_topic_0056889804__p26113326183156">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.3.2.5.1.4 "><p id="en-us_topic_0056889804__p34804642183156">Specifies the specification ID (<span class="parmname" id="en-us_topic_0056889804__parmname1751651919427"><b>str_id</b></span> in the response message in <a href="en-us_topic_0056890255.html#en-us_topic_0056890255__table5932144310813">Table 3</a> in section <a href="en-us_topic_0056890255.html">Obtaining All DB Instance Specifications</a>).</p>
|
|
<p id="en-us_topic_0056889804__p603747183156">Valid value:</p>
|
|
<p id="en-us_topic_0056889804__p5433723183156">The value cannot be empty. The string length and whether the string complying with UUID regular expression rules are verified.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row328001112117"><td class="cellrowborder" valign="top" width="22.18%" headers="mcps1.3.3.2.1.3.2.5.1.1 "><p id="en-us_topic_0056889804__p1664755712120">volume</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.74%" headers="mcps1.3.3.2.1.3.2.5.1.2 "><p id="en-us_topic_0056889804__p627490612120">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.08%" headers="mcps1.3.3.2.1.3.2.5.1.3 "><p id="en-us_topic_0056889804__p3850540012120">Dictionary data structure. For details, see <a href="#en-us_topic_0056889804__table812499818308">Table 7</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.3.2.5.1.4 "><p id="en-us_topic_0056889804__p1893157412120">Specifies the volume information. The volume information must be the same as that of the primary DB instance.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row61351644161119"><td class="cellrowborder" valign="top" width="22.18%" headers="mcps1.3.3.2.1.3.2.5.1.1 "><p id="en-us_topic_0056889804__p23260218161128">slave_of</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.74%" headers="mcps1.3.3.2.1.3.2.5.1.2 "><p id="en-us_topic_0056889804__p5029466161128">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.08%" headers="mcps1.3.3.2.1.3.2.5.1.3 "><p id="en-us_topic_0056889804__p4733574161128">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.3.2.5.1.4 "><p id="en-us_topic_0056889804__p10161974161148">Specifies the read replica configuration parameter. It is used to create a read replica of a primary DB instance specified by <strong id="en-us_topic_0056889804__b84235270617137_1">slave_of</strong>.</p>
|
|
<p id="en-us_topic_0056889804__p47875239161128">Valid value: The value cannot be empty. The string length and whether the string complying with UUID regular expression rules are verified. Only the primary DB instance ID is valid.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row60704404161359"><td class="cellrowborder" valign="top" width="22.18%" headers="mcps1.3.3.2.1.3.2.5.1.1 "><p id="en-us_topic_0056889804__p45660683161412">replica_of</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.74%" headers="mcps1.3.3.2.1.3.2.5.1.2 "><p id="en-us_topic_0056889804__p7527855161412">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.08%" headers="mcps1.3.3.2.1.3.2.5.1.3 "><p id="en-us_topic_0056889804__p5776482161412">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.3.2.5.1.4 "><p id="en-us_topic_0056889804__p64063826161443">Specifies the read replica configuration parameter. It is used to create a read replica of a primary DB instance specified by <strong id="en-us_topic_0056889804__b84235270617137_3">replica_of</strong>.</p>
|
|
<p id="en-us_topic_0056889804__p65241935161412">Valid value: The value cannot be empty. The string length and whether the string complying with UUID regular expression rules are verified. Only the primary DB instance ID is valid.</p>
|
|
<p id="en-us_topic_0056889804__p50306506161412">If both <strong id="en-us_topic_0056889804__b842352706203428">slave_of</strong> and <strong id="en-us_topic_0056889804__b842352706203431">replica_of</strong> exist, use <strong id="en-us_topic_0056889804__b686831585203452">replica_of</strong> first.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row50975269161930"><td class="cellrowborder" valign="top" width="22.18%" headers="mcps1.3.3.2.1.3.2.5.1.1 "><p id="en-us_topic_0056889804__p24652695161945">replica_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.74%" headers="mcps1.3.3.2.1.3.2.5.1.2 "><p id="en-us_topic_0056889804__p50711289161945">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.08%" headers="mcps1.3.3.2.1.3.2.5.1.3 "><p id="en-us_topic_0056889804__p13973768161945">Int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.3.2.5.1.4 "><p id="en-us_topic_0056889804__p58133419161945">Specifies the number of read replicas.</p>
|
|
<p id="en-us_topic_0056889804__p53438728161945">Currently, creating multiple read replicas at a time is not supported.</p>
|
|
<p id="en-us_topic_0056889804__p2356597816205">Valid value: <strong id="en-us_topic_0056889804__b842352706113942">1</strong> or not contained in the request.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056889804__table1282893518295"></a><a name="table1282893518295"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table1282893518295" frame="border" border="1" rules="all"><caption><b>Table 5 </b>datastore field data structure description</caption><thead align="left"><tr id="en-us_topic_0056889804__row1297240218295"><th align="left" class="cellrowborder" valign="top" width="22.052205220522055%" id="mcps1.3.3.2.1.4.2.5.1.1"><p id="en-us_topic_0056889804__p4413161718295"><strong id="en-us_topic_0056889804__b84235270691445_11">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.801980198019802%" id="mcps1.3.3.2.1.4.2.5.1.2"><p id="en-us_topic_0056889804__p1789121318295"><strong id="en-us_topic_0056889804__b842352706102346_9">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.14331433143314%" id="mcps1.3.3.2.1.4.2.5.1.3"><p id="en-us_topic_0056889804__p3990210918295"><strong id="en-us_topic_0056889804__b842352706164541_7">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.002500250025%" id="mcps1.3.3.2.1.4.2.5.1.4"><p id="en-us_topic_0056889804__p1084536918295"><strong id="en-us_topic_0056889804__b842352706163417_11">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row605972218295"><td class="cellrowborder" valign="top" width="22.052205220522055%" headers="mcps1.3.3.2.1.4.2.5.1.1 "><p id="en-us_topic_0056889804__p2107551218295">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.1.4.2.5.1.2 "><p id="en-us_topic_0056889804__p2939492218295">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.14331433143314%" headers="mcps1.3.3.2.1.4.2.5.1.3 "><p id="en-us_topic_0056889804__p3217850518295">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.002500250025%" headers="mcps1.3.3.2.1.4.2.5.1.4 "><p id="en-us_topic_0056889804__p5632210818295">Specifies the DB engine.</p>
|
|
<p id="en-us_topic_0056889804__p3713692918295">Currently, the DB engines MySQL and PostgreSQL are supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row6579690818295"><td class="cellrowborder" valign="top" width="22.052205220522055%" headers="mcps1.3.3.2.1.4.2.5.1.1 "><p id="en-us_topic_0056889804__p2794931218295">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.1.4.2.5.1.2 "><p id="en-us_topic_0056889804__p4930179318295">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.14331433143314%" headers="mcps1.3.3.2.1.4.2.5.1.3 "><p id="en-us_topic_0056889804__p3402226218295">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.002500250025%" headers="mcps1.3.3.2.1.4.2.5.1.4 "><p id="en-us_topic_0056889804__p433981518295">Specifies the database version.</p>
|
|
<ul id="en-us_topic_0056889804__ul2128855618558"><li id="en-us_topic_0056889804__li532251018558">MySQL databases support 5.6, 5.7 and 8.0. Example value: 5.7</li><li id="en-us_topic_0056889804__li926104115396">PostgreSQL databases support 9.5, 9.6, 10, 11, 12, 13, 14 and 15. Example value: 9.6</li></ul>
|
|
<p id="en-us_topic_0056889804__p2139751518103">For details about supported database versions, see section <a href="en-us_topic_0032347782.html">Database Version Queries</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056889804__table52086869182956"></a><a name="table52086869182956"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table52086869182956" frame="border" border="1" rules="all"><caption><b>Table 6 </b>users field data structure description</caption><thead align="left"><tr id="en-us_topic_0056889804__row35321281182956"><th align="left" class="cellrowborder" valign="top" width="21.73%" id="mcps1.3.3.2.1.5.2.5.1.1"><p id="en-us_topic_0056889804__p42451536182956"><strong id="en-us_topic_0056889804__b84235270691445_13">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.36%" id="mcps1.3.3.2.1.5.2.5.1.2"><p id="en-us_topic_0056889804__p16022387182956"><strong id="en-us_topic_0056889804__b842352706102346_11">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32.910000000000004%" id="mcps1.3.3.2.1.5.2.5.1.3"><p id="en-us_topic_0056889804__p22744979182956"><strong id="en-us_topic_0056889804__b842352706164541_9">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.1.5.2.5.1.4"><p id="en-us_topic_0056889804__p30403991182956"><strong id="en-us_topic_0056889804__b842352706163417_13">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row46804200182956"><td class="cellrowborder" valign="top" width="21.73%" headers="mcps1.3.3.2.1.5.2.5.1.1 "><p id="en-us_topic_0056889804__p33043821182956">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.36%" headers="mcps1.3.3.2.1.5.2.5.1.2 "><p id="en-us_topic_0056889804__p59303822182956">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.910000000000004%" headers="mcps1.3.3.2.1.5.2.5.1.3 "><p id="en-us_topic_0056889804__p38880309182956">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.5.2.5.1.4 "><p id="en-us_topic_0056889804__p62297287182956">Specifies the database username. Currently, the database username for mysql and postgres is <strong id="en-us_topic_0056889804__b842352706213032">root</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row23804677182956"><td class="cellrowborder" valign="top" width="21.73%" headers="mcps1.3.3.2.1.5.2.5.1.1 "><p id="en-us_topic_0056889804__p49130661182956">password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.36%" headers="mcps1.3.3.2.1.5.2.5.1.2 "><p id="en-us_topic_0056889804__p20160614182956">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.910000000000004%" headers="mcps1.3.3.2.1.5.2.5.1.3 "><p id="en-us_topic_0056889804__p22397039182956">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.5.2.5.1.4 "><p id="en-us_topic_0056889804__p2220905182956">Specifies the password of the database user.</p>
|
|
<p id="en-us_topic_0056889804__p4185084616327">The value cannot be empty and should contain 8 to 32 characters, including uppercase and lowercase letters, digits, and the following special characters: ~!@#%^*-_=+?</p>
|
|
<p id="en-us_topic_0056889804__p9502105116614">If provided password will be considered by system as weak, you will receive an error and you should provide stronger password.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row19988152182956"><td class="cellrowborder" valign="top" width="21.73%" headers="mcps1.3.3.2.1.5.2.5.1.1 "><p id="en-us_topic_0056889804__p8427614182956">databases</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.36%" headers="mcps1.3.3.2.1.5.2.5.1.2 "><p id="en-us_topic_0056889804__p11548104182956">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.910000000000004%" headers="mcps1.3.3.2.1.5.2.5.1.3 "><p id="en-us_topic_0056889804__p62981214182956">Array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.5.2.5.1.4 "><p id="en-us_topic_0056889804__p1204746182956">Currently, this parameter is not supported.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056889804__table812499818308"></a><a name="table812499818308"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table812499818308" frame="border" border="1" rules="all"><caption><b>Table 7 </b>volume field data structure description</caption><thead align="left"><tr id="en-us_topic_0056889804__row1209876418308"><th align="left" class="cellrowborder" valign="top" width="21.529999999999998%" id="mcps1.3.3.2.1.6.2.5.1.1"><p id="en-us_topic_0056889804__p4047583118308"><strong id="en-us_topic_0056889804__b84235270691445_15">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.77%" id="mcps1.3.3.2.1.6.2.5.1.2"><p id="en-us_topic_0056889804__p5731685418308"><strong id="en-us_topic_0056889804__b842352706102346_13">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32.99%" id="mcps1.3.3.2.1.6.2.5.1.3"><p id="en-us_topic_0056889804__p1215358618308"><strong id="en-us_topic_0056889804__b842352706164541_11">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.709999999999997%" id="mcps1.3.3.2.1.6.2.5.1.4"><p id="en-us_topic_0056889804__p4491637018308"><strong id="en-us_topic_0056889804__b842352706163417_15">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row1434732618308"><td class="cellrowborder" valign="top" width="21.529999999999998%" headers="mcps1.3.3.2.1.6.2.5.1.1 "><p id="en-us_topic_0056889804__p12805632123442">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.77%" headers="mcps1.3.3.2.1.6.2.5.1.2 "><p id="en-us_topic_0056889804__p30623235123442">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.99%" headers="mcps1.3.3.2.1.6.2.5.1.3 "><p id="en-us_topic_0056889804__p64563008123442">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.709999999999997%" headers="mcps1.3.3.2.1.6.2.5.1.4 "><p id="en-us_topic_0056889804__p8172010105044">Specifies the volume type.</p>
|
|
<p id="en-us_topic_0056889804__p62221149123442">Its value can be any of the following and is case-sensitive:</p>
|
|
<ul id="en-us_topic_0056889804__ul06211247141917"><li id="en-us_topic_0056889804__li5621447111914"><strong id="en-us_topic_0056889804__b1033916119322">COMMON</strong>: indicates the SATA type.</li><li id="en-us_topic_0056889804__li0621114751918"><strong id="en-us_topic_0056889804__b182031914183213">ULTRAHIGH</strong>: indicates the SSD type.</li></ul>
|
|
<div class="note" id="en-us_topic_0056889804__note23119431123442"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0056889804__p6748290123442">In the Trove API, this parameter is optional in the request. If this parameter is not contained in the request, its value is <strong id="en-us_topic_0056889804__b842352706214824">COMMON</strong> by default. If this parameter is specified, the volume type must be set to a value supported by the old API.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row1030080118308"><td class="cellrowborder" valign="top" width="21.529999999999998%" headers="mcps1.3.3.2.1.6.2.5.1.1 "><p id="en-us_topic_0056889804__p20556829123442">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.77%" headers="mcps1.3.3.2.1.6.2.5.1.2 "><p id="en-us_topic_0056889804__p54490430123442">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.99%" headers="mcps1.3.3.2.1.6.2.5.1.3 "><p id="en-us_topic_0056889804__p51648741123442">Int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.709999999999997%" headers="mcps1.3.3.2.1.6.2.5.1.4 "><p id="en-us_topic_0056889804__p22798455123442">Specifies the volume size in gigabytes (GB).</p>
|
|
<p id="en-us_topic_0056889804__p35443891">Its value must be a multiple of 10 and the value range is from 40 GB to 4000 GB.</p>
|
|
<div class="note" id="en-us_topic_0056889804__note6488766393554"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0056889804__p4711805793554">If the size is a decimal value, the system will round it down.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056889804__table10656503"></a><a name="table10656503"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table10656503" frame="border" border="1" rules="all"><caption><b>Table 8 </b>databases field data structure description (not supported currently)</caption><thead align="left"><tr id="en-us_topic_0056889804__row5847780"><th align="left" class="cellrowborder" valign="top" width="21.43214321432143%" id="mcps1.3.3.2.1.7.2.5.1.1"><p id="en-us_topic_0056889804__p3908185"><strong id="en-us_topic_0056889804__b84235270691445_17">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.122112211221122%" id="mcps1.3.3.2.1.7.2.5.1.2"><p id="en-us_topic_0056889804__p48127554"><strong id="en-us_topic_0056889804__b842352706102346_15">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32.87328732873287%" id="mcps1.3.3.2.1.7.2.5.1.3"><p id="en-us_topic_0056889804__p6017800"><strong id="en-us_topic_0056889804__b842352706164541_13">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.57245724572457%" id="mcps1.3.3.2.1.7.2.5.1.4"><p id="en-us_topic_0056889804__p17679762"><strong id="en-us_topic_0056889804__b842352706163417_17">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row32061346123339"><td class="cellrowborder" valign="top" width="21.43214321432143%" headers="mcps1.3.3.2.1.7.2.5.1.1 "><p id="en-us_topic_0056889804__p53202695123419">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.122112211221122%" headers="mcps1.3.3.2.1.7.2.5.1.2 "><p id="en-us_topic_0056889804__p14451011123419">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.87328732873287%" headers="mcps1.3.3.2.1.7.2.5.1.3 "><p id="en-us_topic_0056889804__p29681268123419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.57245724572457%" headers="mcps1.3.3.2.1.7.2.5.1.4 "><p id="en-us_topic_0056889804__p55372546123419">Specifies the database name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row63134513123348"><td class="cellrowborder" valign="top" width="21.43214321432143%" headers="mcps1.3.3.2.1.7.2.5.1.1 "><p id="en-us_topic_0056889804__p34159227123419">collate</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.122112211221122%" headers="mcps1.3.3.2.1.7.2.5.1.2 "><p id="en-us_topic_0056889804__p15433966123419">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.87328732873287%" headers="mcps1.3.3.2.1.7.2.5.1.3 "><p id="en-us_topic_0056889804__p42191771123419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.57245724572457%" headers="mcps1.3.3.2.1.7.2.5.1.4 "><p id="en-us_topic_0056889804__p62090280123419">Specifies the database code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row33943398123344"><td class="cellrowborder" valign="top" width="21.43214321432143%" headers="mcps1.3.3.2.1.7.2.5.1.1 "><p id="en-us_topic_0056889804__p32439979123419">characterSet</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.122112211221122%" headers="mcps1.3.3.2.1.7.2.5.1.2 "><p id="en-us_topic_0056889804__p10392608123419">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.87328732873287%" headers="mcps1.3.3.2.1.7.2.5.1.3 "><p id="en-us_topic_0056889804__p36494897123419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.57245724572457%" headers="mcps1.3.3.2.1.7.2.5.1.4 "><p id="en-us_topic_0056889804__p3296712123419">Specifies the database code.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056889804__table2179128"></a><a name="table2179128"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table2179128" frame="border" border="1" rules="all"><caption><b>Table 9 </b>nics field data structure description</caption><thead align="left"><tr id="en-us_topic_0056889804__row28646034"><th align="left" class="cellrowborder" valign="top" width="21.567843215678433%" id="mcps1.3.3.2.1.8.2.5.1.1"><p id="en-us_topic_0056889804__p38627455"><strong id="en-us_topic_0056889804__b84235270691445_19">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.997900209979%" id="mcps1.3.3.2.1.8.2.5.1.2"><p id="en-us_topic_0056889804__p41816140"><strong id="en-us_topic_0056889804__b842352706102346_17">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32.71672832716728%" id="mcps1.3.3.2.1.8.2.5.1.3"><p id="en-us_topic_0056889804__p31664161"><strong id="en-us_topic_0056889804__b842352706164541_15">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.717528247175284%" id="mcps1.3.3.2.1.8.2.5.1.4"><p id="en-us_topic_0056889804__p14660263"><strong id="en-us_topic_0056889804__b842352706163417_19">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row46630661"><td class="cellrowborder" valign="top" width="21.567843215678433%" headers="mcps1.3.3.2.1.8.2.5.1.1 "><p id="en-us_topic_0056889804__p18987236">net-id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.997900209979%" headers="mcps1.3.3.2.1.8.2.5.1.2 "><p id="en-us_topic_0056889804__p61571180">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.71672832716728%" headers="mcps1.3.3.2.1.8.2.5.1.3 "><p id="en-us_topic_0056889804__p21209668">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.717528247175284%" headers="mcps1.3.3.2.1.8.2.5.1.4 "><p id="en-us_topic_0056889804__p40261524">Specifies the subnet ID obtained from the VPC.</p>
|
|
<p id="en-us_topic_0056889804__p26809401">Valid value:</p>
|
|
<p id="en-us_topic_0056889804__p36848008144522">The value cannot be empty. The string length and whether the string complying with UUID regular expression rules are verified.</p>
|
|
<div class="note" id="en-us_topic_0056889804__note9968994627"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0056889804__p1887520394633">RDS will query the VPC associated with the specified net-id, associate the VPC with the DB instance, and query the security group based on the VPC. Then, RDS sets the queried security group.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row58535722173058"><td class="cellrowborder" valign="top" width="21.567843215678433%" headers="mcps1.3.3.2.1.8.2.5.1.1 "><p id="en-us_topic_0056889804__p43773055173058">securityGroupId</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.997900209979%" headers="mcps1.3.3.2.1.8.2.5.1.2 "><p id="en-us_topic_0056889804__p55956552173058">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.71672832716728%" headers="mcps1.3.3.2.1.8.2.5.1.3 "><p id="en-us_topic_0056889804__p36186862173058">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.717528247175284%" headers="mcps1.3.3.2.1.8.2.5.1.4 "><p id="en-us_topic_0056889804__p7492614">Valid value:</p>
|
|
<p id="en-us_topic_0056889804__p48836202144526">The value cannot be empty. The string length and whether the string complying with UUID regular expression rules are verified.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056889804__table41613092172617"></a><a name="table41613092172617"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table41613092172617" frame="border" border="1" rules="all"><caption><b>Table 10 </b>restorePoint field data structure description (not supported currently)</caption><thead align="left"><tr id="en-us_topic_0056889804__row46529820172617"><th align="left" class="cellrowborder" valign="top" width="21.18788121187881%" id="mcps1.3.3.2.1.9.2.5.1.1"><p id="en-us_topic_0056889804__p10819075172617"><strong id="en-us_topic_0056889804__b84235270691445_21">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.987901209879013%" id="mcps1.3.3.2.1.9.2.5.1.2"><p id="en-us_topic_0056889804__p3929874172617"><strong id="en-us_topic_0056889804__b842352706102346_19">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32.966703329667034%" id="mcps1.3.3.2.1.9.2.5.1.3"><p id="en-us_topic_0056889804__p49884402172617"><strong id="en-us_topic_0056889804__b842352706164541_17">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.857514248575143%" id="mcps1.3.3.2.1.9.2.5.1.4"><p id="en-us_topic_0056889804__p14104779172617"><strong id="en-us_topic_0056889804__b842352706163417_21">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row1636420172617"><td class="cellrowborder" valign="top" width="21.18788121187881%" headers="mcps1.3.3.2.1.9.2.5.1.1 "><p id="en-us_topic_0056889804__p64294291172645">backupRef</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.987901209879013%" headers="mcps1.3.3.2.1.9.2.5.1.2 "><p id="en-us_topic_0056889804__p40455065172645">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.966703329667034%" headers="mcps1.3.3.2.1.9.2.5.1.3 "><p id="en-us_topic_0056889804__p55634869172645">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.857514248575143%" headers="mcps1.3.3.2.1.9.2.5.1.4 "><p id="en-us_topic_0056889804__p28507117181526">Specifies the full backup file.</p>
|
|
<p id="en-us_topic_0056889804__p47906700181526">Valid value: The value cannot be empty. The string length and whether the string complying with UUID regular expression rules are verified.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056889804__table19785388173024"></a><a name="table19785388173024"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table19785388173024" frame="border" border="1" rules="all"><caption><b>Table 11 </b>cluster_config field data structure description (not supported currently)</caption><thead align="left"><tr id="en-us_topic_0056889804__row5181095173024"><th align="left" class="cellrowborder" valign="top" width="21.05%" id="mcps1.3.3.2.1.10.2.5.1.1"><p id="en-us_topic_0056889804__p17015590173024"><strong id="en-us_topic_0056889804__b84235270691445_23">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.97%" id="mcps1.3.3.2.1.10.2.5.1.2"><p id="en-us_topic_0056889804__p36085582173024"><strong id="en-us_topic_0056889804__b842352706102346_21">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="32.98%" id="mcps1.3.3.2.1.10.2.5.1.3"><p id="en-us_topic_0056889804__p37251014173024"><strong id="en-us_topic_0056889804__b842352706164541_19">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.1.10.2.5.1.4"><p id="en-us_topic_0056889804__p64542134173024"><strong id="en-us_topic_0056889804__b842352706163417_23">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row60530375173024"><td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.3.2.1.10.2.5.1.1 "><p id="en-us_topic_0056889804__p49801394173034">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.97%" headers="mcps1.3.3.2.1.10.2.5.1.2 "><p id="en-us_topic_0056889804__p7381147173034">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="32.98%" headers="mcps1.3.3.2.1.10.2.5.1.3 "><p id="en-us_topic_0056889804__p61002040173034">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.10.2.5.1.4 "><p id="en-us_topic_0056889804__p42218226173034">Specifies the cluster ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="en-us_topic_0056889804__li51296894172359">Request example<div class="p" id="en-us_topic_0056889804__p3007076017240"><a name="en-us_topic_0056889804__li51296894172359"></a><a name="li51296894172359"></a>Creating a single DB instance:<pre class="codeblock" id="en-us_topic_0056889804__codeblock39257919161611">{
|
|
"instance": {
|
|
"datastore": {
|
|
"type": "MySQL",
|
|
"version": "MySQL-5.7"
|
|
},
|
|
"name": "json-rack-instance",
|
|
"flavorRef": "123",
|
|
"users": [
|
|
{
|
|
"name": "root",
|
|
"password": "Demo@12345678"
|
|
}
|
|
],
|
|
"volume": {
|
|
"size": 100
|
|
},
|
|
"configuration" : "ft26458f-d9f8-4cab-8fe1-cb8704fbo9bp",
|
|
"nics":[
|
|
{
|
|
"net-id": "3226458f-d9f8-4cab-8fe1-cb8704fb9fb8",
|
|
"securityGroupId":"fpo6458f-d9f8-4cab-8fe1-cb8704fb9fb8"
|
|
}
|
|
],
|
|
"availability_zone": "az1pod1",
|
|
"vpc":"98ik458f-d9f8-4cab-8fe1-cb8704fb9fbb"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<p id="en-us_topic_0056889804__p184779717247">Creating a read replica:</p>
|
|
<pre class="codeblock" id="en-us_topic_0056889804__codeblock8838681143459">{
|
|
"instance": {
|
|
"datastore": {
|
|
"type": "MySQL",
|
|
"version": "MySQL-5.7"
|
|
},
|
|
"name": "json-rack-instance",
|
|
"flavorRef": "123",
|
|
"volume": {
|
|
"size": 100
|
|
},
|
|
"replica_of": "123",
|
|
"replica_count":1
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056889804__section5037157118037"><h4 class="sectiontitle">Normal Response</h4><ul id="en-us_topic_0056889804__ul350402018225"><li id="en-us_topic_0056889804__li3586388118225">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table2105473618141" frame="border" border="1" rules="all"><caption><b>Table 12 </b>Parameter description</caption><thead align="left"><tr id="en-us_topic_0056889804__row5305535918141"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="en-us_topic_0056889804__p251680918141"><strong id="en-us_topic_0056889804__b84235270691445_25">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="en-us_topic_0056889804__p400813618141"><strong id="en-us_topic_0056889804__b842352706164541_21">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="en-us_topic_0056889804__p5622356318141"><strong id="en-us_topic_0056889804__b842352706163417_25">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row5781479218141"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="en-us_topic_0056889804__p2163967018239">instance</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="en-us_topic_0056889804__p40959010173633">Dictionary data structure</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="en-us_topic_0056889804__p4895508618141">Indicates the DB instance information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table6489863618329" frame="border" border="1" rules="all"><caption><b>Table 13 </b>instance field data structure description</caption><thead align="left"><tr id="en-us_topic_0056889804__row95141018329"><th align="left" class="cellrowborder" valign="top" width="33.26332633263326%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="en-us_topic_0056889804__p995534618329"><strong id="en-us_topic_0056889804__b84235270691445_27">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.463346334633464%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="en-us_topic_0056889804__p969003718329"><strong id="en-us_topic_0056889804__b842352706164541_23">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.273327332733274%" id="mcps1.3.4.2.1.2.2.4.1.3"><p id="en-us_topic_0056889804__p1760649318329"><strong id="en-us_topic_0056889804__b842352706163417_27">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row123342018329"><td class="cellrowborder" valign="top" width="33.26332633263326%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056889804__p3279822718329">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.463346334633464%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056889804__p3941069318329">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.273327332733274%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056889804__p3814958018329">Indicates the DB instance status.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row780190718329"><td class="cellrowborder" valign="top" width="33.26332633263326%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056889804__p63328718105459">updated</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.463346334633464%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056889804__p5899380105421">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.273327332733274%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056889804__p19605484105421">Indicates the DB instance updated time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row6287432618329"><td class="cellrowborder" valign="top" width="33.26332633263326%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056889804__p5965564418329">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.463346334633464%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056889804__p26896618329">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.273327332733274%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056889804__p2548492105536">Instances the DB instance name. When a single DB instance is created, its name is automatically added with the suffix "_node0", for example, rds-test-openstack_node0.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row6185869218329"><td class="cellrowborder" valign="top" width="33.26332633263326%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056889804__p4449815218329">links</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.463346334633464%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056889804__p4758058918329">List data structure. For details, see <a href="#en-us_topic_0056889804__table35796249181358">Table 14</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.273327332733274%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056889804__p2882252318329">Indicates the DB instance information link.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row44609613105555"><td class="cellrowborder" valign="top" width="33.26332633263326%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056889804__p979978810560">created</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.463346334633464%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056889804__p5558537010560">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.273327332733274%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056889804__p612116110560">Indicates the DB instance creation time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row58075968105615"><td class="cellrowborder" valign="top" width="33.26332633263326%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056889804__p6532990105615">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.463346334633464%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056889804__p59410156105615">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.273327332733274%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056889804__p47493298105615">Indicates the DB instance ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row5807611618329"><td class="cellrowborder" valign="top" width="33.26332633263326%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056889804__p654496118329">volume</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.463346334633464%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056889804__p6037985118329">Dictionary data structure. For details, see <a href="#en-us_topic_0056889804__table5589436418437">Table 15</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.273327332733274%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056889804__p5892975318329">Indicates the DB instance volume information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row6060573318329"><td class="cellrowborder" valign="top" width="33.26332633263326%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056889804__p1011736518329">flavor</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.463346334633464%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056889804__p1420025418329">Dictionary data structure. For details, see <a href="#en-us_topic_0056889804__table4806207618447">Table 16</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.273327332733274%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056889804__p936989518329">Indicates the DB instance specifications.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row1722019118329"><td class="cellrowborder" valign="top" width="33.26332633263326%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="en-us_topic_0056889804__p5265820318329">datastore</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.463346334633464%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="en-us_topic_0056889804__p3745607618329">Dictionary data structure. For details, see <a href="#en-us_topic_0056889804__table629209691859">Table 17</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.273327332733274%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="en-us_topic_0056889804__p1404335418329">Indicates the DB engine information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056889804__table35796249181358"></a><a name="table35796249181358"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table35796249181358" frame="border" border="1" rules="all"><caption><b>Table 14 </b>links field data structure description</caption><thead align="left"><tr id="en-us_topic_0056889804__row43394390181358"><th align="left" class="cellrowborder" valign="top" width="33.19%" id="mcps1.3.4.2.1.3.2.4.1.1"><p id="en-us_topic_0056889804__p25284664181358"><strong id="en-us_topic_0056889804__b84235270691445_29">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.550000000000004%" id="mcps1.3.4.2.1.3.2.4.1.2"><p id="en-us_topic_0056889804__p34791919181358"><strong id="en-us_topic_0056889804__b842352706164541_25">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.26%" id="mcps1.3.4.2.1.3.2.4.1.3"><p id="en-us_topic_0056889804__p66682083181358"><strong id="en-us_topic_0056889804__b842352706163417_29">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row32539643181358"><td class="cellrowborder" valign="top" width="33.19%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="en-us_topic_0056889804__p18465440181358">href</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.550000000000004%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="en-us_topic_0056889804__p19305657181358">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.26%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="en-us_topic_0056889804__p20254383181358">Indicates the link address. Its value is <strong id="en-us_topic_0056889804__b842352706155319">""</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row48071720181358"><td class="cellrowborder" valign="top" width="33.19%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="en-us_topic_0056889804__p1495219181358">rel</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.550000000000004%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="en-us_topic_0056889804__p54003919181358">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.26%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="en-us_topic_0056889804__p12241315181358">Its value is <strong id="en-us_topic_0056889804__b842352706221326">self</strong> or <strong id="en-us_topic_0056889804__b842352706221332">bookmark</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056889804__table5589436418437"></a><a name="table5589436418437"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table5589436418437" frame="border" border="1" rules="all"><caption><b>Table 15 </b>volume field data structure description</caption><thead align="left"><tr id="en-us_topic_0056889804__row2634996818437"><th align="left" class="cellrowborder" valign="top" width="33.339999999999996%" id="mcps1.3.4.2.1.4.2.4.1.1"><p id="en-us_topic_0056889804__p5397265318437"><strong id="en-us_topic_0056889804__b84235270691445_31">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.26%" id="mcps1.3.4.2.1.4.2.4.1.2"><p id="en-us_topic_0056889804__p2026992818437"><strong id="en-us_topic_0056889804__b842352706164541_27">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.4%" id="mcps1.3.4.2.1.4.2.4.1.3"><p id="en-us_topic_0056889804__p1282747818437"><strong id="en-us_topic_0056889804__b842352706163417_31">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row3239283718437"><td class="cellrowborder" valign="top" width="33.339999999999996%" headers="mcps1.3.4.2.1.4.2.4.1.1 "><p id="en-us_topic_0056889804__p657417318437">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.26%" headers="mcps1.3.4.2.1.4.2.4.1.2 "><p id="en-us_topic_0056889804__p6274598918437">Int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.4%" headers="mcps1.3.4.2.1.4.2.4.1.3 "><p id="en-us_topic_0056889804__p4926032518437">Indicates the volume size in GB.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056889804__table4806207618447"></a><a name="table4806207618447"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table4806207618447" frame="border" border="1" rules="all"><caption><b>Table 16 </b>flavor field data structure description</caption><thead align="left"><tr id="en-us_topic_0056889804__row5436532118447"><th align="left" class="cellrowborder" valign="top" width="30.06699330066993%" id="mcps1.3.4.2.1.5.2.4.1.1"><p id="en-us_topic_0056889804__p4151484318447"><strong id="en-us_topic_0056889804__b84235270691445_33">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="34.96650334966503%" id="mcps1.3.4.2.1.5.2.4.1.2"><p id="en-us_topic_0056889804__p6533224918447"><strong id="en-us_topic_0056889804__b842352706164541_29">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="34.96650334966503%" id="mcps1.3.4.2.1.5.2.4.1.3"><p id="en-us_topic_0056889804__p4702539018447"><strong id="en-us_topic_0056889804__b842352706163417_33">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row5096025918447"><td class="cellrowborder" valign="top" width="30.06699330066993%" headers="mcps1.3.4.2.1.5.2.4.1.1 "><p id="en-us_topic_0056889804__p3414030018447">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.96650334966503%" headers="mcps1.3.4.2.1.5.2.4.1.2 "><p id="en-us_topic_0056889804__p1390091418447">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.96650334966503%" headers="mcps1.3.4.2.1.5.2.4.1.3 "><p id="en-us_topic_0056889804__p5223222018447">Indicates the specification ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row32793418447"><td class="cellrowborder" valign="top" width="30.06699330066993%" headers="mcps1.3.4.2.1.5.2.4.1.1 "><p id="en-us_topic_0056889804__p2656269818447">links</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.96650334966503%" headers="mcps1.3.4.2.1.5.2.4.1.2 "><p id="en-us_topic_0056889804__p409492618447">List data structure. For details, see <a href="#en-us_topic_0056889804__table35796249181358">Table 14</a>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.96650334966503%" headers="mcps1.3.4.2.1.5.2.4.1.3 "><p id="en-us_topic_0056889804__p6325361918447">Indicates the DB instance specification link.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="en-us_topic_0056889804__table629209691859"></a><a name="table629209691859"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0056889804__table629209691859" frame="border" border="1" rules="all"><caption><b>Table 17 </b>datastore field data structure description</caption><thead align="left"><tr id="en-us_topic_0056889804__row465266741859"><th align="left" class="cellrowborder" valign="top" width="30.06699330066993%" id="mcps1.3.4.2.1.6.2.4.1.1"><p id="en-us_topic_0056889804__p105642511859"><strong id="en-us_topic_0056889804__b84235270691445_35">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="34.96650334966503%" id="mcps1.3.4.2.1.6.2.4.1.2"><p id="en-us_topic_0056889804__p509291561859"><strong id="en-us_topic_0056889804__b842352706164541_31">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="34.96650334966503%" id="mcps1.3.4.2.1.6.2.4.1.3"><p id="en-us_topic_0056889804__p161532751859"><strong id="en-us_topic_0056889804__b842352706163417_35">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0056889804__row333468701859"><td class="cellrowborder" valign="top" width="30.06699330066993%" headers="mcps1.3.4.2.1.6.2.4.1.1 "><p id="en-us_topic_0056889804__p167419541859">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.96650334966503%" headers="mcps1.3.4.2.1.6.2.4.1.2 "><p id="en-us_topic_0056889804__p139210301859">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.96650334966503%" headers="mcps1.3.4.2.1.6.2.4.1.3 "><p id="en-us_topic_0056889804__p538616751859">Indicates the DB engine.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0056889804__row149930331859"><td class="cellrowborder" valign="top" width="30.06699330066993%" headers="mcps1.3.4.2.1.6.2.4.1.1 "><p id="en-us_topic_0056889804__p64761941859">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.96650334966503%" headers="mcps1.3.4.2.1.6.2.4.1.2 "><p id="en-us_topic_0056889804__p548097111859">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.96650334966503%" headers="mcps1.3.4.2.1.6.2.4.1.3 "><p id="en-us_topic_0056889804__p104016251859">Indicates the database version, such as MySQL-5.6.33.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0056889804__ul6036281618912"><li id="en-us_topic_0056889804__li4962866618912">Response example<pre class="codeblock" id="en-us_topic_0056889804__codeblock2438713714324">{
|
|
"instance": {
|
|
"status": "BUILD",
|
|
"updated": "2017-05-06T05:55:03",
|
|
"name": "creat-trove-instance-28-MySQL-1-1",
|
|
"links": [
|
|
{
|
|
"href": "",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"created": "2017-05-06T05:55:03",
|
|
"id": "c90c1234-f687-462a-a6bd-cec35919c096",
|
|
"volume": {
|
|
"size": 100
|
|
},
|
|
"flavor": {
|
|
"id": "99001234-dfc2-4418-b224-fea05d358ce3",
|
|
"links": [
|
|
{
|
|
"href": "",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"datastore": {
|
|
"type": "MySQL",
|
|
"version": "MySQL-5.7"
|
|
}
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0056889804__section1604544818856"><h4 class="sectiontitle">Abnormal Response</h4><p id="en-us_topic_0056889804__p3229378718916">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>
|
|
|