Files
doc-exports/docs/dcs/api-ref/CreateInstance.html
chenjunjie 63188fad94 DCS API 20240705 version
Reviewed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com>
Co-authored-by: chenjunjie <chenjunjie@huawei.com>
Co-committed-by: chenjunjie <chenjunjie@huawei.com>
2025-03-17 15:42:06 +00:00

881 lines
69 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="CreateInstance"></a><a name="CreateInstance"></a>
<h1 class="topictitle1">Creating a DCS Instance</h1>
<div id="body1708331107508"><div class="section" id="CreateInstance__section1915648183212"><h4 class="sectiontitle">Function</h4><p id="CreateInstance__p1991512486326">This API is used to create a DCS instance which is billed in pay-per-use mode.</p>
</div>
<div class="section" id="CreateInstance__section1291584814320"><h4 class="sectiontitle">URI</h4><p id="CreateInstance__p11915184810326">POST /v2/{project_id}/instances</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__table18916114883211" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="CreateInstance__row7916114883210"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="CreateInstance__p1791611487324">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="CreateInstance__p2091615481326">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="CreateInstance__p59161648193216">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="CreateInstance__p14916124815322">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row7916144883214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="CreateInstance__p139171483320">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="CreateInstance__p129177486328">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="CreateInstance__p8917124814329">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="CreateInstance__p1391714823218">Project ID. For details, see <a href="dcs-api-0312045.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="CreateInstance__section179171748163216"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__request_CreateInstanceBody" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameters</caption><thead align="left"><tr id="CreateInstance__row1791864817321"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="CreateInstance__p79194488320">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="CreateInstance__p1191994813328">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="CreateInstance__p291964853215">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="CreateInstance__p20919548103214">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row20918194811328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p1292034819325">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p1892017483325">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p992034823215">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p1892024883219">Instance name.</p>
<p id="CreateInstance__p14920948153217">An instance name can contain letters, digits, underscores (_), and hyphens (-) and must start with a letter or digit.</p>
<p id="CreateInstance__p9920104873214">When you create only one instance at a time, the value of this parameter can contain 4 to 64 characters. When you create multiple instances at a time, the value of this parameter can contain 4 to 56 characters. The instances are named in the format of <em id="CreateInstance__i6920648173219">custom name</em>-<em id="CreateInstance__i1392014483324">n</em>, where <em id="CreateInstance__i16920184823211">n</em> starts from 000 and is incremented by 1. For example, if you create two instances and set the custom name to <strong id="CreateInstance__b12920148183212">dcs_demo</strong>, the two instances are respectively named <strong id="CreateInstance__b1992014818324">dcs_demo-000</strong> and <strong id="CreateInstance__b11920154873211">dcs_demo-001</strong>.</p>
</td>
</tr>
<tr id="CreateInstance__row99181048133218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p199201748103217">engine</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p59201848183211">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p13920144815324">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p692044873214">Cache engine: Redis.</p>
</td>
</tr>
<tr id="CreateInstance__row149185486324"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p1920164816324">engine_version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p12920124853211">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p192113482322">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p15921548143214">Cache version.</p>
<p id="CreateInstance__p20921548103219">If the cache engine is Redis, this parameter is mandatory. The version can be 4.0/5.0/6.0/7.0.</p>
</td>
</tr>
<tr id="CreateInstance__row1291815483329"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p7924134810326">capacity</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p49241848173218">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p1892444833219">Float</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p892416482326">Cache capacity (GB).</p>
<ul id="CreateInstance__ul9924134843218"><li id="CreateInstance__li17924134813215">For a single-node or master/standby DCS Redis 4.0/5.0/6.0/7.0 instance, the value can be <strong id="CreateInstance__b199243485324">0.125</strong>, <strong id="CreateInstance__b892494817324">0.25</strong>, <strong id="CreateInstance__b169241848153212">0.5</strong>, <strong id="CreateInstance__b7924174820329">1</strong>, <strong id="CreateInstance__b592454893214">2</strong>, <strong id="CreateInstance__b15924848163213">4</strong>, <strong id="CreateInstance__b2924164833218">8</strong>, <strong id="CreateInstance__b2092414489323">16</strong>, <strong id="CreateInstance__b04141741203118">24</strong>, <strong id="CreateInstance__b15537163793116">32</strong>, <strong id="CreateInstance__b682070183214">48</strong>, or <strong id="CreateInstance__b4924148123210">64</strong>. For a cluster instance, the value can be <strong id="CreateInstance__b109244486325">4</strong>, <strong id="CreateInstance__b492411486328">8</strong>, <strong id="CreateInstance__b1592484811323">16</strong>, <strong id="CreateInstance__b79241948103210">24</strong>, <strong id="CreateInstance__b20924184812327">32</strong>, <strong id="CreateInstance__b792414483321">48</strong>, <strong id="CreateInstance__b69241348163219">64</strong>, <strong id="CreateInstance__b12924748163219">96</strong>, <strong id="CreateInstance__b992419480328">128</strong>, <strong id="CreateInstance__b29242488322">192</strong>, <strong id="CreateInstance__b492444818327">256</strong>, <strong id="CreateInstance__b692494816324">384</strong>, <strong id="CreateInstance__b8924248153210">512</strong>, <strong id="CreateInstance__b1892418487320">768</strong>, or <strong id="CreateInstance__b3924134811320">1024</strong>. For a read/write splitting DCS Redis 4.0/5.0 instance, the value can be <strong id="CreateInstance__b3924148163216">1</strong>, <strong id="CreateInstance__b3924648193217">2</strong>, <strong id="CreateInstance__b79241048163210">4</strong>, <strong id="CreateInstance__b14924448193218">8</strong>, <strong id="CreateInstance__b8924134813325">16</strong>, <strong id="CreateInstance__b392418484325">32</strong>, or <strong id="CreateInstance__b1992414813327">64</strong>.</li></ul>
</td>
</tr>
<tr id="CreateInstance__row1691874810326"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p8924204873215">spec_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p159251448123210">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p192594812325">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p1792515480323">Product flavor. The query method is as follows:</p>
<ul id="CreateInstance__ul1392564833219"><li id="CreateInstance__li1925184843217">Method 1: Log in to the DCS console, go to the instance creation page, and check the instance flavor.</li><li id="CreateInstance__li4925104820323">Method 2: Call the <a href="ListFlavors.html">API used to query product flavors</a>.</li></ul>
</td>
</tr>
<tr id="CreateInstance__row1791854843219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p1292516488322">az_codes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p9925174873210">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p18925164813219">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p179251948113216">Code of the AZ where the cache node resides and which has available resources. For details, see <a href="ListAvailableZones.html">Querying AZs</a>. Check whether the desired AZ has available resources.</p>
<p id="CreateInstance__p1092504813321">Master/Standby, read/write splitting, Proxy Cluster, and Redis Cluster DCS instances support cross-AZ deployment. You can specify an AZ for the standby node. When specifying AZs for nodes, use commas (,) to separate multiple AZs. For details, see the example request.</p>
</td>
</tr>
<tr id="CreateInstance__row179181348163212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p1492518482326">vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p792512489327">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p8925194853212">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p1392514816322">VPC ID.</p>
<p id="CreateInstance__p1792554817323">To obtain it, do as follows:</p>
<ul id="CreateInstance__ul10925104810328"><li id="CreateInstance__li2092524815326">Method 1: Log in to the VPC console and view the VPC ID on the <strong id="CreateInstance__b10926148203210">My VPCs</strong> page.</li><li id="CreateInstance__li1992617489327">Method 2: Call the VPC API. For details, see the API for querying VPCs.</li></ul>
</td>
</tr>
<tr id="CreateInstance__row13918448203212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p69261848173218">subnet_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p4926648183213">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p79261948153220">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p129261487324">Network ID of the subnet.</p>
<p id="CreateInstance__p792634810329">To obtain it, do as follows:</p>
<ul id="CreateInstance__ul149261748113218"><li id="CreateInstance__li292604815327">Method 1: Log in to VPC console and click the target subnet on the <strong id="CreateInstance__b992615488324">Subnets</strong> tab page. You can view the network ID on the displayed page.</li><li id="CreateInstance__li6926134817329">Method 2: Call the VPC API. For details, see the API for querying subnets.</li></ul>
</td>
</tr>
<tr id="CreateInstance__row1791824843215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p2092624817326">security_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p5926148103211">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p1692644883212">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p1092617489327">Security group to which the instance belongs.</p>
<p id="CreateInstance__p4926164873218">DCS Redis 4.0 and later instances do not support security groups but whitelists.</p>
<p id="CreateInstance__p19926194823212">You can obtain it in either of the following ways:</p>
<ul id="CreateInstance__ul1592654819323"><li id="CreateInstance__li4926134853211">Method 1: Log in to the VPC console and view the security group ID on the security group details page.</li><li id="CreateInstance__li14926124819326">Method 2: Call the API used to query security group details. For details, see the API for querying security group details.</li></ul>
</td>
</tr>
<tr id="CreateInstance__row189181048143210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p5927204893211">publicip_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p8927134883220">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p8927154813325">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p10927164823211">ID of the EIP bound to the DCS Redis instance.</p>
<p id="CreateInstance__p10927174873219">This parameter is reserved. Retain the default value.</p>
</td>
</tr>
<tr id="CreateInstance__row2918174818328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p992724873214">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p392784893220">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p14927548153220">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p11927184813219">Enterprise project ID.</p>
</td>
</tr>
<tr id="CreateInstance__row169181648153213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p29271548163212">enterprise_project_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p1092716488325">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p7927164811324">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p149274487328">Enterprise project name.</p>
</td>
</tr>
<tr id="CreateInstance__row17918648103217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p792724873219">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p1192794814327">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p19281048163210">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p12928144893220">Instance description.</p>
<p id="CreateInstance__p1192834812324">The description can contain a maximum of 1024 characters.</p>
<div class="note" id="CreateInstance__note1492814487325"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="CreateInstance__p892814819329">The backslash () and quotation mark (") are special characters for JSON messages. When using these characters in a parameter value, add the escape character () before the characters, for example, \\ and \".</p>
</div></div>
</td>
</tr>
<tr id="CreateInstance__row0918174817327"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p149281487323">enable_ssl</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p39281348173212">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p109281748193217">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p59281648133213">This parameter is reserved. Retain the default value.</p>
</td>
</tr>
<tr id="CreateInstance__row1291814812328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p209281848123215">private_ip</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p892854813325">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p139281848153216">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p1292819481329">IP address that is specified for a DCS instance.</p>
</td>
</tr>
<tr id="CreateInstance__row20918164893212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p12929154817327">instance_num</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p6929548153217">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p492914486322">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p16929114813327">Number of instances to be created in batches. This parameter is available for DCS Redis instances.</p>
<p id="CreateInstance__p109293482329">Default value: <strong id="CreateInstance__b17929144818321">1</strong>.</p>
<p id="CreateInstance__p15929104818327">Value range: 1 to 100</p>
</td>
</tr>
<tr id="CreateInstance__row199185483328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p1892904815320">maintain_begin</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p1292934816322">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p6929104863214">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p292964843216">UTC time when the maintenance time window starts. The format is HH:mm:ss.</p>
<ul id="CreateInstance__ul2929134812321"><li id="CreateInstance__li49291648123211">The start time and end time of the maintenance window must be within the time segment of a supported maintenance window. For details, see <a href="ListMaintenanceWindows.html">Listing Maintenance Time Windows</a>.</li><li id="CreateInstance__li12929144883213">For example, the start time must be on the hour, such as 18:00:00 and 19:00:00.</li><li id="CreateInstance__li6929104815321">The start time and end time must be set in pairs. If the start time is left blank, the end time must also be left blank. In this case, the system automatically sets the start time to 18:00:00.</li></ul>
</td>
</tr>
<tr id="CreateInstance__row39181548163216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p792924813321">maintain_end</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p8929448193215">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p1892917481321">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p792915489325">UTC time when the maintenance time window ends. The format is HH:mm:ss.</p>
<ul id="CreateInstance__ul99295486322"><li id="CreateInstance__li199303486323">The start time and end time of the maintenance window must be within the time segment of a supported maintenance window. For details, see <a href="ListMaintenanceWindows.html">Listing Maintenance Time Windows</a>.</li><li id="CreateInstance__li149301148153215">The end time is one hour later than the start time. For example, if the start time is 18:00:00, the end time is 19:00:00.</li><li id="CreateInstance__li693084893213">The start time and end time must be set in pairs. If the end time is left blank, the start time is also left blank. In this case, the system automatically sets the end time to 19:00:00.</li></ul>
</td>
</tr>
<tr id="CreateInstance__row1591819485328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p1293064803217">password</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p18930164814322">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p209301948113211">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p293084803212">Password of a DCS instance.</p>
<div class="note" id="CreateInstance__note4930348183214"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="CreateInstance__p793034813217">When <strong id="CreateInstance__b193034843210">no_password_access</strong> is set to <strong id="CreateInstance__b393024873218">false</strong> or not specified, the request must contain the <strong id="CreateInstance__b119301848183216">password</strong> parameter.</p>
</div></div>
<p id="CreateInstance__p18638548114014">The password of a DCS Redis instance must meet the following complexity requirements:</p>
<ul id="CreateInstance__ul2093015489325"><li id="CreateInstance__li093064803214">Can contain 8 to 32 characters.</li><li id="CreateInstance__li1293013483323">Must contain at least three of the following character types:<ul id="CreateInstance__ul139302487325"><li id="CreateInstance__li13930174810328">Lowercase letters</li><li id="CreateInstance__li109306484323">Uppercase letters</li><li id="CreateInstance__li193154814327">Digits</li><li id="CreateInstance__li19314485325">Special characters `~!@#$^&amp;*()-_=+\|{},&lt;.&gt;/?</li></ul>
</li></ul>
</td>
</tr>
<tr id="CreateInstance__row1491824817320"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p16931848143215">no_password_access</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p193194893215">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p2093144812326">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p193111485326">Whether the instance can be accessed without a password.</p>
<ul id="CreateInstance__ul4931184815329"><li id="CreateInstance__li119311248163217"><strong id="CreateInstance__b3931104813214">true</strong>: The instance can be accessed without a password.</li><li id="CreateInstance__li2931124815327"><strong id="CreateInstance__b393117484329">false</strong>: The instance can be accessed only after password authentication.<p id="CreateInstance__p49319488329">If this parameter is not set, the default value <strong id="CreateInstance__b179311948173213">false</strong> is used.</p>
</li></ul>
</td>
</tr>
<tr id="CreateInstance__row6918114873214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p1693114817322">bss_param</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p129311848193217">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p9931184819328"><a href="#CreateInstance__request_BssParam">BssParam</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p9931164813329">Parameter related to the billing mode. If this parameter is left blank, the default billing mode is pay-per-use. Other billing modes are not supported.</p>
</td>
</tr>
<tr id="CreateInstance__row119189481329"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p159311048153217">instance_backup_policy</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p49313487324">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p193154819328"><a href="#CreateInstance__request_BackupPolicy">BackupPolicy</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p2093104813327">Backup policy. This parameter is supported when the instance type is master/standby or cluster.</p>
</td>
</tr>
<tr id="CreateInstance__row691815485321"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p1693114486326">tags</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p1932194853219">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p1193214488327">Array of <a href="#CreateInstance__request_ResourceTag">ResourceTag</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p1293214481323">Instance tag key and value.</p>
</td>
</tr>
<tr id="CreateInstance__row15919748203215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p2932134863213">access_user</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p7932348163211">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p10932184813328">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p1693216482324">If the cache engine is Redis, leave this parameter empty.</p>
</td>
</tr>
<tr id="CreateInstance__row591994817328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p1293216482326">enable_publicip</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p13932248193212">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p293224811323">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p16932134883210">This parameter is reserved. Retain the default value.</p>
</td>
</tr>
<tr id="CreateInstance__row20919124803214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p16932154816323">port</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p5932154893215">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p79321748183215">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p129321148143217">Port customization.</p>
<p id="CreateInstance__p20932248143212">If this parameter is not sent or is left empty when you create a Redis 4.0 or later instance, the default port 6379 will be used. To customize a port, specify a port number in the range from 1 to 65535.</p>
</td>
</tr>
<tr id="CreateInstance__row17919124823215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p1932194883212">rename_commands</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p119321848143213">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p99331348163217">Object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p12933548113210">Critical commands can be renamed.</p>
<p id="CreateInstance__p199331948163214">If this parameter is not sent or is left empty when you create a Redis 4.0 or later instance, no critical command will be renamed. Currently, only <strong id="CreateInstance__b393334853213">COMMAND</strong>, <strong id="CreateInstance__b17933174812324">KEYS</strong>, <strong id="CreateInstance__b1293313485329">FLUSHDB</strong>, <strong id="CreateInstance__b69333481323">FLUSHALL</strong>, <strong id="CreateInstance__b1893314813210">SCAN</strong>, <strong id="CreateInstance__b16933154873212">HSCAN</strong>, <strong id="CreateInstance__b18933164812329">SSCAN</strong>, <strong id="CreateInstance__b89331048103214">ZSCAN</strong>, and <strong id="CreateInstance__b39331548193213">HGETALL</strong> commands can be renamed.</p>
</td>
</tr>
<tr id="CreateInstance__row11919154873219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateInstance__p2933194819323">template_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateInstance__p29331248103216">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateInstance__p6933124814326">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateInstance__p1193304814321">Parameter template ID. The default template is used when no ID is specified. To specify a custom parameter template, obtain the template ID by referring to <a href="ListConfigTemplates.html">Viewing Parameter Templates</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="CreateInstance__request_BssParam"></a><a name="request_BssParam"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__request_BssParam" frame="border" border="1" rules="all"><caption><b>Table 3 </b>BssParam</caption><thead align="left"><tr id="CreateInstance__row1933124814320"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="CreateInstance__p17934154863211">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="CreateInstance__p2934548173217">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="CreateInstance__p19934194873215">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="CreateInstance__p3934164873211">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row1993313489322"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateInstance__p1193424819325">is_auto_renew</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateInstance__p1093434813214">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateInstance__p0934948203215">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateInstance__p393414873211">This parameter is currently not used.</p>
</td>
</tr>
<tr id="CreateInstance__row993319481324"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateInstance__p13934174815321">charging_mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateInstance__p1893416487322">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateInstance__p1893414817321">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateInstance__p993484813326">Billing mode. The default value is <strong id="CreateInstance__b159341748153212">postPaid</strong>, indicating pay-per-use.</p>
</td>
</tr>
<tr id="CreateInstance__row593354883218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateInstance__p0934174863212">is_auto_pay</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateInstance__p4934248193214">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateInstance__p8935104893212">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateInstance__p20935204863211">This parameter is currently not used.</p>
</td>
</tr>
<tr id="CreateInstance__row393312484324"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateInstance__p49351348153212">period_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateInstance__p4935248153218">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateInstance__p191691249203215">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateInstance__p1170134923214">This parameter is currently not used.</p>
</td>
</tr>
<tr id="CreateInstance__row5933948173214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateInstance__p1617024913325">period_num</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateInstance__p9170049103213">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateInstance__p1417016497329">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateInstance__p13170849183216">This parameter is currently not used.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="CreateInstance__request_BackupPolicy"></a><a name="request_BackupPolicy"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__request_BackupPolicy" frame="border" border="1" rules="all"><caption><b>Table 4 </b>BackupPolicy</caption><thead align="left"><tr id="CreateInstance__row79361848113210"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="CreateInstance__p10170174913328">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="CreateInstance__p61704493321">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="CreateInstance__p9170194913321">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="CreateInstance__p1917064913218">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row29361948153213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateInstance__p11720491321">backup_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateInstance__p817212492323">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateInstance__p1317219496321">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateInstance__p13172104917329">Backup type.</p>
<ul id="CreateInstance__ul121729492328"><li id="CreateInstance__li12172104919327"><strong id="CreateInstance__b0172104917326">auto</strong>: automatic backup</li><li id="CreateInstance__li5173124943212"><strong id="CreateInstance__b1117374953214">manual</strong>: manual backup</li></ul>
</td>
</tr>
<tr id="CreateInstance__row4936748193212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateInstance__p171738492322">save_days</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateInstance__p10173149103212">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateInstance__p1017354915327">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateInstance__p13173144916325">This parameter is mandatory when <strong id="CreateInstance__b1417311490329">backup_type</strong> is set to <strong id="CreateInstance__b151731849193213">auto</strong>.</p>
<p id="CreateInstance__p1173749143215">Retention period, in days. The value ranges from 1 to 7.</p>
</td>
</tr>
<tr id="CreateInstance__row593624818329"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateInstance__p31733491329">periodical_backup_plan</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateInstance__p12173114973212">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateInstance__p1817310495322"><a href="#CreateInstance__request_BackupPlan">BackupPlan</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateInstance__p121731149183212">Backup schedule. This parameter is mandatory when <strong id="CreateInstance__b8173249183212">backup_type</strong> is set to <strong id="CreateInstance__b13173114913211">auto</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="CreateInstance__request_BackupPlan"></a><a name="request_BackupPlan"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__request_BackupPlan" frame="border" border="1" rules="all"><caption><b>Table 5 </b>BackupPlan</caption><thead align="left"><tr id="CreateInstance__row149371548103216"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="CreateInstance__p6173114973210">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="CreateInstance__p1174204918324">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="CreateInstance__p1817484943218">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="CreateInstance__p1417464953220">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row7937124818324"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateInstance__p1917416492320">timezone_offset</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateInstance__p1217474913214">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateInstance__p1017464923213">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateInstance__p5174849143214">Time zone in which backup is performed. Range: GMT 12:00 to GMT +12:00. If this parameter is left blank, the current time zone of the DCS-Server VM is used by default.</p>
</td>
</tr>
<tr id="CreateInstance__row193712488322"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateInstance__p1117484943218">backup_at</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateInstance__p151741249193215">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateInstance__p717464993215">Array of integers</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateInstance__p1717417499329">Day in a week on which backup starts. The value ranges from <strong id="CreateInstance__b1717418497321">1</strong> to <strong id="CreateInstance__b141791749163210">7</strong>, where <strong id="CreateInstance__b01794495327">1</strong> indicates Monday, and <strong id="CreateInstance__b9179649133217">7</strong> indicates Sunday.</p>
</td>
</tr>
<tr id="CreateInstance__row12937548133214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateInstance__p18179174923218">period_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateInstance__p16179104919327">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateInstance__p91791049203214">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateInstance__p111798499325">Interval at which backup is performed, which supports only <strong id="CreateInstance__b01791549163211">weekly</strong> currently.</p>
</td>
</tr>
<tr id="CreateInstance__row139378483324"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateInstance__p5179949133212">begin_at</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateInstance__p12179349183211">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateInstance__p131792496328">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateInstance__p12179194911329">Time at which backup starts. <strong id="CreateInstance__b1917944953214">00:00-01:00</strong> indicates that the backup starts at 00:00. The value must be on the hour. The backup interval is 1 hour.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="CreateInstance__request_ResourceTag"></a><a name="request_ResourceTag"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__request_ResourceTag" frame="border" border="1" rules="all"><caption><b>Table 6 </b>ResourceTag</caption><thead align="left"><tr id="CreateInstance__row13938114833218"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.1"><p id="CreateInstance__p1218094913329">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.2"><p id="CreateInstance__p9180154915323">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.3"><p id="CreateInstance__p171801649193213">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.6.2.5.1.4"><p id="CreateInstance__p18180134923219">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row293811487326"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="CreateInstance__p4180184917320">key</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="CreateInstance__p718074963218">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="CreateInstance__p19180184953210">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="CreateInstance__p81809497327">Tag key.</p>
<ul id="CreateInstance__ul1718044943215"><li id="CreateInstance__li1818034973220">Must be specified.</li><li id="CreateInstance__li171801549163215">Must be unique for each resource.</li><li id="CreateInstance__li19180194983215">Can contain a maximum of 36 characters.</li><li id="CreateInstance__li17180104918328">Must be unique and cannot be empty.</li></ul>
</td>
</tr>
<tr id="CreateInstance__row1693884817320"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="CreateInstance__p1118004912328">value</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="CreateInstance__p1018012492327">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="CreateInstance__p11180194916321">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="CreateInstance__p61801249173215">Tag value.</p>
<ul id="CreateInstance__ul9180549183219"><li id="CreateInstance__li418044973216">This parameter is mandatory when <strong id="CreateInstance__b131806493321">action</strong> is set to <strong id="CreateInstance__b14180549123219">create</strong> and is optional when <strong id="CreateInstance__b1918094913216">action</strong> is set to <strong id="CreateInstance__b141802496327">delete</strong>.</li><li id="CreateInstance__li18180154914326">It can contain a maximum of 43 characters.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="CreateInstance__section31805498326"><h4 class="sectiontitle">Response Parameters</h4><p id="CreateInstance__p2180144919329"><strong id="CreateInstance__b8180449173217">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__response_CreateInstanceResp" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="CreateInstance__row9940348103212"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="CreateInstance__p1018119497326">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="CreateInstance__p018154913218">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="CreateInstance__p1118111495324">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row6940204823218"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateInstance__p111813493329">instances</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateInstance__p4181184923219">Array of <a href="#CreateInstance__response_Instances">Instances</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateInstance__p121816494327">DCS instance ID and name. If multiple DCS instances are created at a time, multiple DCS instance IDs and names will be returned.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="CreateInstance__response_Instances"></a><a name="response_Instances"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__response_Instances" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Instances</caption><thead align="left"><tr id="CreateInstance__row1494015484322"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.1"><p id="CreateInstance__p14181134953215">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.2"><p id="CreateInstance__p118534963210">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.4.2.4.1.3"><p id="CreateInstance__p2018534911321">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row99401648113215"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateInstance__p01854492329">instance_id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateInstance__p118519495321">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateInstance__p51851449113212">DCS instance ID.</p>
</td>
</tr>
<tr id="CreateInstance__row109411148203211"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateInstance__p1718584915326">instance_name</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateInstance__p218511492325">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateInstance__p15185249153210">DCS instance name.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="CreateInstance__p1218584913210"><strong id="CreateInstance__b1018594953217">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__response_ErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="CreateInstance__row14941348183216"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.1"><p id="CreateInstance__p1218514943216">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.2"><p id="CreateInstance__p12185164983212">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.6.2.4.1.3"><p id="CreateInstance__p141853495329">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row1941948133220"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateInstance__p14185114933214">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateInstance__p151852049113215">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateInstance__p1318618491326">Error message.</p>
</td>
</tr>
<tr id="CreateInstance__row169411148103211"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateInstance__p10186349163215">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateInstance__p8186149173211">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateInstance__p1918604917324">Error code.</p>
</td>
</tr>
<tr id="CreateInstance__row094117484326"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="CreateInstance__p9186174973219">error_ext_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="CreateInstance__p3186249113213">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="CreateInstance__p16186124973214">Extended error information. This parameter is not used currently and is set to null.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="CreateInstance__p1918644983218"><strong id="CreateInstance__b5186124983215">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__table14942748203212" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Response body parameters</caption><thead align="left"><tr id="CreateInstance__row10942448183217"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.8.2.4.1.1"><p id="CreateInstance__p13186194910324">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.8.2.4.1.2"><p id="CreateInstance__p1718612497328">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.8.2.4.1.3"><p id="CreateInstance__p1018616497327">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row5942204811326"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="CreateInstance__p918624973215">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="CreateInstance__p19186549113219">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="CreateInstance__p14186549113215">Error message.</p>
</td>
</tr>
<tr id="CreateInstance__row49421848133218"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="CreateInstance__p201868492327">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="CreateInstance__p3186749143211">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="CreateInstance__p1218664963212">Error code.</p>
</td>
</tr>
<tr id="CreateInstance__row1694212484325"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="CreateInstance__p1118614973211">error_ext_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="CreateInstance__p1218684953220">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="CreateInstance__p5186144914327">Extended error information. This parameter is not used currently and is set to null.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="CreateInstance__p1918664983217"><strong id="CreateInstance__b131861149203217">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__table394304815323" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Response body parameters</caption><thead align="left"><tr id="CreateInstance__row7943174814327"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.10.2.4.1.1"><p id="CreateInstance__p14187184983216">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.10.2.4.1.2"><p id="CreateInstance__p918714915321">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.10.2.4.1.3"><p id="CreateInstance__p71871349143215">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row19437489321"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="CreateInstance__p9187204911322">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="CreateInstance__p16187194983211">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="CreateInstance__p21871549183210">Error message.</p>
</td>
</tr>
<tr id="CreateInstance__row1294324811329"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="CreateInstance__p16187649143216">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="CreateInstance__p8187104923215">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="CreateInstance__p8187849193215">Error code.</p>
</td>
</tr>
<tr id="CreateInstance__row794394883215"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="CreateInstance__p21878499323">error_ext_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="CreateInstance__p181871249153213">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="CreateInstance__p1418754912326">Extended error information. This parameter is not used currently and is set to null.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="CreateInstance__p191871549173215"><strong id="CreateInstance__b2187949153212">Status code: 404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__table2943184873214" frame="border" border="1" rules="all"><caption><b>Table 12 </b>Response body parameters</caption><thead align="left"><tr id="CreateInstance__row294315486329"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.12.2.4.1.1"><p id="CreateInstance__p1118816499329">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.12.2.4.1.2"><p id="CreateInstance__p11188104983215">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.12.2.4.1.3"><p id="CreateInstance__p20188449173211">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row3943204843214"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.1 "><p id="CreateInstance__p418844973213">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.2 "><p id="CreateInstance__p6188249113213">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.12.2.4.1.3 "><p id="CreateInstance__p118819497323">Error message.</p>
</td>
</tr>
<tr id="CreateInstance__row294404820325"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.1 "><p id="CreateInstance__p618804903215">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.2 "><p id="CreateInstance__p15188184919326">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.12.2.4.1.3 "><p id="CreateInstance__p19188114933215">Error code.</p>
</td>
</tr>
<tr id="CreateInstance__row11944148143212"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.1 "><p id="CreateInstance__p218894913329">error_ext_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.2 "><p id="CreateInstance__p1418894993218">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.12.2.4.1.3 "><p id="CreateInstance__p1118844953218">Extended error information. This parameter is not used currently and is set to null.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="CreateInstance__p11881499328"><strong id="CreateInstance__b1718834903215">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__table1394454833220" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Response body parameters</caption><thead align="left"><tr id="CreateInstance__row18944148103210"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.14.2.4.1.1"><p id="CreateInstance__p818984919324">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.14.2.4.1.2"><p id="CreateInstance__p1018994973212">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.14.2.4.1.3"><p id="CreateInstance__p181891049143211">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row094420489326"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.14.2.4.1.1 "><p id="CreateInstance__p8189114923214">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.14.2.4.1.2 "><p id="CreateInstance__p13189174915324">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.14.2.4.1.3 "><p id="CreateInstance__p13189194913211">Error message.</p>
</td>
</tr>
<tr id="CreateInstance__row3944184883217"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.14.2.4.1.1 "><p id="CreateInstance__p61899495322">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.14.2.4.1.2 "><p id="CreateInstance__p2018904913219">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.14.2.4.1.3 "><p id="CreateInstance__p3189194903218">Error code.</p>
</td>
</tr>
<tr id="CreateInstance__row189441648163211"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.14.2.4.1.1 "><p id="CreateInstance__p1518904912322">error_ext_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.14.2.4.1.2 "><p id="CreateInstance__p13189134918326">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.14.2.4.1.3 "><p id="CreateInstance__p1018911498323">Extended error information. This parameter is not used currently and is set to null.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="CreateInstance__section1718918496324"><h4 class="sectiontitle">Example Requests</h4><ul id="CreateInstance__ul161891649163216"><li id="CreateInstance__li018924916329">Creating a DCS Redis instance<pre class="screen" id="CreateInstance__screen1618944953213">POST https://{dcs_endpoint}/v2/{project_id}/instances
{
"name" : "dcs-APITest",
"description" : "Test",
"engine" : "Redis",
"engine_version" : "5.0",
"enterprise_project_id" : 0,
"enterprise_project_name" : "default",
"vpc_id" : "5e37b3be-950a-48e1-b498-65b63d336481",
"enable_ssl" : false,
"private_ip" : "",
"az_codes" : [ "region01" ],
"capacity" : 1,
"access_user" : "",
"password" : "********",
"enable_publicip" : false,
"spec_code" : "redis.single.xu1.large.1",
"subnet_id" : "a4112635-3ec0-471c-95c3-5cf49b9533af",
"no_password_access" : false,
"template_id" : "b3ecc9c7-1133-4c47-a06a-21366e227d61"
}</pre>
</li><li id="CreateInstance__li4189114914323">Creating a pay-per-use, master/standby DCS Redis instance with a customized port, renamed commands, and cross-AZ deployment<pre class="screen" id="CreateInstance__screen21891449173215">{
"enterprise_project_name" : "default",
"vpc_id" : "c5cd009b-9ba9-41f2-9a26-2b8c3f3ffd39",
"description" : "Test",
"port" : 4040,
"enable_ssl" : false,
"private_ip" : "",
"az_codes" : [ "region01", "region02" ],
"capacity" : 2,
"access_user" : "",
"instance_num" : 1,
"enterprise_project_id" : 0,
"password" : "********",
"enable_publicip" : false,
"engine" : "Redis",
"spec_code" : "redis.ha.au1.large.2",
"name" : "dcs-demo",
"subnet_id" : "7e95c4d6-d7af-424c-a3cf-2be10968fe81",
"engine_version" : "4.0",
"no_password_access" : false,
"rename_commands" : {
"keys" : "keys001",
"flushdb" : "flushdb001",
"flushall" : "flushall001"
}
}</pre>
</li></ul>
</div>
<div class="section" id="CreateInstance__section101901449113216"><h4 class="sectiontitle">Example Responses</h4><p id="CreateInstance__p0190194923217"><strong id="CreateInstance__b0190449153213">Status code: 200</strong></p>
<p id="CreateInstance__p1190349193210">The DCS instance creation task is submitted successfully.</p>
<div class="note" id="CreateInstance__note16190124933217"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="CreateInstance__p8190124933216">If the instance status is <strong id="CreateInstance__b0190149163214">RUNNING</strong>, the DCS instance has been successfully created.</p>
</div></div>
<ul id="CreateInstance__ul1219044912323"><li id="CreateInstance__li1719014963210">Example 1<pre class="screen" id="CreateInstance__screen10190134993213">{
"instances" : [ {
"instance_id" : "3c49fd6b-fc7c-419e-9644-b6cce008653f",
"instance_name" : "dcs-test005"
} ]
}</pre>
</li><li id="CreateInstance__li919184943212">Example 2<pre class="screen" id="CreateInstance__screen20191174916323">{
"instances" : [ {
"instance_id" : "77284d69-cd51-4bf1-aa30-2e60f055800c",
"instance_name" : "dcs-APITest1"
} ]
}</pre>
</li></ul>
<p id="CreateInstance__p1419174912323"><strong id="CreateInstance__b111911449193215">Status code: 400</strong></p>
<p id="CreateInstance__p919144993218">Invalid request.</p>
<pre class="screen" id="CreateInstance__screen31915498325">{
"error_code" : "DCS.1004",
"error_msg" : "Project ID does not match the token."
}</pre>
<p id="CreateInstance__p71911549103210"><strong id="CreateInstance__b171911749143219">Status code: 401</strong></p>
<p id="CreateInstance__p12191154910322">Invalid authentication information.</p>
<pre class="screen" id="CreateInstance__screen61911349183216">{
"error_code" : "DCS.1001",
"error_msg" : "Invalid token."
}</pre>
<p id="CreateInstance__p17191144943211"><strong id="CreateInstance__b1219110495321">Status code: 403</strong></p>
<p id="CreateInstance__p91914498325">The request is rejected.</p>
<pre class="screen" id="CreateInstance__screen019154920322">{
"error_code" : "DCS.2003",
"error_msg" : "This role does not have the permission to perform this operation."
}</pre>
<p id="CreateInstance__p9192114953216"><strong id="CreateInstance__b81922491325">Status code: 404</strong></p>
<p id="CreateInstance__p1192949143218">The requested resource is not found.</p>
<pre class="screen" id="CreateInstance__screen81921749203212">{
"error_code" : "DCS.4001",
"error_msg" : "The requested URL does not exist."
}</pre>
<p id="CreateInstance__p7192749183215"><strong id="CreateInstance__b4192174983216">Status code: 500</strong></p>
<p id="CreateInstance__p141927499324">Internal service error.</p>
<pre class="screen" id="CreateInstance__screen119211494326">{
"error_code" : "DCS.5000",
"error_msg" : "Internal service error."
}</pre>
</div>
<div class="section" id="CreateInstance__section1019234933214"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstance__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="CreateInstance__row1294814873219"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="CreateInstance__p619234918321">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="CreateInstance__p1119264913213">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstance__row1394824817328"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateInstance__p119234923213">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateInstance__p1519264910326">The DCS instance creation task is submitted successfully.</p>
<div class="note" id="CreateInstance__note17192149113210"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="CreateInstance__p141921749113216">If the instance status is <strong id="CreateInstance__b319284911321">RUNNING</strong>, the DCS instance has been successfully created.</p>
</div></div>
</td>
</tr>
<tr id="CreateInstance__row894810489323"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateInstance__p9192114917329">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateInstance__p10192249203217">Invalid request.</p>
</td>
</tr>
<tr id="CreateInstance__row1094874853216"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateInstance__p19192114983216">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateInstance__p3192149193213">Invalid authentication information.</p>
</td>
</tr>
<tr id="CreateInstance__row1394814813216"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateInstance__p2019254963211">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateInstance__p519274983218">The request is rejected.</p>
</td>
</tr>
<tr id="CreateInstance__row129481448203214"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateInstance__p919284919320">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateInstance__p111921949153215">The requested resource is not found.</p>
</td>
</tr>
<tr id="CreateInstance__row194814480328"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateInstance__p15192184983212">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateInstance__p7192114916326">Internal service error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="CreateInstance__section119214920325"><h4 class="sectiontitle">Error Codes</h4><p id="CreateInstance__p171921549193210">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="LifecycleManagement.html">Lifecycle Management</a></div>
</div>
</div>