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

817 lines
66 KiB
HTML

<a name="gaussdb_11_0004"></a><a name="gaussdb_11_0004"></a>
<h1 class="topictitle1">Creating a DB Instance</h1>
<div id="body8662426"><div class="section" id="gaussdb_11_0004__en-us_topic_0000001297545181_section4284989"><h4 class="sectiontitle">Function</h4><p id="gaussdb_11_0004__en-us_topic_0000001267522832_en-us_topic_0000001250985350_p33831530">This API is used to create a DB instance. Before calling this API:</p>
<ul id="gaussdb_11_0004__en-us_topic_0000001267522832_en-us_topic_0000001250985350_ul924420236520"><li id="gaussdb_11_0004__en-us_topic_0000001267522832_en-us_topic_0000001250985350_li136356359522">Learn how to <a href="gaussdb_03_0001.html">authorize and authenticate</a> it.</li><li id="gaussdb_11_0004__en-us_topic_0000001267522832_en-us_topic_0000001250985350_li1991981933613">Obtain the required <a href="gaussdb_00_0003.html">region and endpoint</a>.</li></ul>
</div>
<div class="section" id="gaussdb_11_0004__en-us_topic_0000001297545181_section38564907"><h4 class="sectiontitle">URI</h4><ul id="gaussdb_11_0004__en-us_topic_0000001297545181_ul13194498"><li id="gaussdb_11_0004__en-us_topic_0000001297545181_li51641620">URI format<p id="gaussdb_11_0004__en-us_topic_0000001297545181_p62121397"><a name="gaussdb_11_0004__en-us_topic_0000001297545181_li51641620"></a><a name="en-us_topic_0000001297545181_li51641620"></a>POST https://{endpoint}/mysql/v3/{project_id}/instances</p>
</li><li id="gaussdb_11_0004__en-us_topic_0000001297545181_li4411135064210">URI example<p id="gaussdb_11_0004__p678662414552"><a name="gaussdb_11_0004__en-us_topic_0000001297545181_li4411135064210"></a><a name="en-us_topic_0000001297545181_li4411135064210"></a>POST https://gaussdb-mysql.eu-de.otc.t-systems.com/mysql/v3/0483b6b16e954cb88930a360d2c4e663/instances</p>
</li><li id="gaussdb_11_0004__en-us_topic_0000001297545181_li22221662">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001297545181_table65777232" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="gaussdb_11_0004__en-us_topic_0000001297545181_row46529701"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.3.1.2.4.1.1"><p id="gaussdb_11_0004__en-us_topic_0000001297545181_p10809459"><strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b167031065177">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.3.1.2.4.1.2"><p id="gaussdb_11_0004__en-us_topic_0000001297545181_p3150961">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.3.1.2.4.1.3"><p id="gaussdb_11_0004__en-us_topic_0000001297545181_p53901255"><strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b9801888173">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__en-us_topic_0000001297545181_row3925534"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.3.1.2.4.1.1 "><p id="gaussdb_11_0004__en-us_topic_0000001297545181_p49532829">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.3.1.2.4.1.2 "><p id="gaussdb_11_0004__en-us_topic_0000001297545181_p52736237">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.3.1.2.4.1.3 "><p id="gaussdb_11_0004__en-us_topic_0000001297545181_p43776822">Project ID of a tenant in a region.</p>
<p id="gaussdb_11_0004__en-us_topic_0000001297545181_p131433595402">To obtain this value, see <a href="gaussdb_10_0004.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="gaussdb_11_0004__section5379948134212"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001226682425_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="gaussdb_11_0004__row438014817427"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="gaussdb_11_0004__p15381174844214">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="gaussdb_11_0004__p113821448134219">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="gaussdb_11_0004__p193827485422">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="gaussdb_11_0004__p1038394812429">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row10380164816423"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="gaussdb_11_0004__p938419489428">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="gaussdb_11_0004__p13384134854217">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="gaussdb_11_0004__p9385164813422">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="gaussdb_11_0004__p1538534894213">User token.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row6380204811426"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="gaussdb_11_0004__p12386134816425">X-Language</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="gaussdb_11_0004__p1438714487429">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="gaussdb_11_0004__p63879481429">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="gaussdb_11_0004__p3388114818425">Language.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001226682425_request_MysqlInstanceRequest" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="gaussdb_11_0004__row538964854214"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="gaussdb_11_0004__p239019489427">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="gaussdb_11_0004__p1639111489424">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="gaussdb_11_0004__p1339244874214">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="gaussdb_11_0004__p639217488424">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row12389174813429"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p639354820421">charge_info</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p939434813427">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p18394184819427"><a href="#gaussdb_11_0004__en-us_topic_0000001226682425_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_11_0004__p183951748184215">Billing mode, which is pay-per-use (default setting). </p>
</td>
</tr>
<tr id="gaussdb_11_0004__row138919482423"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p4396448204217">region</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p3396134811425">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p1139774815426">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p40344576">Region ID.</p>
<p id="gaussdb_11_0004__p3825082612023">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_11_0004__row538964813425"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p123981548194211">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p18399144820422">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p1839917482427">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p1423015328412">DB instance name.</p>
<p id="gaussdb_11_0004__p1932813714413">Instances of the same type can have same names under the same tenant.</p>
<p id="gaussdb_11_0004__p040024854218">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_11_0004__row183898483427"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p24011448194214">datastore</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p640119482428">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p19402144815422"><a href="#gaussdb_11_0004__en-us_topic_0000001226682425_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_11_0004__p5403164816423">Database information.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row13389204814214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p104033483422">mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p1740416481423">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p1540544824213">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p194051048154210">DB instance type, which is case-insensitive. Currently, only the cluster type is supported.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row15389104844216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p5406648174212">flavor_ref</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p540744819424">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p114073481421">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p1140854894210">Specification code. For details, see <a href="gaussdb_11_0002.html">Querying Database Specifications</a>.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row73899484427"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p1340918489422">vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p84091486427">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p4410134812422">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p18215185214498">VPC ID. To obtain this value, use either of the following methods:</p>
<ul id="gaussdb_11_0004__ul921525217494"><li id="gaussdb_11_0004__li122151452104916">Method 1: Log in to the VPC console and view the VPC ID on the VPC details page.</li><li id="gaussdb_11_0004__li132151552184911">Method 2: See "Querying VPCs" in the <em id="gaussdb_11_0004__en-us_topic_0000001297545181_i17722122316354">Virtual Private Cloud API Reference</em>.</li></ul>
</td>
</tr>
<tr id="gaussdb_11_0004__row10389548174211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p19411548104220">subnet_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p2412948184215">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p12412124814214">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p122151052134910">Network ID. To obtain this value, use either of the following methods:</p>
<ul id="gaussdb_11_0004__ul10216452184910"><li id="gaussdb_11_0004__li1221655215497">Method 1: Log in to the VPC console and click the target subnet on the <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b194048485363">Subnets</strong> page. You can view the network ID on the displayed page.</li><li id="gaussdb_11_0004__li18216752144911">Method 2: See "Querying Subnets" in the <em id="gaussdb_11_0004__en-us_topic_0000001297545181_i337122574211">Virtual Private Cloud API Reference</em>.</li></ul>
</td>
</tr>
<tr id="gaussdb_11_0004__row13891348204217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p94141148204220">security_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p6414148204213">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p941514486423">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p131171204169">Security group ID.</p>
<p id="gaussdb_11_0004__p15666121419501">If the network ACL is enabled for the subnet used by the created instance, this parameter is optional. If the network ACL is not enabled, this parameter is mandatory.</p>
<ul id="gaussdb_11_0004__ul96661614155017"><li id="gaussdb_11_0004__li766617147502">Method 1: Log in to VPC console. Choose <strong id="gaussdb_11_0004__b369685812285">Access Control</strong> &gt; <strong id="gaussdb_11_0004__b14697165815286">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_11_0004__li1466719146509">Method 2: See "Querying Security Groups" in the <em id="gaussdb_11_0004__en-us_topic_0000001297545181_i111074415436">Virtual Private Cloud API Reference</em>.</li></ul>
</td>
</tr>
<tr id="gaussdb_11_0004__row4389204810426"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p641634834217">configuration_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p104170483421">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p2041864894214">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p18418174813425">Parameter template ID.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row1238904844219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p184190484421">password</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p19419548134217">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p12420648174210">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p252314328139">Database password.</p>
<p id="gaussdb_11_0004__p26487069">Values:</p>
<p id="gaussdb_11_0004__p482217533347">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 (~!@#%^*-_=+?).</p>
<p id="gaussdb_11_0004__p113889138192">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_11_0004__row8389104894211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p742114819421">backup_strategy</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p442213489428">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p1342354815429"><a href="#gaussdb_11_0004__en-us_topic_0000001226682425_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_11_0004__p11423164812426">Automated backup policy.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row13389174814214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p194241948124212">time_zone</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p1425048134220">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p74251848154216">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p768113518452">UTC time zone.</p>
<ul id="gaussdb_11_0004__ul1451633183219"><li id="gaussdb_11_0004__li6516103113216">If this parameter is not specified, UTC is used by default.</li><li id="gaussdb_11_0004__li75165316326">If this parameter is specified, the value ranges from UTC-12:00 to UTC+12:00 at the full hour. For example, the parameter can be <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b101755144312">UTC+08:00</strong> rather than <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b62213519432">UTC+08:30</strong>.</li></ul>
</td>
</tr>
<tr id="gaussdb_11_0004__row193896487425"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p24275484422">availability_zone_mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p1042734818426">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p2042884815426">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p9429144819429">AZ type. The value can be <strong id="gaussdb_11_0004__b1887061612295">Single</strong> or <strong id="gaussdb_11_0004__b10870161614299">multi</strong>.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row10389164813428"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p042974811428">master_availability_zone</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p11590318346">If <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b0606124220517">availability_zone_mode</strong> is set to <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b860694225117">multi</strong>, this parameter is mandatory.</p>
<p id="gaussdb_11_0004__p16560142393519">If <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b1181091311716">availability_zone_mode</strong> is set to <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b135258201775">single</strong>, this parameter cannot be specified.</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p1443194844212">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p1043144864216">Primary AZ.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row19389174818423"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p943214810423">slave_count</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p943254813426">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p124334486424">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p1664162204714">Number of created read replicas. Value: <strong id="gaussdb_11_0004__b6296134362910">1</strong> to <strong id="gaussdb_11_0004__b23301346192917">9</strong>. An instance contains up to 15 read replicas.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row14389124812429"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p204371748124211">tags</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p134389485425">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p144381548114214">Array of <a href="#gaussdb_11_0004__en-us_topic_0000001226682425_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_11_0004__p16439154844219">Tag list. Instances are created based on tag keys and values.</p>
<ul id="gaussdb_11_0004__ul8440248114216"><li id="gaussdb_11_0004__li6440948164213"><em id="gaussdb_11_0004__en-us_topic_0000001297545181_i031011301535">{key}</em> indicates the tag key. It must be unique and cannot be empty.</li><li id="gaussdb_11_0004__li14411948144212"><em id="gaussdb_11_0004__i1648218716306">{value}</em> indicates the tag value, which can be empty.</li></ul>
<p id="gaussdb_11_0004__p9441448154212">To create 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_11_0004__row43899488422"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p1244211487422">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p154434486429">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p8443134813429">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p4444174819425">Enterprise project ID. This parameter is mandatory when the enterprise project is enabled.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row83891484429"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="gaussdb_11_0004__p34455485425">dedicated_resource_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="gaussdb_11_0004__p1044519489426">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="gaussdb_11_0004__p17446114894210">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="gaussdb_11_0004__p18447048104211">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_11_0004__en-us_topic_0000001226682425_request_MysqlChargeInfo"></a><a name="en-us_topic_0000001226682425_request_MysqlChargeInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001226682425_request_MysqlChargeInfo" frame="border" border="1" rules="all"><caption><b>Table 4 </b>MysqlChargeInfo</caption><thead align="left"><tr id="gaussdb_11_0004__row8447164874211"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="gaussdb_11_0004__p194491048134219">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="gaussdb_11_0004__p1244994884218">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="gaussdb_11_0004__p12450548124212">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="gaussdb_11_0004__p245064814422">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row17447184844213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="gaussdb_11_0004__p104513481424">charge_mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="gaussdb_11_0004__p1345254819427">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="gaussdb_11_0004__p17452248134211">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="gaussdb_11_0004__p335651695218">Billing mode.</p>
<p id="gaussdb_11_0004__p735719165522">Value: <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b16442195564112">postPaid</strong></p>
</td>
</tr>
<tr id="gaussdb_11_0004__row04472048134217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="gaussdb_11_0004__p8458164834215">period_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="gaussdb_11_0004__p1045914816423">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="gaussdb_11_0004__p164604482421">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="gaussdb_11_0004__p435771695210">Subscription period.</p>
<p id="gaussdb_11_0004__p1935741655210">Values:</p>
<ul id="gaussdb_11_0004__ul63574166524"><li id="gaussdb_11_0004__li13357141613521"><strong id="gaussdb_11_0004__b10738340302">month</strong>: The service is subscribed by month.</li><li id="gaussdb_11_0004__li163571916175212"><strong id="gaussdb_11_0004__b104059529146">year</strong>: The service is subscribed by year.<div class="note" id="gaussdb_11_0004__note9357101655210"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="gaussdb_11_0004__p035711615526">This parameter is valid and mandatory if <span class="parmname" id="gaussdb_11_0004__en-us_topic_0000001297545181_parmname123571016165215"><b>charge_mode</b></span> is set to <span class="parmvalue" id="gaussdb_11_0004__en-us_topic_0000001297545181_parmvalue2035711166526"><b>prePaid</b></span>.</p>
</div></div>
</li></ul>
</td>
</tr>
<tr id="gaussdb_11_0004__row1344714894217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="gaussdb_11_0004__p146694818422">period_num</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="gaussdb_11_0004__p15466114815428">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="gaussdb_11_0004__p16467148134217">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="gaussdb_11_0004__p1035881615522">Subscription duration. This parameter is valid and mandatory if <span class="parmname" id="gaussdb_11_0004__en-us_topic_0000001297545181_parmname1735821616523"><b>charge_mode</b></span> is set to <span class="parmvalue" id="gaussdb_11_0004__en-us_topic_0000001297545181_parmvalue2035881618527"><b>prePaid</b></span>.</p>
<p id="gaussdb_11_0004__p14358141615526">Values:</p>
<ul id="gaussdb_11_0004__ul1635861675218"><li id="gaussdb_11_0004__li1335891617526">When <span class="parmname" id="gaussdb_11_0004__en-us_topic_0000001297545181_parmname1381512738163635"><b>period_type</b></span> is set to <span class="parmvalue" id="gaussdb_11_0004__en-us_topic_0000001297545181_parmvalue1618453384163640"><b>month</b></span>, the parameter value ranges from <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b842352706193323">1</strong> to <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b842352706193326">9</strong>.</li><li id="gaussdb_11_0004__li8358161614526">When <span class="parmname" id="gaussdb_11_0004__en-us_topic_0000001297545181_parmname744652825163658"><b>period_type</b></span> is set to <span class="parmvalue" id="gaussdb_11_0004__en-us_topic_0000001297545181_parmvalue185692081416372"><b>year</b></span>, the parameter value ranges from <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b842352706163729">1</strong> to <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b842352706163733">3</strong>.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="gaussdb_11_0004__en-us_topic_0000001226682425_request_MysqlDatastore"></a><a name="en-us_topic_0000001226682425_request_MysqlDatastore"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001226682425_request_MysqlDatastore" frame="border" border="1" rules="all"><caption><b>Table 5 </b>MysqlDatastore</caption><thead align="left"><tr id="gaussdb_11_0004__row14821048124214"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="gaussdb_11_0004__p0484124874219">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="gaussdb_11_0004__p2484194844211">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="gaussdb_11_0004__p1048544810425">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="gaussdb_11_0004__p1148518489420">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row64821548114217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="gaussdb_11_0004__p2486144864220">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="gaussdb_11_0004__p5487104854211">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="gaussdb_11_0004__p174872048194210">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="gaussdb_11_0004__p17488104884213">DB engine. Currently, only gaussdb-mysql is supported.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row84829489421"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="gaussdb_11_0004__p8489164811425">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="gaussdb_11_0004__p548904894220">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="gaussdb_11_0004__p16490248194219">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="gaussdb_11_0004__p7491248104216">DB version.</p>
<p id="gaussdb_11_0004__p4491104814217">For details about supported DB versions, see <a href="gaussdb_11_0001.html">Querying Version Information About a DB Engine</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="gaussdb_11_0004__en-us_topic_0000001226682425_request_MysqlBackupStrategy"></a><a name="en-us_topic_0000001226682425_request_MysqlBackupStrategy"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001226682425_request_MysqlBackupStrategy" frame="border" border="1" rules="all"><caption><b>Table 6 </b>MysqlBackupStrategy</caption><thead align="left"><tr id="gaussdb_11_0004__row849244844211"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.1"><p id="gaussdb_11_0004__p18493124814220">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.2"><p id="gaussdb_11_0004__p15494134874213">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.3"><p id="gaussdb_11_0004__p3494164874212">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.6.2.5.1.4"><p id="gaussdb_11_0004__p12495204810428">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row1649294814219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="gaussdb_11_0004__p14496154820426">start_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="gaussdb_11_0004__p849654815427">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="gaussdb_11_0004__p12497114844214">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="gaussdb_11_0004__p8983181183415">Automated backup start time. The automated backup will be triggered within one hour after the time specified by this parameter.</p>
<p id="gaussdb_11_0004__p1388331819512">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_11_0004__ul12883111815519"><li id="gaussdb_11_0004__li28833188515">The <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b287391115489">HH</strong> value must be 1 greater than the <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b1387691115487">hh</strong> value.</li><li id="gaussdb_11_0004__li088301865116">The values of <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b453112193488">mm</strong> and <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b5537191910489">MM</strong> must be the same and must be set to <strong id="gaussdb_11_0004__en-us_topic_0000001297545181_b5537151915481">00</strong>.</li></ul>
<p id="gaussdb_11_0004__p168831618155114">Example value:</p>
<p id="gaussdb_11_0004__p3659189164915">21:00-22:00</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row84921348184219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="gaussdb_11_0004__p155005483425">keep_days</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="gaussdb_11_0004__p6501144814216">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="gaussdb_11_0004__p1863164834215">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="gaussdb_11_0004__p1063215481429">Automated backup retention days. Value: <strong id="gaussdb_11_0004__b111301621113210">1</strong>-<strong id="gaussdb_11_0004__b9136921163219">732</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001226682425_request_MysqlVolume" frame="border" border="1" rules="all"><caption><b>Table 7 </b>MysqlVolume</caption><thead align="left"><tr id="gaussdb_11_0004__row4503164844217"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.1"><p id="gaussdb_11_0004__p16632194810427">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.2"><p id="gaussdb_11_0004__p14633184813427">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.3"><p id="gaussdb_11_0004__p1863314486422">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.7.2.5.1.4"><p id="gaussdb_11_0004__p8633164813427">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row15503134819429"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="gaussdb_11_0004__p1963304813423">size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="gaussdb_11_0004__p136338481423">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="gaussdb_11_0004__p163414484422">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="gaussdb_11_0004__p9371326111317">Disk size. The default value is 40 GB.</p>
<p id="gaussdb_11_0004__p26340488420">Value: <strong id="gaussdb_11_0004__b16344143173211">40</strong> to <strong id="gaussdb_11_0004__b134483193213">128000</strong>. The value must be a multiple of 10.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="gaussdb_11_0004__en-us_topic_0000001226682425_request_MysqlTags"></a><a name="en-us_topic_0000001226682425_request_MysqlTags"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001226682425_request_MysqlTags" frame="border" border="1" rules="all"><caption><b>Table 8 </b>MysqlTags</caption><thead align="left"><tr id="gaussdb_11_0004__row20507144815421"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.1"><p id="gaussdb_11_0004__p20635184874210">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.2"><p id="gaussdb_11_0004__p66351748174217">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.3"><p id="gaussdb_11_0004__p36351484427">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.8.2.5.1.4"><p id="gaussdb_11_0004__p56354486426">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row1350794884211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="gaussdb_11_0004__p1763604854212">key</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="gaussdb_11_0004__p13636448194212">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="gaussdb_11_0004__p0636164834219">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="gaussdb_11_0004__p1363664820420">Tag key. It contains a maximum of 36 Unicode characters. The value cannot be an empty string, a space, or left blank. Only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_) are allowed.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row8507194820424"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="gaussdb_11_0004__p16371148144219">value</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="gaussdb_11_0004__p263784814219">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="gaussdb_11_0004__p19637174884210">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="gaussdb_11_0004__p196373482427">Tag value. It contains a maximum of 43 Unicode characters. It can be an empty string. Only uppercase letters, lowercase letters, digits, periods (.), hyphens (-), and underscores (_) are allowed.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="gaussdb_11_0004__section16637148154219"><h4 class="sectiontitle">Response Parameters</h4><p id="gaussdb_11_0004__p86389482422"><strong id="gaussdb_11_0004__b16866331123312">Status code: 201</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001226682425_response_MysqlCreateInstanceResponse" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="gaussdb_11_0004__row1651415484422"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="gaussdb_11_0004__p16638648164211">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="gaussdb_11_0004__p163844814217">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="gaussdb_11_0004__p1563984818429">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row1851464864216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="gaussdb_11_0004__p363994874219">instance</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="gaussdb_11_0004__p66391448134215"><a href="#gaussdb_11_0004__en-us_topic_0000001226682425_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_11_0004__p11639148104210">Instance information.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row2514184819424"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="gaussdb_11_0004__p11640948184216">job_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="gaussdb_11_0004__p146401648154219">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="gaussdb_11_0004__p56409481421">DB instance creation task ID.</p>
<p id="gaussdb_11_0004__p1564010487425">This parameter is returned only when pay-per-use DB instances are created.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row1451444811423"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="gaussdb_11_0004__p17641548174214">order_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="gaussdb_11_0004__p664154818424">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="gaussdb_11_0004__p0641184864218">Order ID. This parameter is returned only when yearly/monthly instances are created.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="gaussdb_11_0004__en-us_topic_0000001226682425_response_MysqlInstanceResponse"></a><a name="en-us_topic_0000001226682425_response_MysqlInstanceResponse"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001226682425_response_MysqlInstanceResponse" frame="border" border="1" rules="all"><caption><b>Table 10 </b>MysqlInstanceResponse</caption><thead align="left"><tr id="gaussdb_11_0004__row145211448114217"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="gaussdb_11_0004__p264116486422">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="gaussdb_11_0004__p136421484428">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="gaussdb_11_0004__p964234814422">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row6521248104217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p76421848114211">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p76421248114211">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p1464311480427">Instance ID.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row3521104884211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p106431148174214">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p136434483426">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p1924219550166">DB instance name. Instances of the same type can have same names under the same tenant.</p>
<p id="gaussdb_11_0004__p1364374810426">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_11_0004__row65211348144210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p7643204813422">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p16644948124217">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p78617346309">Instance status. Value: <strong id="gaussdb_11_0004__b170871450473616">creating</strong>.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row852164818427"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p0644144844216">datastore</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p964418489428"><a href="#gaussdb_11_0004__en-us_topic_0000001226682425_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_11_0004__p1764518484426">Database information.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row952117480426"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p10645174812428">mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p1264534854211">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p464515486420">DB instance type. Currently, only the cluster type is supported.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row5521184894211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p15646184884218">configuration_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p66461487427">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p9646748104220">Parameter template ID.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row35211248124218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p6646164874214">port</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p26463481429">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p1133155782713">Database port, which is the same as the request parameter.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row1952184884217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p264734864212">backup_strategy</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p15647194818427"><a href="#gaussdb_11_0004__en-us_topic_0000001226682425_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_11_0004__p064784813426">Automated backup policy.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row8521134854220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p15648448204215">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p76482482429">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p064814894218">Enterprise project ID.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row1452117489425"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p1364864811425">region</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p19648248104217">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p664914864214">Region ID, which is the same as the request parameter.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row552154884214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p14649124816423">availability_zone_mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p15649104874215">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p36495485421">AZ mode, which is the same as the request parameter.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row1521124814220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p46507489424">master_availability_zone</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p865011482425">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p17650194820427">Primary AZ ID.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row165211348124217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p14650204819426">vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p86511948124210">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p13651648124213">VPC ID, which is the same as the request parameter.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row952104874212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p15651104811425">security_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p186518487427">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p765174864218">Security group ID, which is the same as the request parameter.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row2521154824210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p8652164810425">subnet_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p665204815425">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p2652448184216">Subnet ID, which is the same as the request parameter.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row1052114813428"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p6652134816429">flavor_ref</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p18653648204214">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="gaussdb_11_0004__p1065314894215">Specification code, which is the same as the request parameter.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row65216483428"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="gaussdb_11_0004__p136533484422">charge_info</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="gaussdb_11_0004__p14653134813420"><a href="#gaussdb_11_0004__en-us_topic_0000001226682425_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_11_0004__p1465318486421">Billing mode, which is yearly/monthly or pay-per-use (default setting).</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="gaussdb_11_0004__en-us_topic_0000001226682425_response_MysqlDatastore"></a><a name="en-us_topic_0000001226682425_response_MysqlDatastore"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001226682425_response_MysqlDatastore" frame="border" border="1" rules="all"><caption><b>Table 11 </b>MysqlDatastore</caption><thead align="left"><tr id="gaussdb_11_0004__row25441448144216"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="gaussdb_11_0004__p26546488429">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="gaussdb_11_0004__p176540482423">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="gaussdb_11_0004__p16654448124218">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row12544104815421"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="gaussdb_11_0004__p6655124894216">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="gaussdb_11_0004__p865574812427">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="gaussdb_11_0004__p76551848164212">DB engine.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row1754424824217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="gaussdb_11_0004__p1065516485423">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="gaussdb_11_0004__p1465554820424">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="gaussdb_11_0004__p1565644816427">DB version.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="gaussdb_11_0004__en-us_topic_0000001226682425_response_MysqlBackupStrategy"></a><a name="en-us_topic_0000001226682425_response_MysqlBackupStrategy"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001226682425_response_MysqlBackupStrategy" frame="border" border="1" rules="all"><caption><b>Table 12 </b>MysqlBackupStrategy</caption><thead align="left"><tr id="gaussdb_11_0004__row3549124834217"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="gaussdb_11_0004__p136561048134213">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="gaussdb_11_0004__p14657164874213">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="gaussdb_11_0004__p66575485421">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row1054984894210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="gaussdb_11_0004__p1865720481423">start_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="gaussdb_11_0004__p365718481425">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="gaussdb_11_0004__p965864834210">Automated backup start time. The automated backup will be triggered within one hour after the time specified by this parameter.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row15549164824212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="gaussdb_11_0004__p1465954817428">keep_days</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="gaussdb_11_0004__p1165914484426">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="gaussdb_11_0004__p229865817274">Backup retention days.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="gaussdb_11_0004__en-us_topic_0000001226682425_response_MysqlChargeInfo"></a><a name="en-us_topic_0000001226682425_response_MysqlChargeInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001226682425_response_MysqlChargeInfo" frame="border" border="1" rules="all"><caption><b>Table 13 </b>MysqlChargeInfo</caption><thead align="left"><tr id="gaussdb_11_0004__row15545485425"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="gaussdb_11_0004__p766064812427">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="gaussdb_11_0004__p26601548154212">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="gaussdb_11_0004__p66601348104213">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row75551148134219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="gaussdb_11_0004__p366014819428">charge_mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="gaussdb_11_0004__p17661164813424">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="gaussdb_11_0004__p1161169163719">Billing mode.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row15555648104213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="gaussdb_11_0004__p166631485423">period_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="gaussdb_11_0004__p96631148114220">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="gaussdb_11_0004__p106638482425">Subscription period.</p>
<p id="gaussdb_11_0004__p14663184811420">Values:</p>
<ul id="gaussdb_11_0004__ul466474884214"><li id="gaussdb_11_0004__li06641348184212"><strong id="gaussdb_11_0004__b250072193">month</strong>: The service is subscribed by month.</li><li id="gaussdb_11_0004__li1966419483426"><strong id="gaussdb_11_0004__b1645421929">year</strong>: The service is subscribed by year.</li></ul>
<p id="gaussdb_11_0004__p13664144811428">This parameter is valid and mandatory only when <strong id="gaussdb_11_0004__b80912386373616">charge_mode</strong> is set to <strong id="gaussdb_11_0004__b73984402673616">prePaid</strong>.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row75559482428"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="gaussdb_11_0004__p1666584811422">period_num</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="gaussdb_11_0004__p066614486427">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="gaussdb_11_0004__p1523218472215">Subscription duration, which is calculated by month.</p>
<p id="gaussdb_11_0004__p62331847162116">This parameter is valid when <strong id="gaussdb_11_0004__b14781752184311">charge_mode</strong> is set to <strong id="gaussdb_11_0004__b4732105911435">prePaid</strong> (this parameter is valid only for yearly/monthly instances).</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="gaussdb_11_0004__p167114484428"><strong id="gaussdb_11_0004__b166457687672441">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__en-us_topic_0000001226682425_response_MysqlErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 14 </b>Response body parameters</caption><thead align="left"><tr id="gaussdb_11_0004__row105741148184217"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="gaussdb_11_0004__p196711048134213">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.2"><p id="gaussdb_11_0004__p9672848144212">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.9.2.4.1.3"><p id="gaussdb_11_0004__p126721748144217">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row2574114884212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="gaussdb_11_0004__p767214816422">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="gaussdb_11_0004__p0672548144211">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="gaussdb_11_0004__p467384894216">Error code.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row1457444819427"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="gaussdb_11_0004__p4673164844212">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="gaussdb_11_0004__p267316484421">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="gaussdb_11_0004__p1867311485421">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="gaussdb_11_0004__p11674114824215"><strong id="gaussdb_11_0004__b167803258163946">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_11_0004__table4580948114212" frame="border" border="1" rules="all"><caption><b>Table 15 </b>Response body parameters</caption><thead align="left"><tr id="gaussdb_11_0004__row5580648194211"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.1"><p id="gaussdb_11_0004__p767419481424">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.2"><p id="gaussdb_11_0004__p8674848184212">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.11.2.4.1.3"><p id="gaussdb_11_0004__p567513489422">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="gaussdb_11_0004__row10580448184212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="gaussdb_11_0004__p767564874216">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="gaussdb_11_0004__p0675154816425">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="gaussdb_11_0004__p10675848154210">Error code.</p>
</td>
</tr>
<tr id="gaussdb_11_0004__row258094812422"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="gaussdb_11_0004__p167564814428">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="gaussdb_11_0004__p1967619489425">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="gaussdb_11_0004__p4676184884220">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="gaussdb_11_0004__section467684844210"><h4 class="sectiontitle">Example Request</h4><p id="gaussdb_11_0004__p11676194814422">Creating a DB instance</p>
<pre class="screen" id="gaussdb_11_0004__screen26771848134216">
POST https://gaussdb-mysql.eu-de.otc.t-systems.com/mysql/v3/0483b6b16e954cb88930a360d2c4e663/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" : "xxxxx",
"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_11_0004__section86821748194212"><h4 class="sectiontitle">Example Response</h4><p id="gaussdb_11_0004__p268334814420"><strong id="gaussdb_11_0004__b1434323918338">Status code: 201</strong></p>
<p id="gaussdb_11_0004__p2683104813428">Success.</p>
<pre class="screen" id="gaussdb_11_0004__screen1068334811426">{
"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_11_0004__section4778540915440"><h4 class="sectiontitle">Status Code</h4><p id="gaussdb_11_0004__p0723374409">For details, see <a href="gaussdb_10_0002.html">Status Codes</a>.</p>
</div>
<div class="section" id="gaussdb_11_0004__section2557116171718"><h4 class="sectiontitle">Error Code</h4><p id="gaussdb_11_0004__p855716160178">For details, see <a href="gaussdb_10_0003.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_11_0003.html">Instance Management</a></div>
</div>
</div>