forked from docs/doc-exports
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
647 lines
50 KiB
HTML
647 lines
50 KiB
HTML
<a name="nosql_05_0014"></a><a name="nosql_05_0014"></a>
|
||
|
||
<h1 class="topictitle1">Creating an Instance</h1>
|
||
<div id="body53221815112"><div class="section" id="nosql_05_0014__section1332338145115"><h4 class="sectiontitle">Function</h4><p id="nosql_05_0014__p191139550512">This API can be used to create an instance.</p>
|
||
</div>
|
||
<div class="section" id="nosql_05_0014__section1732516875115"><h4 class="sectiontitle">Constraints</h4><p id="nosql_05_0014__p153256865116">This API supports GeminiDB Cassandra instances.</p>
|
||
</div>
|
||
<div class="section" id="nosql_05_0014__section1434113825119"><h4 class="sectiontitle">URI</h4><p id="nosql_05_0014__p193421184518">POST https://{Endpoint}/v3/{project_id}/instances</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="nosql_05_0014__table1734848185111" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="nosql_05_0014__row634748135117"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="nosql_05_0014__p143496816517">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="nosql_05_0014__p1035068205119">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="nosql_05_0014__p9351198105117">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="nosql_05_0014__p13523816511">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="nosql_05_0014__row17347178175119"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="nosql_05_0014__p1035311811516">project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="nosql_05_0014__p173548825116">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="nosql_05_0014__p1435519817513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="nosql_05_0014__p143561383516">Project ID of a tenant in a region. To obtain this value, see <a href="nosql_projectid.html">Obtaining a Project ID</a>.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="nosql_05_0014__section4357886517"><h4 class="sectiontitle">Request Parameters</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="nosql_05_0014__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="nosql_05_0014__row6358382518"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="nosql_05_0014__p736014865117">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="nosql_05_0014__p1036115819510">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="nosql_05_0014__p73628818519">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="nosql_05_0014__p173633819517">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="nosql_05_0014__row93581835117"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="nosql_05_0014__p536418818512">X-Auth-Token</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="nosql_05_0014__p1436520865110">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="nosql_05_0014__p1036617825114">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="nosql_05_0014__p736720855114">User token.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="nosql_05_0014__request_CreateInstanceRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="nosql_05_0014__row63691182519"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="nosql_05_0014__p1437310875119">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="19.39%" id="mcps1.3.4.3.2.5.1.2"><p id="nosql_05_0014__p73742855117">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20.61%" id="mcps1.3.4.3.2.5.1.3"><p id="nosql_05_0014__p7375989513">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.3.2.5.1.4"><p id="nosql_05_0014__p173760814519">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="nosql_05_0014__row1136948165118"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p19377178135115">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p63784875117">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p17379589513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p438068115117">Instance name, which can be the same as an existing instance name.</p>
|
||
<p id="nosql_05_0014__p93821489510">The name must start with a letter and can include 4 to 64 characters. It is case-sensitive and can contain only letters, digits, hyphens (-), and underscores (_).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row636938125113"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p63831785513">datastore</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p93841682512">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p173855895111"><a href="#nosql_05_0014__request_Datastore">Datastore</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p2038613885114">Database information.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row123692815518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p1038711805115">region</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p83881889512">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p539120815113">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p1039278135116">Region ID.</p>
|
||
<p id="nosql_05_0014__p3825082612023">The value cannot be empty. For value details, 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="nosql_05_0014__row8369208125114"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p240115811513">availability_zone</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p4402198145120">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p640318815119">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p18404188175115">AZ ID.</p>
|
||
<p id="nosql_05_0014__p1740515815110">For details about the value, see <strong id="nosql_05_0014__b116833417352">az_status</strong> returned in <a href="nosql_instance_specification.html">Querying Instance Specifications</a>. If an instance can be created across three AZs, separate multiple AZ IDs by commas (,).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row1636910812515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p040688165114">vpc_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p1340708135115">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p3408481517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p134091286511">VPC ID. You can obtain the value with either of the following methods:</p>
|
||
<ul id="nosql_05_0014__ul250415512347"><li id="nosql_05_0014__li67651171359">Method 1: Log in to the VPC console and view the VPC ID on the VPC details page.</li><li id="nosql_05_0014__li17405132214423">Method 2: See section "Querying VPCs" in the <em id="nosql_05_0014__i159856415410">Virtual Private Cloud API Reference</em>.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row13701685514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p15414178155110">subnet_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p741512813512">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p541698185119">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p144171587516">Subnet ID. You can obtain the subnet ID with either of the following methods:</p>
|
||
<ul id="nosql_05_0014__ul9152102763919"><li id="nosql_05_0014__li121534277395">Method 1: Log in to the VPC console and click the target subnet on the <strong id="nosql_05_0014__b118712161516">Subnets</strong> page. You can view the network ID on the displayed page.</li><li id="nosql_05_0014__li628710358517">Method 2: See section "Querying Subnets" in the <em id="nosql_05_0014__i293820521657">Virtual Private Cloud API Reference</em>.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row33708814512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p142218825115">security_group_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p84252088514">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p8426985519">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p15427086518">Security group ID. You can obtain the security group ID with either of the following methods:</p>
|
||
<ul id="nosql_05_0014__ul16404122194211"><li id="nosql_05_0014__li94054222421">Method 1: Log in to the VPC console. Choose <strong id="nosql_05_0014__b11723202519610">Access Control</strong> > <strong id="nosql_05_0014__b1572417251064">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="nosql_05_0014__li1378014472514">Method 2: See section "Querying Security Groups" in the <em id="nosql_05_0014__i442116409612">Virtual Private Cloud API Reference</em>.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row737018819517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p54321387517">password</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p184331885114">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p1843418810518">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p04372816515">Database password.</p>
|
||
<p id="nosql_05_0014__p44383805110">The password can include 8 to 32 characters and contain uppercase letters, lowercase letters, digits, and the following special characters: ~!@#%^*-_=+? </p>
|
||
<p id="nosql_05_0014__p1643916865115">Enter a strong password against security risks such as brute force cracking.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row123706818516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p744048145112">mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p344168135111">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p13442118105110">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p9443198145111">Instance type. The value can be:</p>
|
||
<ul id="nosql_05_0014__ul54444815115"><li id="nosql_05_0014__li844413855112"><strong id="nosql_05_0014__b196312113137">Cluster</strong>, indicating that <span id="nosql_05_0014__text208732013231">GeminiDB Cassandra</span> supports the cluster type.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row237019865116"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p134512812514">flavor</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p1845217855112">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p1945318145119">Array of <a href="#nosql_05_0014__request_Flavor">Flavor</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p184541480511">Instance specifications.</p>
|
||
<p id="nosql_05_0014__p2045413819511">For details about the specifications, see parameter values under <strong id="nosql_05_0014__b547717566186">flavors</strong> in <a href="nosql_instance_specification.html">Querying Instance Specifications</a>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row137017885115"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p44557818515">configuration_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p845678105111">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p845814814515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p34599811514">Parameter template ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row537078155111"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p846018815111">backup_strategy</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p4460184516">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p1546138175110"><a href="#nosql_05_0014__request_BackupStrategy">BackupStrategy</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p194621685514">Advanced backup policy.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row133704820512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p346368115114">enterprise_project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p746438115114">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p1346513811516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p184666885120">Enterprise project ID.</p>
|
||
<ul id="nosql_05_0014__ul1246712813514"><li id="nosql_05_0014__li144672895117">Do not transfer this parameter if EPS is not enabled.</li><li id="nosql_05_0014__li19468183512">If EPS is enabled but this parameter is not transferred, the default enterprise project is used. For the enterprise project ID, see the <strong id="nosql_05_0014__b107701454134518">id</strong> value in the <span class="parmname" id="nosql_05_0014__parmname5781155411455"><b>enterprise_project field data structure</b></span> table in section "Querying the Enterprise Project List" of the <em id="nosql_05_0014__i16783354144517">Enterprise Project Management Service API Reference</em>.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row13371168175111"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="nosql_05_0014__p1447015814513">ssl_option</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="19.39%" headers="mcps1.3.4.3.2.5.1.2 "><p id="nosql_05_0014__p047158155115">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.61%" headers="mcps1.3.4.3.2.5.1.3 "><p id="nosql_05_0014__p174724825117">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="nosql_05_0014__p64733817518">Whether SSL is enabled.</p>
|
||
<p id="nosql_05_0014__p1247478125111">The value can be:</p>
|
||
<ul id="nosql_05_0014__ul12474148135110"><li id="nosql_05_0014__li1947514875115"><strong id="nosql_05_0014__b176871634104318">0</strong>, indicating that SSL is disabled by default.</li><li id="nosql_05_0014__li447517810513"><strong id="nosql_05_0014__b12858937447">1</strong>, indicating that SSL is enabled by default.</li><li id="nosql_05_0014__li124766812517">If this parameter is not transferred, SSL is disabled by default.</li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="nosql_05_0014__request_Datastore"></a><a name="request_Datastore"></a><table cellpadding="4" cellspacing="0" summary="" id="nosql_05_0014__request_Datastore" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Datastore</caption><thead align="left"><tr id="nosql_05_0014__row54899811511"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.1"><p id="nosql_05_0014__p2491280518">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.2"><p id="nosql_05_0014__p349218865111">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.3"><p id="nosql_05_0014__p44932855119">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.4.2.5.1.4"><p id="nosql_05_0014__p4494387515">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="nosql_05_0014__row548913875113"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="nosql_05_0014__p54951185516">type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="nosql_05_0014__p144960845115">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="nosql_05_0014__p1749717818514">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="nosql_05_0014__p1549919816513">Database type.</p>
|
||
<ul id="nosql_05_0014__ul19500388512"><li id="nosql_05_0014__li1505781515">If you set this parameter to <strong id="nosql_05_0014__b85061374575">cassandra</strong>, <span id="nosql_05_0014__text127801846202518">GeminiDB Cassandra</span> instances will be created.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row34901283516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="nosql_05_0014__p951168135118">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="nosql_05_0014__p11512382517">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="nosql_05_0014__p165139816519">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="nosql_05_0014__p18514782514">Database version. The value can be:</p>
|
||
<ul id="nosql_05_0014__ul1451678145112"><li id="nosql_05_0014__li5516788513"><strong id="nosql_05_0014__b8736191575910">3.11</strong>, indicating that <span id="nosql_05_0014__text198681576263">GeminiDB Cassandra</span> 3.11 is supported.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row24901981512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="nosql_05_0014__p2052478145119">storage_engine</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="nosql_05_0014__p45253813518">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="nosql_05_0014__p115261983511">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="nosql_05_0014__p14527489516">Storage engine.</p>
|
||
<ul id="nosql_05_0014__ul16528118165111"><li id="nosql_05_0014__li10528887514"><strong id="nosql_05_0014__b1033533317">rocksDB</strong>, indicating that the <span id="nosql_05_0014__text211114542720">GeminiDB Cassandra</span> instance supports the RocksDB storage engine.</li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="nosql_05_0014__request_Flavor"></a><a name="request_Flavor"></a><table cellpadding="4" cellspacing="0" summary="" id="nosql_05_0014__request_Flavor" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Flavor</caption><thead align="left"><tr id="nosql_05_0014__row35392810517"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.1"><p id="nosql_05_0014__p20541108165120">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.2"><p id="nosql_05_0014__p35429816515">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.3"><p id="nosql_05_0014__p25431187516">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.5.2.5.1.4"><p id="nosql_05_0014__p25445835117">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="nosql_05_0014__row75391815518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="nosql_05_0014__p434129205114">num</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="nosql_05_0014__p635497514">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="nosql_05_0014__p73549115116">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="nosql_05_0014__p735189125111">Number of nodes.</p>
|
||
<ul id="nosql_05_0014__ul71271034194015"><li id="nosql_05_0014__li395145515298">Each GeminiDB Cassandra instance can contain 3 to 200 nodes.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row17539128135118"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="nosql_05_0014__p93911910511">size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="nosql_05_0014__p5391391516">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="nosql_05_0014__p123919195114">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="nosql_05_0014__p18406935116">Storage space. It must be an integer, in GB.</p>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row1453912875118"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="nosql_05_0014__p2044109145116">storage</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="nosql_05_0014__p9449914515">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="nosql_05_0014__p184412910512">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="nosql_05_0014__p0456975114">Disk type.</p>
|
||
<p id="nosql_05_0014__p845159115114">If you set this parameter to <strong id="nosql_05_0014__b02261117258">ULTRAHIGH</strong>, SSD disks are used.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row155399875117"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="nosql_05_0014__p14458915518">spec_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="nosql_05_0014__p5453945110">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="nosql_05_0014__p16461299512">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="nosql_05_0014__p4461799511">Resource specification code.</p>
|
||
<p id="nosql_05_0014__p1846169115118">For the code, see the value of response parameter <strong id="nosql_05_0014__b107011214182517">spec_code</strong> in <a href="nosql_instance_specification.html">Querying Instance Specifications</a>.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="nosql_05_0014__request_BackupStrategy"></a><a name="request_BackupStrategy"></a><table cellpadding="4" cellspacing="0" summary="" id="nosql_05_0014__request_BackupStrategy" frame="border" border="1" rules="all"><caption><b>Table 6 </b>BackupStrategy</caption><thead align="left"><tr id="nosql_05_0014__row75671188514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.5.1.1"><p id="nosql_05_0014__p44712913511">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.5.1.2"><p id="nosql_05_0014__p12485919515">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.5.1.3"><p id="nosql_05_0014__p54916915514">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.6.2.5.1.4"><p id="nosql_05_0014__p184915905115">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="nosql_05_0014__row175675812514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.1 "><p id="nosql_05_0014__p34909185114">start_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.2 "><p id="nosql_05_0014__p14502915516">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.3 "><p id="nosql_05_0014__p4501697519">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.6.2.5.1.4 "><p id="nosql_05_0014__p250149135110">Backup time window. Automated backup will be triggered during the backup time window.</p>
|
||
<p id="nosql_05_0014__p195110975113">The value cannot be empty. It must be the UTC time in the hh:mm-HH:MM format.</p>
|
||
<ul id="nosql_05_0014__ul205110917513"><li id="nosql_05_0014__li18511797519">The <strong id="nosql_05_0014__b1080655972714">HH</strong> value must be 1 greater than the <strong id="nosql_05_0014__b3817759102719">hh</strong> value.</li><li id="nosql_05_0014__li3511499515">The values of <strong id="nosql_05_0014__b849072311284">mm</strong> and <strong id="nosql_05_0014__b1550211232285">MM</strong> must be the same and must be set to <strong id="nosql_05_0014__b1150319234285">00</strong>, <strong id="nosql_05_0014__b7504923102810">15</strong>, <strong id="nosql_05_0014__b5505123102811">30</strong>, or <strong id="nosql_05_0014__b1506142318287">45</strong>.</li><li id="nosql_05_0014__li952179165114">If this parameter is not transferred, the default backup time window is from 00:00 to 01:00.</li><li id="nosql_05_0014__li7524920519">Example value: <strong id="nosql_05_0014__b647743015208">23:00–00:00</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row55686885119"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.1 "><p id="nosql_05_0014__p552109185110">keep_days</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.2 "><p id="nosql_05_0014__p205315985110">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.3 "><p id="nosql_05_0014__p8531491518">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.6.2.5.1.4 "><p id="nosql_05_0014__p653490518">Backup retention days.</p>
|
||
<p id="nosql_05_0014__p165419985116">The value ranges from <strong id="nosql_05_0014__b12411523154511">0</strong> to <strong id="nosql_05_0014__b84313231459">35</strong>.</p>
|
||
<ul id="nosql_05_0014__ul654095513"><li id="nosql_05_0014__li15416918512">If this parameter is set to <strong id="nosql_05_0014__b1381124174518">0</strong>, the automated backup policy is not set.</li><li id="nosql_05_0014__li154149135111">If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for 7 days by default.</li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="nosql_05_0014__section468895516"><h4 class="sectiontitle">Response Parameters</h4><p id="nosql_05_0014__p2698915118"><strong id="nosql_05_0014__b86091932183818">Status code: 202</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="nosql_05_0014__response_CreateInstanceResponseBody" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="nosql_05_0014__row1961028185118"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="nosql_05_0014__p3701897514">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.5.3.2.4.1.2"><p id="nosql_05_0014__p1970199165111">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.3.2.4.1.3"><p id="nosql_05_0014__p137019165115">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="nosql_05_0014__row8610158115118"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p137012965111">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p971169115118">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p1171169125114">Instance ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row261014885112"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p117116912513">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p1772209115118">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p3721998514">Instance name. This parameter is the same as the corresponding request parameter.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row1061016815519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p1372179155116">datastore</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p147249125113"><a href="#nosql_05_0014__response_Datastore">Datastore</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p673095516">Database information. This parameter is the same as the corresponding request parameter.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row1761010816513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p187315920519">created</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p15740995117">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p1474149185114">Creation time, which is in the yyyy-mm-dd hh:mm:ss format.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row461010895115"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p16744905115">status</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p10751492510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p207510913515">Instance status. The value is <span class="parmvalue" id="nosql_05_0014__parmvalue3517145954014"><b>creating</b></span>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row46101581515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p27514905116">region</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p177515985112">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p3751495515">Region ID. This parameter is the same as the corresponding request parameter.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row18611487518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p1376199518">availability_zone</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p207619995117">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p27611912516">AZ ID. This parameter is the same as the corresponding request parameter.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row761117819516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p7776905112">vpc_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p37839155119">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p6792905116">VPC ID. This parameter is the same as the corresponding request parameter.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row13611987517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p1680109115118">subnet_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p188020915114">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p2813920512">Subnet ID. This parameter is the same as the corresponding request parameter.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row861198125118"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p28118915113">security_group_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p15811497513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p88113915114">Security group ID. This parameter is the same as the corresponding request parameter.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row146118815513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p188215995119">mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p11822099511">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p14822913513">Instance type. This parameter is the same as the corresponding request parameter.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row261148205112"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p168214945111">flavor</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p1834925112">Array of <a href="#nosql_05_0014__response_Flavor">Flavor</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p138311925113">Instance specifications. This parameter is the same as the corresponding request parameter.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row1561168175118"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p16831593519">backup_strategy</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p8841945112"><a href="#nosql_05_0014__response_BackupStrategy">BackupStrategy</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p18415915516">Advanced backup policy. This parameter is the same as the corresponding request parameter.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row166111783518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p1085149135120">ssl_option</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p78518916512">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p88620925112">Whether SSL is enabled. This parameter has the same effect as the corresponding request parameter.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row1361218815117"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="nosql_05_0014__p1686209175113">job_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.3.2.4.1.2 "><p id="nosql_05_0014__p14861995516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="nosql_05_0014__p208710925118">ID of the job for creating an instance.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="nosql_05_0014__response_Datastore"></a><a name="response_Datastore"></a><table cellpadding="4" cellspacing="0" summary="" id="nosql_05_0014__response_Datastore" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Datastore</caption><thead align="left"><tr id="nosql_05_0014__row1565210895114"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.1"><p id="nosql_05_0014__p11902915117">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.5.4.2.4.1.2"><p id="nosql_05_0014__p79013955118">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.4.2.4.1.3"><p id="nosql_05_0014__p189010945117">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="nosql_05_0014__row6652158185114"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="nosql_05_0014__p191189175113">type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.4.2.4.1.2 "><p id="nosql_05_0014__p179113995111">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="nosql_05_0014__p0912914517">Database type.</p>
|
||
<ul id="nosql_05_0014__ul19911498516"><li id="nosql_05_0014__li199439105112">If you set this parameter to <strong id="nosql_05_0014__b194880154714">cassandra</strong>, <span id="nosql_05_0014__text13927192912343">GeminiDB Cassandra</span> instances will be created.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row36534815119"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="nosql_05_0014__p189779105119">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.4.2.4.1.2 "><p id="nosql_05_0014__p159718916511">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="nosql_05_0014__p18977914511">Database version. The value can be:</p>
|
||
<ul id="nosql_05_0014__ul69829155116"><li id="nosql_05_0014__li79849115112"><strong id="nosql_05_0014__b19753554456">3.11</strong>, indicating that <span id="nosql_05_0014__text14708102743515">GeminiDB Cassandra</span> 3.11 is supported.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row1565317885111"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="nosql_05_0014__p161001193516">storage_engine</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.4.2.4.1.2 "><p id="nosql_05_0014__p0100189115112">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.4.2.4.1.3 "><p id="nosql_05_0014__p1410118913517">Storage engine.</p>
|
||
<ul id="nosql_05_0014__ul111019925118"><li id="nosql_05_0014__li101013919511"><strong id="nosql_05_0014__b76377418296">rocksDB</strong>, indicating that the <span id="nosql_05_0014__text1833091917361">GeminiDB Cassandra</span> instance support the RocksDB storage engine.</li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="nosql_05_0014__response_Flavor"></a><a name="response_Flavor"></a><table cellpadding="4" cellspacing="0" summary="" id="nosql_05_0014__response_Flavor" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Flavor</caption><thead align="left"><tr id="nosql_05_0014__row17678684517"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.1"><p id="nosql_05_0014__p510499155117">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.5.5.2.4.1.2"><p id="nosql_05_0014__p41042911515">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.5.2.4.1.3"><p id="nosql_05_0014__p31041392517">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="nosql_05_0014__row2678082515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="nosql_05_0014__p610512917512">num</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.5.2.4.1.2 "><p id="nosql_05_0014__p1610579135118">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.5.2.4.1.3 "><p id="nosql_05_0014__p151051097516">Number of nodes.</p>
|
||
<ul id="nosql_05_0014__ul59011821101518"><li id="nosql_05_0014__li09021521111511">Each GeminiDB Cassandra instance can contain 3 to 200 nodes.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row46781087510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="nosql_05_0014__p171099918514">size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.5.2.4.1.2 "><p id="nosql_05_0014__p151101292513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.5.2.4.1.3 "><p id="nosql_05_0014__p191106945113">Storage space. It must be an integer, in GB.</p>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row1267808115116"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="nosql_05_0014__p2011510912514">storage</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.5.2.4.1.2 "><p id="nosql_05_0014__p5115119125115">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.5.2.4.1.3 "><p id="nosql_05_0014__p131151593515">Disk type.</p>
|
||
<p id="nosql_05_0014__p01151965113">If you set this parameter to <strong id="nosql_05_0014__b1361134834812">ULTRAHIGH</strong>, SSD disks are used.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row1567888115113"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="nosql_05_0014__p13116493513">spec_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.5.2.4.1.2 "><p id="nosql_05_0014__p41169925119">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.5.2.4.1.3 "><p id="nosql_05_0014__p3116793519">Resource specification code.</p>
|
||
<p id="nosql_05_0014__p211718905119">For the code, see the value of response parameter <strong id="nosql_05_0014__b813124124910">spec_code</strong> in <a href="nosql_instance_specification.html">Querying Instance Specifications</a>.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="nosql_05_0014__response_BackupStrategy"></a><a name="response_BackupStrategy"></a><table cellpadding="4" cellspacing="0" summary="" id="nosql_05_0014__response_BackupStrategy" frame="border" border="1" rules="all"><caption><b>Table 10 </b>BackupStrategy</caption><thead align="left"><tr id="nosql_05_0014__row18710118165112"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.6.2.4.1.1"><p id="nosql_05_0014__p111171998518">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.5.6.2.4.1.2"><p id="nosql_05_0014__p91187995112">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.6.2.4.1.3"><p id="nosql_05_0014__p13118119195120">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="nosql_05_0014__row1671120816512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="nosql_05_0014__p1211913917515">start_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.6.2.4.1.2 "><p id="nosql_05_0014__p13119109145113">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.6.2.4.1.3 "><p id="nosql_05_0014__p151193916512">Backup time window. Automated backup will be triggered during the backup time window.</p>
|
||
<p id="nosql_05_0014__p1011913985117">The value cannot be empty. It must be the UTC time in the hh:mm-HH:MM format.</p>
|
||
<ul id="nosql_05_0014__ul101207910517"><li id="nosql_05_0014__li1112015955117">The <strong id="nosql_05_0014__b13931140332">HH</strong> value must be 1 greater than the <strong id="nosql_05_0014__b1739418453310">hh</strong> value.</li><li id="nosql_05_0014__li7120093510">The values of <strong id="nosql_05_0014__b1959013212427">mm</strong> and <strong id="nosql_05_0014__b10590142144220">MM</strong> must be the same and must be set to <strong id="nosql_05_0014__b359112174214">00</strong>, <strong id="nosql_05_0014__b115928294215">15</strong>, <strong id="nosql_05_0014__b155931620423">30</strong>, or <strong id="nosql_05_0014__b7593425425">45</strong>.</li><li id="nosql_05_0014__li61213918512">If this parameter is not transferred, the default backup time window is from 00:00 to 01:00.</li><li id="nosql_05_0014__li812113915112">Example value: <strong id="nosql_05_0014__b11248911105">23:00–00:00</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="nosql_05_0014__row97119825112"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="nosql_05_0014__p1312111975117">keep_days</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.6.2.4.1.2 "><p id="nosql_05_0014__p1112212925113">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.6.2.4.1.3 "><p id="nosql_05_0014__p18122299518">Backup retention days.</p>
|
||
<p id="nosql_05_0014__p101228955111">The value ranges from <strong id="nosql_05_0014__b118293381505">0</strong> to <strong id="nosql_05_0014__b09682400015">35</strong>.</p>
|
||
<ul id="nosql_05_0014__ul21222091519"><li id="nosql_05_0014__li161222913515">If this parameter is set to <strong id="nosql_05_0014__b1334134313014">0</strong>, the automated backup policy is not set.</li><li id="nosql_05_0014__li412399195111">If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for 7 days by default.</li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="nosql_05_0014__section013516925116"><h4 class="sectiontitle">Example Requests</h4><ul id="nosql_05_0014__ul1813514965118"><li id="nosql_05_0014__li25842436242">URI example<pre class="screen" id="nosql_05_0014__screen058554322417">POST https://{Endpoint}/v3/375d8d8fad1f43039e23d3b6c0f60a19/instances</pre>
|
||
</li><li id="nosql_05_0014__li56921551610">Creating a pay-per-use 3-node GeminiDB Cassandra instance with 16 vCPUs and 64 GB of memory<div class="note" id="nosql_05_0014__note511813131776"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="nosql_05_0014__p411812133716">Values of <strong id="nosql_05_0014__b144747875932959">region</strong> and <strong id="nosql_05_0014__b183127553732959">availability_zone</strong> in the request body are only examples. Set them based on service requirements.</p>
|
||
</div></div>
|
||
<pre class="screen" id="nosql_05_0014__screen9136144412717">{
|
||
"name" : "test-cassandra-01",
|
||
"datastore" : {
|
||
"type" : "cassandra",
|
||
"version" : "3.11",
|
||
"storage_engine" : "rocksDB"
|
||
},
|
||
"region" : "aaa",
|
||
"availability_zone" : "bbb",
|
||
"vpc_id" : "674e9b42-cd8d-4d25-a2e6-5abcc565b961",
|
||
"subnet_id" : "f1df08c5-71d1-406a-aff0-de435a51007",
|
||
"security_group_id" : "7aa51dbf-5b63-40db-9724-dad3c4828b58",
|
||
"password" : "******",
|
||
"mode" : "Cluster",
|
||
"flavor" : [ {
|
||
"num" : 3,
|
||
"storage" : "ULTRAHIGH",
|
||
"size" : 500,
|
||
"spec_code" : "geminidb.cassandra.4xlarge.4"
|
||
} ],
|
||
"backup_strategy" : {
|
||
"start_time" : "08:15-09:15",
|
||
"keep_days" : 8
|
||
},
|
||
"ssl_option" : 1
|
||
}</pre>
|
||
</li></ul>
|
||
</div>
|
||
<div class="section" id="nosql_05_0014__section1515717912514"><h4 class="sectiontitle">Example Responses</h4><p id="nosql_05_0014__p11158109195111"><strong id="nosql_05_0014__b11491201311241">Status code: 202</strong></p>
|
||
<p id="nosql_05_0014__p4158199105119">Accepted</p>
|
||
<pre class="screen" id="nosql_05_0014__screen11158997510">{
|
||
"id" : "39b6a1a278844ac48119d86512e0000bin06",
|
||
"name" : "test-cassandra-01",
|
||
"datastore" : {
|
||
"type" : "cassandra",
|
||
"version" : "3.11",
|
||
"storage_engine" : "rocksDB"
|
||
},
|
||
"created" : "2019-10-28 14:10:54",
|
||
"status" : "creating",
|
||
"region" : "aaa",
|
||
"availability_zone" : "bbb,ccc,ddd",
|
||
"vpc_id" : "490a4a08-ef4b-44c5-94be-3051ef9e4fce",
|
||
"subnet_id" : "0e2eda62-1d42-4d64-a9d1-4e9aa9cd994f",
|
||
"security_group_id" : "2a1f7fc8-3307-42a7-aa6f-42c8b9b8f8c5",
|
||
"mode" : "Cluster",
|
||
"flavor" : [ {
|
||
"num" : 3,
|
||
"size" : 500,
|
||
"storage" : "ULTRAHIGH",
|
||
"spec_code" : "geminidb.cassandra.4xlarge.4"
|
||
} ],
|
||
"backup_strategy" : {
|
||
"start_time" : "08:15-09:15",
|
||
"keep_days" : "8"
|
||
},
|
||
"ssl_option" : "1",
|
||
"job_id" : "c010abd0-48cf-4fa8-8cbc-090f093eaa2f"
|
||
}</pre>
|
||
</div>
|
||
<div class="section" id="nosql_05_0014__section19107202213585"><h4 class="sectiontitle">Status Codes</h4><p id="nosql_05_0014__listapiversion_p201216122353">For details, see <a href="nosql_status_code.html">Status Codes</a>.</p>
|
||
</div>
|
||
<div class="section" id="nosql_05_0014__section21121922155813"><h4 class="sectiontitle">Error Codes</h4><p id="nosql_05_0014__listapiversion_p1265915205719">For details, see <a href="nosql_error_code.html">Error Codes</a>.</p>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000002.html">Instances</a></div>
|
||
</div>
|
||
</div>
|
||
|