forked from docs/doc-exports
Reviewed-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: wangdengke2 <wangdengke2@huawei.com> Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
739 lines
54 KiB
HTML
739 lines
54 KiB
HTML
<a name="gaussdb_04_0004"></a><a name="gaussdb_04_0004"></a>
|
|
|
|
<h1 class="topictitle1">Creating a DB Instance</h1>
|
|
<div id="body1590815684863"><div class="section" id="gaussdb_04_0004__section4284989"><h4 class="sectiontitle">Function</h4><p id="gaussdb_04_0004__p28332047">This API is used to create a DB instance. Before calling this API:</p>
|
|
<ul id="gaussdb_04_0004__ul924420236520"><li id="gaussdb_04_0004__li136356359522">Learn how to <a href="gaussdb_03_0001.html">authorize and authenticate</a> it.</li><li id="gaussdb_04_0004__li1991981933613">Obtain the required <a href="gaussdb_00_0003.html">region and endpoint</a>.</li></ul>
|
|
</div>
|
|
<div class="section" id="gaussdb_04_0004__section59020231959"><h4 class="sectiontitle">URI</h4><p id="gaussdb_04_0004__p109021823359">POST /v3/{project_id}/instances</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__table19031423851" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="gaussdb_04_0004__row17903122317518"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="gaussdb_04_0004__p1390310232515">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="gaussdb_04_0004__p1590315231555">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="gaussdb_04_0004__p4903102318510">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="gaussdb_04_0004__p2090452313517">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row290320233520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="gaussdb_04_0004__p1890416233517">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="gaussdb_04_0004__p79044234511">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="gaussdb_04_0004__p59041623556">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="gaussdb_04_0004__p72047211171">Project ID of a tenant in a region.</p>
|
|
<p id="gaussdb_04_0004__p1220419219710">To obtain this value, see <a href="gaussdb_10_0004.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="gaussdb_04_0004__section49041623154"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="gaussdb_04_0004__row16905192318514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="gaussdb_04_0004__p14905172312518">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="gaussdb_04_0004__p290514233516">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="gaussdb_04_0004__p790592316510">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="gaussdb_04_0004__p49066231854">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row29058231858"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="gaussdb_04_0004__p129066231256">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="gaussdb_04_0004__p1590612318520">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="gaussdb_04_0004__p189067232510">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="gaussdb_04_0004__p2906623256">User token.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row890519231513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="gaussdb_04_0004__p16906823155">X-Language</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="gaussdb_04_0004__p13907923556">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="gaussdb_04_0004__p59070232512">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="gaussdb_04_0004__p690713231458">Language.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__request_MysqlInstanceRequest" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="gaussdb_04_0004__row1090710238510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="gaussdb_04_0004__p790819232056">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="gaussdb_04_0004__p10908172315520">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="gaussdb_04_0004__p20909142312515">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="gaussdb_04_0004__p1890916231950">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row09072023556"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p0909323756">charge_info</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p291018231517">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p11910122314513"><a href="#gaussdb_04_0004__request_MysqlChargeInfo">MysqlChargeInfo</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p1642113311711">Billing mode.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row1490711237512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p191114238518">region</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p991119232519">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p89111523957">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p196855211917">Region ID.</p>
|
|
<p id="gaussdb_04_0004__p196851528919">The value cannot be empty. To obtain this 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="gaussdb_04_0004__row990710232510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p29111523457">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p89111230520">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p791219236514">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p846013444714">DB instance name.</p>
|
|
<p id="gaussdb_04_0004__p14601444979">DB instances of the same type can have same names under the same tenant.</p>
|
|
<p id="gaussdb_04_0004__p12460444171">The value consists of 4 to 64 characters and starts with a letter. It is case-sensitive and contains only letters, digits, hyphens (-), and underscores (_).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row189084233515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p1491213232520">datastore</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p109125232515">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p19912923158"><a href="#gaussdb_04_0004__request_MysqlDatastore">MysqlDatastore</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p7912122314510">Database information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row1490819231056"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p129133231558">mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p179131123651">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p89131238518">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p10913723454">DB instance type. Its value is <strong id="gaussdb_04_0004__b19891927165914">Cluster</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row69081623955"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p491342310518">flavor_ref</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p691313231959">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p89141523359">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p1491412313513">Specification code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row1690811231656"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p1191432317517">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p18914162310518">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p18914823255">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p108912091987">VPC ID. To obtain this value, use either of the following methods:</p>
|
|
<ul id="gaussdb_04_0004__ul13891291983"><li id="gaussdb_04_0004__li9891139887">Method 1: Log in to the VPC console and view the VPC ID on the VPC details page.</li><li id="gaussdb_04_0004__li198912917817">Method 2: See "Querying VPCs" in the <em id="gaussdb_04_0004__i17722122316354">Virtual Private Cloud API Reference</em>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row190832319519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p191511232518">subnet_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p139152231654">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p6915202312511">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p1147513181581">Network ID. To obtain this value, use either of the following methods:</p>
|
|
<ul id="gaussdb_04_0004__ul1747512186813"><li id="gaussdb_04_0004__li114751018886">Method 1: Log in to the VPC console and click the target subnet on the <strong id="gaussdb_04_0004__b194048485363">Subnets</strong> page. You can view the network ID on the displayed page.</li><li id="gaussdb_04_0004__li1247618181788">Method 2: See "Querying Subnets" in the <em id="gaussdb_04_0004__i337122574211">Virtual Private Cloud API Reference</em>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row790812231512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p1291582317513">security_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p159151231458">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p1791522313514">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p1730118295816">Security group ID.</p>
|
|
<p id="gaussdb_04_0004__p153016294817">If network ACL is enabled, this parameter cannot be specified. If network ACL is disabled, this parameter is mandatory.</p>
|
|
<ul id="gaussdb_04_0004__ul193012291286"><li id="gaussdb_04_0004__li1130132919812">Method 1: Log in to VPC console. Choose <strong id="gaussdb_04_0004__b982975713423">Access Control</strong> > <strong id="gaussdb_04_0004__b1383455724214">Security Groups</strong> in the navigation pane on the left. On the displayed page, click the target security group. You can view the security group ID on the displayed page.</li><li id="gaussdb_04_0004__li19301129886">Method 2: See "Querying Security Groups" in the <em id="gaussdb_04_0004__i111074415436">Virtual Private Cloud API Reference</em>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row590816232053"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p11916723751">configuration_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p10916102313519">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p109161123352">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p4916172310514">Parameter template ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row14908172315517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p1191710231656">password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p1591762311511">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p159170231058">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p991762317515">Database password. The password consists of 8 to 32 characters and contains at least three types of the following: uppercase letters, lowercase letters, digits, and special characters (~!@#$%^*-_=+?,()&). You are advised to enter a strong password to improve security and prevent security risks such as brute force cracking. If you enter a weak password, the system automatically determines that the password is invalid.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row1790811231151"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p49171023958">backup_strategy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p189181323754">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p149184238514"><a href="#gaussdb_04_0004__request_MysqlBackupStrategy">MysqlBackupStrategy</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p1991832317518">Automated backup policy.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row11908223758"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p491852318517">time_zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p391816238513">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p091882312511">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p129198231259">Time zone. The default time zone is UTC.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row290818239510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p4919132311512">availability_zone_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p8919152317510">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p15919323756">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p391914231951">AZ type. The value can be <strong id="gaussdb_04_0004__b1548381913011">single</strong> or <strong id="gaussdb_04_0004__b1849001983020">multi</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row2908323957"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p991910239511">master_availability_zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p17531109396">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p199206236518">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p19201823453">Primary AZ.</p>
|
|
<ul id="gaussdb_04_0004__ul164198384815"><li id="gaussdb_04_0004__li241911381284">If <strong id="gaussdb_04_0004__b734584326">availability_zone_mode</strong> is set to <strong id="gaussdb_04_0004__b17358883211">multi</strong>, this parameter is mandatory.</li><li id="gaussdb_04_0004__li24221038484">If <strong id="gaussdb_04_0004__b10142153333216">availability_zone_mode</strong> is set to <strong id="gaussdb_04_0004__b1614323319324">single</strong>, this parameter cannot be specified.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row190852319519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p492015231855">slave_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p09205232516">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p4920623359">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p209201823653">Number of read replicas. A maximum of nine read replicas can be created at a time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row1290882314516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p15921823258">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p49213231512">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p29221231453">Array of <a href="#gaussdb_04_0004__request_MysqlTags">MysqlTags</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p1892210231052">Tag list. DB instances are created based on tag keys and values.</p>
|
|
<ul id="gaussdb_04_0004__ul192215233520"><li id="gaussdb_04_0004__li129221223557"><em id="gaussdb_04_0004__i031011301535">{key}</em> indicates the tag key. It must be unique and cannot be empty.</li><li id="gaussdb_04_0004__li189221923856"><em id="gaussdb_04_0004__i610565513165">{value}</em> indicates the tag value, which can be empty.</li></ul>
|
|
<p id="gaussdb_04_0004__p39221423853">To create DB instances with multiple tag keys and values, separate key-value pairs with commas (,). Up to 10 key-value pairs can be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row1690810232054"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p11922172313518">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p1292232318513">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p992311231656">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p13923023659">Enterprise project ID. This parameter is mandatory when the enterprise project is enabled.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row1390818238518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_04_0004__p1592322315511">dedicated_resource_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_04_0004__p12923323257">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_04_0004__p10923023158">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_04_0004__p69231823353">Dedicated resource pool ID. This parameter is displayed only when the dedicated resource pool is enabled.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="gaussdb_04_0004__request_MysqlChargeInfo"></a><a name="request_MysqlChargeInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__request_MysqlChargeInfo" frame="border" border="1" rules="all"><caption><b>Table 4 </b>MysqlChargeInfo</caption><thead align="left"><tr id="gaussdb_04_0004__row69246233510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="gaussdb_04_0004__p868019379121">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="gaussdb_04_0004__p14680143712123">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="gaussdb_04_0004__p1868073771215">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="gaussdb_04_0004__p15680193717123"><strong id="gaussdb_04_0004__b11102172124120">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row169243232054"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="gaussdb_04_0004__p1568023716126">charge_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="gaussdb_04_0004__p268063701210">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="gaussdb_04_0004__p268053711219">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="gaussdb_04_0004__p146802037181215">Billing mode.</p>
|
|
<p id="gaussdb_04_0004__p1468110373127">Value: <strong id="gaussdb_04_0004__b16442195564112">postPaid</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="gaussdb_04_0004__request_MysqlDatastore"></a><a name="request_MysqlDatastore"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__request_MysqlDatastore" frame="border" border="1" rules="all"><caption><b>Table 5 </b>MysqlDatastore</caption><thead align="left"><tr id="gaussdb_04_0004__row394613233517"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="gaussdb_04_0004__p149524231250">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="gaussdb_04_0004__p4952202313516">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="gaussdb_04_0004__p199535231453">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="gaussdb_04_0004__p695311231854">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row3946152310515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="gaussdb_04_0004__p1495419231656">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="gaussdb_04_0004__p895442311517">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="gaussdb_04_0004__p189541923753">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="gaussdb_04_0004__p179540231354">DB engine. Currently, only gaussdb-mysql is supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row14951162320510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="gaussdb_04_0004__p195514231854">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="gaussdb_04_0004__p129552231515">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="gaussdb_04_0004__p1955182315519">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="gaussdb_04_0004__p191462038121314">DB version.</p>
|
|
<p id="gaussdb_04_0004__p11146163841315">For details about supported DB versions, see <a href="gaussdb_04_0001.html">Querying Version Information About a DB Engine</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="gaussdb_04_0004__request_MysqlBackupStrategy"></a><a name="request_MysqlBackupStrategy"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__request_MysqlBackupStrategy" frame="border" border="1" rules="all"><caption><b>Table 6 </b>MysqlBackupStrategy</caption><thead align="left"><tr id="gaussdb_04_0004__row9956923255"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.1"><p id="gaussdb_04_0004__p69576231514">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.2"><p id="gaussdb_04_0004__p199574239519">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.3"><p id="gaussdb_04_0004__p1195772319514">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.6.2.5.1.4"><p id="gaussdb_04_0004__p149581923650">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row199564232055"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="gaussdb_04_0004__p14958122317510">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="gaussdb_04_0004__p20959823454">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="gaussdb_04_0004__p1595911231657">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="gaussdb_04_0004__p39591723555">Automated backup start time. The automated backup will be triggered within one hour after the time specified by this parameter.</p>
|
|
<p id="gaussdb_04_0004__p577152251411">The value cannot be empty. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format.</p>
|
|
<ul id="gaussdb_04_0004__ul1677102218145"><li id="gaussdb_04_0004__li377132291413">The <strong id="gaussdb_04_0004__b287391115489">HH</strong> value must be 1 greater than the <strong id="gaussdb_04_0004__b1387691115487">hh</strong> value.</li><li id="gaussdb_04_0004__li10772102210141">The values of <strong id="gaussdb_04_0004__b453112193488">mm</strong> and <strong id="gaussdb_04_0004__b5537191910489">MM</strong> must be the same and must be set to <strong id="gaussdb_04_0004__b5537151915481">00</strong>.</li></ul>
|
|
<p id="gaussdb_04_0004__p14772142214142">Example value:</p>
|
|
<ul id="gaussdb_04_0004__ul9772102291416"><li id="gaussdb_04_0004__li10772192261418">21:00-22:00</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row59561723553"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="gaussdb_04_0004__p129611231453">keep_days</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="gaussdb_04_0004__p1296119231055">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="gaussdb_04_0004__p396192313512">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="gaussdb_04_0004__p796215231758">Automated backup retention days. Value: 1-732.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="gaussdb_04_0004__request_MysqlTags"></a><a name="request_MysqlTags"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__request_MysqlTags" frame="border" border="1" rules="all"><caption><b>Table 7 </b>MysqlTags</caption><thead align="left"><tr id="gaussdb_04_0004__row11967523154"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.1"><p id="gaussdb_04_0004__p1474924050">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.2"><p id="gaussdb_04_0004__p374122418518">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.3"><p id="gaussdb_04_0004__p47416241956">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.7.2.5.1.4"><p id="gaussdb_04_0004__p1574824653">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row4967823857"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="gaussdb_04_0004__p197517242512">key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="gaussdb_04_0004__p2751824552">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="gaussdb_04_0004__p127516241551">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="gaussdb_04_0004__p163021437147">Tag key. It contains a maximum of 36 Unicode characters.</p>
|
|
<p id="gaussdb_04_0004__p574794716144">The value cannot be an empty string, a space, or left blank.</p>
|
|
<p id="gaussdb_04_0004__p97519241657">Only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_) are allowed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row3967202315517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="gaussdb_04_0004__p1175924655">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="gaussdb_04_0004__p117513247510">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="gaussdb_04_0004__p07511242513">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="gaussdb_04_0004__p152078524143">Tag value. It contains a maximum of 43 Unicode characters.</p>
|
|
<p id="gaussdb_04_0004__p1850895581418">It can be an empty string.</p>
|
|
<p id="gaussdb_04_0004__p19752241757">Only uppercase letters, lowercase letters, digits, periods (.), hyphens (-), and underscores (_) are allowed.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="gaussdb_04_0004__section187582413512"><h4 class="sectiontitle">Response Parameters</h4><p id="gaussdb_04_0004__p27592410514"><strong id="gaussdb_04_0004__b119732304363">Status code: 201</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__response_MysqlCreateInstanceResponse" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="gaussdb_04_0004__row597416234516"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="gaussdb_04_0004__p20755241851">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="gaussdb_04_0004__p97519249511">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="gaussdb_04_0004__p187519240512">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row139745231555"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="gaussdb_04_0004__p17552414513">instance</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="gaussdb_04_0004__p175112417511"><a href="#gaussdb_04_0004__response_MysqlInstanceResponse">MysqlInstanceResponse</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="gaussdb_04_0004__p107513242057">DB instance information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row199747237512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="gaussdb_04_0004__p1575624856">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="gaussdb_04_0004__p4756241851">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="gaussdb_04_0004__p9693113813158">DB instance creation task ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="gaussdb_04_0004__response_MysqlInstanceResponse"></a><a name="response_MysqlInstanceResponse"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__response_MysqlInstanceResponse" frame="border" border="1" rules="all"><caption><b>Table 9 </b>MysqlInstanceResponse</caption><thead align="left"><tr id="gaussdb_04_0004__row129779231055"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="gaussdb_04_0004__p14752241952">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="gaussdb_04_0004__p157517242513">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="gaussdb_04_0004__p16751241752">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row79779235510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p176524453">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p13761624353">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p177618245518">DB instance ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row99771423851"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p12765241259">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p17761324459">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p17761224656">DB instance name. DB instances of the same type can have same names under the same tenant. The name consists of 4 to 64 characters and starts with a letter. It is case-insensitive and contains only letters, digits, hyphens (-), and underscores (_).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row497712232056"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p117610241558">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p7768244512">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p7115941169">DB instance status.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row29772230517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p87652416511">datastore</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p17761324256"><a href="#gaussdb_04_0004__response_MysqlDatastore">MysqlDatastore</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p1876824456">Database information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row11977423451"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p87652411518">mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p1776724453">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p207652418511">DB instance type. Its value is<strong id="gaussdb_04_0004__b2281667312"> Cluster</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row1297742314519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p27662413515">configuration_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p15761624152">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p157619241355">Parameter template ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row597718234513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p127613242514">port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p18765241158">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p19763241652">Database port.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row1697718236512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p2767241555">backup_strategy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p13761724258"><a href="#gaussdb_04_0004__response_MysqlBackupStrategy">MysqlBackupStrategy</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p97662410516">Automated backup policy.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row17977192314519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p97619241510">region</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p1976152418512">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p10765247510">Region ID, which is the same as the request parameter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row9977152315512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p1477132419514">availability_zone_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p11778241517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p27792416517">AZ mode, which is the same as the request parameter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row189775231456"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p67717244514">master_availability_zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p1477102419518">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p14774241051">Primary AZ ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row1397720235515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p157714241452">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p17715246517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p377182414519">VPC ID, which is the same as the request parameter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row9977423651"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p47716249513">security_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p67713241055">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p187772416519">Security group ID, which is the same as the request parameter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row997732311515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p18771124955">subnet_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p277124851">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p37711241454">Subnet ID, which is the same as the request parameter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row39773232517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p677112418517">flavor_ref</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p6776243519">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p277152417515">Specification code, which is the same as the request parameter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row4977162312515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_04_0004__p187711241751">charge_info</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_04_0004__p277424350"><a href="#gaussdb_04_0004__response_MysqlChargeInfo">MysqlChargeInfo</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_04_0004__p15654143771614">Billing mode.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="gaussdb_04_0004__response_MysqlDatastore"></a><a name="response_MysqlDatastore"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__response_MysqlDatastore" frame="border" border="1" rules="all"><caption><b>Table 10 </b>MysqlDatastore</caption><thead align="left"><tr id="gaussdb_04_0004__row10986172313512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="gaussdb_04_0004__p18771924055">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="gaussdb_04_0004__p5771924955">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="gaussdb_04_0004__p117718242516">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row398652318515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="gaussdb_04_0004__p37732413510">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="gaussdb_04_0004__p777424352">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="gaussdb_04_0004__p15771624756">DB engine. Currently, only gaussdb-mysql is supported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row1498614231552"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="gaussdb_04_0004__p137710241955">version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="gaussdb_04_0004__p0778249512">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="gaussdb_04_0004__p207882415518">DB version.</p>
|
|
<p id="gaussdb_04_0004__p1278024850">To obtain details about supported DB engine versions, call the API for querying the DB engine versions.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="gaussdb_04_0004__response_MysqlBackupStrategy"></a><a name="response_MysqlBackupStrategy"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__response_MysqlBackupStrategy" frame="border" border="1" rules="all"><caption><b>Table 11 </b>MysqlBackupStrategy</caption><thead align="left"><tr id="gaussdb_04_0004__row11988102318517"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="gaussdb_04_0004__p878424659">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="gaussdb_04_0004__p197816241255">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="gaussdb_04_0004__p187817249513">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row598813231555"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="gaussdb_04_0004__p978172419510">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="gaussdb_04_0004__p8781024558">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="gaussdb_04_0004__p878324153">Automated backup start time. The automated backup will be triggered within one hour after the time specified by this parameter.</p>
|
|
<p id="gaussdb_04_0004__p87842411516">The value cannot be empty. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format.</p>
|
|
<ol id="gaussdb_04_0004__ol147818247517"><li id="gaussdb_04_0004__li1478192412515">The <strong id="gaussdb_04_0004__b1745788089">HH</strong> value must be 1 greater than the <strong id="gaussdb_04_0004__b433054006">hh</strong> value.</li><li id="gaussdb_04_0004__li147818242511">The values of <strong id="gaussdb_04_0004__b15704131953419">mm</strong> and <strong id="gaussdb_04_0004__b2705101918349">MM</strong> must be the same and must be set to <strong id="gaussdb_04_0004__b1870521963410">00</strong>.</li></ol>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row39887236513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="gaussdb_04_0004__p87814248518">keep_days</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="gaussdb_04_0004__p197820243515">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="gaussdb_04_0004__p07852413512">Automated backup retention days. Value: 1-732.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="gaussdb_04_0004__response_MysqlChargeInfo"></a><a name="response_MysqlChargeInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__response_MysqlChargeInfo" frame="border" border="1" rules="all"><caption><b>Table 12 </b>MysqlChargeInfo</caption><thead align="left"><tr id="gaussdb_04_0004__row49905236512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="gaussdb_04_0004__p7789249511">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="gaussdb_04_0004__p14787241556">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="gaussdb_04_0004__p1778122414510">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row0990423051"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="gaussdb_04_0004__p47815241151">charge_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="gaussdb_04_0004__p207910241357">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="gaussdb_04_0004__p145321327191714">Billing mode.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="gaussdb_04_0004__p5801624457"><strong id="gaussdb_04_0004__b6106156163912">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__response_MysqlErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Response body parameters</caption><thead align="left"><tr id="gaussdb_04_0004__row199692319511"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="gaussdb_04_0004__p16802242511">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.2"><p id="gaussdb_04_0004__p88082417513">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.9.2.4.1.3"><p id="gaussdb_04_0004__p5808245517">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row699612231257"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="gaussdb_04_0004__p680424656">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="gaussdb_04_0004__p168092416512">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="gaussdb_04_0004__p18802245515">Error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row10996023852"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="gaussdb_04_0004__p4809248511">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="gaussdb_04_0004__p58122417510">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="gaussdb_04_0004__p481102419513">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="gaussdb_04_0004__p1881182410513"><strong id="gaussdb_04_0004__b7648129163915">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_04_0004__table139972023258" frame="border" border="1" rules="all"><caption><b>Table 14 </b>Response body parameters</caption><thead align="left"><tr id="gaussdb_04_0004__row0998723456"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.1"><p id="gaussdb_04_0004__p1781524756">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.2"><p id="gaussdb_04_0004__p10814241515">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.11.2.4.1.3"><p id="gaussdb_04_0004__p168116248514">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="gaussdb_04_0004__row89981323452"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="gaussdb_04_0004__p168110240516">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="gaussdb_04_0004__p18172413511">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="gaussdb_04_0004__p6810242057">Error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="gaussdb_04_0004__row79980237512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="gaussdb_04_0004__p2816241152">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="gaussdb_04_0004__p198119241855">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="gaussdb_04_0004__p7813248511">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="gaussdb_04_0004__section1381724054"><h4 class="sectiontitle">Example Request</h4><p id="gaussdb_04_0004__p181524558">Creating a DB instance</p>
|
|
<pre class="screen" id="gaussdb_04_0004__screen18814245518">
|
|
POST https://gaussdb-mysql.eu-de.otc.t-systems.com/v3/054e292c9880d4992f02c0196d3ea468/instances
|
|
{
|
|
"name" : "taurusdb-instance1",
|
|
"region" : "eu-de",
|
|
"charge_info" : {
|
|
"charge_mode" : "postPaid"
|
|
},
|
|
"datastore" : {
|
|
"type" : "gaussdb-mysql",
|
|
"version" : "8.0"
|
|
},
|
|
"mode" : "Cluster",
|
|
"flavor_ref" : "gaussdb.mysql.xlarge.x86.8",
|
|
"vpc_id" : "3cedfc54-b105-4652-a4e0-847b11576b58",
|
|
"subnet_id" : "c1cfa53c-65d3-431e-8552-326bf310c7ad",
|
|
"security_group_id" : "fc577a1a-f202-424a-977f-24faec3fdd55",
|
|
"configuration_id" : "43570e0de32e40c5a15f831aa5ce4176pr07",
|
|
"password" : "xxxxxx",
|
|
"backup_strategy" : {
|
|
"start_time" : "08:00-09:00"
|
|
},
|
|
"availability_zone_mode" : "single",
|
|
"slave_count" : 1,
|
|
"enterprise_project_id" : 0
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="gaussdb_04_0004__section8821024052"><h4 class="sectiontitle">Example Response</h4><p id="gaussdb_04_0004__p28213241851"><strong id="gaussdb_04_0004__b847971244118">Status code: 201</strong></p>
|
|
<p id="gaussdb_04_0004__p18210245516">Success.</p>
|
|
<pre class="screen" id="gaussdb_04_0004__screen208211241853">{
|
|
"instance" : {
|
|
"id" : "5eebbb4c0f9f4a99b42ed1b6334569aain07",
|
|
"name" : "taurusdb-instance1",
|
|
"region" : "eu-de",
|
|
"charge_info" : {
|
|
"charge_mode" : "postPaid"
|
|
},
|
|
"datastore" : {
|
|
"type" : "gaussdb-mysql",
|
|
"version" : "8.0"
|
|
},
|
|
"mode" : "Cluster",
|
|
"flavor_ref" : "gaussdb.mysql.xlarge.x86.8",
|
|
"vpc_id" : "3cedfc54-b105-4652-a4e0-847b11576b58",
|
|
"subnet_id" : "c1cfa53c-65d3-431e-8552-326bf310c7ad",
|
|
"security_group_id" : "fc577a1a-f202-424a-977f-24faec3fdd55",
|
|
"configuration_id" : "43570e0de32e40c5a15f831aa5ce4176pr07",
|
|
"backup_strategy" : {
|
|
"start_time" : "08:00-09:00",
|
|
"keep_days" : 7
|
|
},
|
|
"availability_zone_mode" : "single",
|
|
"slave_count" : 1
|
|
},
|
|
"job_id" : "dff1d289-4d03-4942-8b9f-463ea07c000d"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="gaussdb_04_0004__section4778540915440"><h4 class="sectiontitle">Status Code</h4><p id="gaussdb_04_0004__p0723374409">For details, see <a href="gaussdb_10_0002.html">Status Codes</a>.</p>
|
|
</div>
|
|
<div class="section" id="gaussdb_04_0004__section946032144017"><h4 class="sectiontitle">Error Code</h4><p id="gaussdb_04_0004__p19357163913406">For details, see <a href="gaussdb_10_0003.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_04_0003.html">Managing DB Instances</a></div>
|
|
</div>
|
|
</div>
|
|
|