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>
379 lines
28 KiB
HTML
379 lines
28 KiB
HTML
<a name="ddm_04_0001"></a><a name="ddm_04_0001"></a>
|
|
|
|
<h1 class="topictitle1">Creating a DDM instance</h1>
|
|
<div id="body0000001259349556"><div class="section" id="ddm_04_0001__section19123824161216"><h4 class="sectiontitle">Function</h4><p id="ddm_04_0001__p1912462420126">This API is used to create a DDM instance.</p>
|
|
</div>
|
|
<div class="section" id="ddm_04_0001__section8125224181211"><h4 class="sectiontitle">Constraints</h4><p id="ddm_04_0001__p412612413121">DDM runs in VPCs. Before you create a DDM instance, ensure that a VPC is available and a subnet and security group have been configured.</p>
|
|
</div>
|
|
<div class="section" id="ddm_04_0001__section1824919571685"><h4 class="sectiontitle">URI</h4><p id="ddm_04_0001__p7249185718820">POST /v1/{project_id}/instances</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ddm_04_0001__table725118571788" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="ddm_04_0001__row12250457487"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="ddm_04_0001__p125195717815"><strong id="ddm_04_0001__b25074488243">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="ddm_04_0001__p182511157987"><strong id="ddm_04_0001__b6251050172418">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="ddm_04_0001__p152525570816"><strong id="ddm_04_0001__b1970455142410">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="ddm_04_0001__p825285711811"><strong id="ddm_04_0001__b148914115259">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ddm_04_0001__row1425016574813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ddm_04_0001__p7253135718812">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ddm_04_0001__p7254857580">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ddm_04_0001__p122557571818">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ddm_04_0001__p625617571887">Project ID of a tenant in a region</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ddm_04_0001__section1925645710811"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ddm_04_0001__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="ddm_04_0001__row1256115713812"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="ddm_04_0001__p172571057882"><strong id="ddm_04_0001__b178101515132511">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="ddm_04_0001__p192571557487"><strong id="ddm_04_0001__b411798645">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="ddm_04_0001__p142585571284"><strong id="ddm_04_0001__b343062524">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="ddm_04_0001__p142589571685"><strong id="ddm_04_0001__b1543642119253">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ddm_04_0001__row1425655711811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="ddm_04_0001__p192583579815">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="ddm_04_0001__p15258175715812">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="ddm_04_0001__p182581757884">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="ddm_04_0001__p20259057583">User token.</p>
|
|
<p id="ddm_04_0001__p625913574814">It can be obtained by calling an IAM API. The value of <strong id="ddm_04_0001__b174761227142519">X-Subject-Token</strong> in the response header is the user token.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ddm_04_0001__request_CreateInstanceReq" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="ddm_04_0001__row3259357286"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="ddm_04_0001__p1426117578812"><strong id="ddm_04_0001__b469744110255">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.2"><p id="ddm_04_0001__p1626116579810"><strong id="ddm_04_0001__b892371336">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.3"><p id="ddm_04_0001__p226125718817"><strong id="ddm_04_0001__b215656868">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.3.2.5.1.4"><p id="ddm_04_0001__p122621757988"><strong id="ddm_04_0001__b6517489256">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ddm_04_0001__row126012574818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="ddm_04_0001__p3262857189">instance</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="ddm_04_0001__p02637570812">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="ddm_04_0001__p1926325710813"><a href="#ddm_04_0001__request_CreateInstanceDetail">CreateInstanceDetail</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="ddm_04_0001__p626395719818">Instance information</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row8260857884"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="ddm_04_0001__p1926455711816">extend_param</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="ddm_04_0001__p82643571184">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="ddm_04_0001__p1969412941120">object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="ddm_04_0001__p115840367549">The function has not been supported, and this field is reserved.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="ddm_04_0001__request_CreateInstanceDetail"></a><a name="request_CreateInstanceDetail"></a><table cellpadding="4" cellspacing="0" summary="" id="ddm_04_0001__request_CreateInstanceDetail" frame="border" border="1" rules="all"><caption><b>Table 4 </b>CreateInstanceDetail</caption><thead align="left"><tr id="ddm_04_0001__row11265205714811"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.1"><p id="ddm_04_0001__p2267175716810"><strong id="ddm_04_0001__b2018771417266">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.2"><p id="ddm_04_0001__p132673575811"><strong id="ddm_04_0001__b2083266981">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.3"><p id="ddm_04_0001__p1326725711811"><strong id="ddm_04_0001__b738033536">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.4.2.5.1.4"><p id="ddm_04_0001__p1267185715814"><strong id="ddm_04_0001__b129438186266">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ddm_04_0001__row18265145714818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="ddm_04_0001__p152685572080">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="ddm_04_0001__p42685571085">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="ddm_04_0001__p1626814572089">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="ddm_04_0001__p1526813571287">Name of a DDM instance, which:</p>
|
|
<ul id="ddm_04_0001__ul1226985713810"><li id="ddm_04_0001__li1026918571281">Can include 4 to 64 characters.</li><li id="ddm_04_0001__li726905710820">Must start with a letter.</li><li id="ddm_04_0001__li9269857980">Can contain only letters, digits, and hyphens (-).</li></ul>
|
|
<p id="ddm_04_0001__p22691575820">Minimum length: 4 characters</p>
|
|
<p id="ddm_04_0001__p142707571489">Maximum length: 64 characters</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row8265157985"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="ddm_04_0001__p19270115713812">flavor_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="ddm_04_0001__p1827035718818">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="ddm_04_0001__p11270557880">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="ddm_04_0001__p10271957784">Class ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row52651057381"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="ddm_04_0001__p2027111572811">node_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="ddm_04_0001__p5271145719814">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="ddm_04_0001__p182713571789">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="ddm_04_0001__p3271157780">Number of nodes</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row1526517577817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="ddm_04_0001__p1727214571284">engine_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="ddm_04_0001__p32721573812">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="ddm_04_0001__p227220577812">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="ddm_04_0001__p1027255713820">Engine ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row16265857487"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="ddm_04_0001__p1127310571982">available_zones</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="ddm_04_0001__p202741757186">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="ddm_04_0001__p162741574818">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="ddm_04_0001__p4274757989">AZ code. The value cannot be empty. For details, see <a href="https://docs.otc.t-systems.com/endpoint/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row626675713819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="ddm_04_0001__p202744572088">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="ddm_04_0001__p1127419571686">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="ddm_04_0001__p127513571383">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="ddm_04_0001__p142751557684">VPC ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row22666571086"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="ddm_04_0001__p527565715816">security_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="ddm_04_0001__p152751557381">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="ddm_04_0001__p20275105712810">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="ddm_04_0001__p132761557886">Security group ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row13266857885"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="ddm_04_0001__p15276857787">subnet_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="ddm_04_0001__p927685719814">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="ddm_04_0001__p1527613576813">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="ddm_04_0001__p827645712810">Subnet ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row2026617571981"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="ddm_04_0001__p1927705720817">param_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="ddm_04_0001__p11277657786">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="ddm_04_0001__p4277155713810">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="ddm_04_0001__p20277957381">Parameter group ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row102661257782"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="ddm_04_0001__p1327711571083">time_zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="ddm_04_0001__p102789571681">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="ddm_04_0001__p5278155711815">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="ddm_04_0001__p5278557289">UTC time zone. The default value is <strong id="ddm_04_0001__b1453919353331">UTC</strong>. The value can be <strong id="ddm_04_0001__b1525442120154">UTC</strong>, <strong id="ddm_04_0001__b826515213154">UTC-12:00</strong>, <strong id="ddm_04_0001__b7266192115154">UTC-11:00</strong>, <strong id="ddm_04_0001__b82671021191515">UTC-10:00</strong>, <strong id="ddm_04_0001__b10267142120155">UTC-09:00</strong>, <strong id="ddm_04_0001__b1126742118155">UTC-08:00</strong>, <strong id="ddm_04_0001__b9268321161512">UTC-07:00</strong>, <strong id="ddm_04_0001__b142681621181515">UTC-06:00</strong>, <strong id="ddm_04_0001__b6269132141515">UTC-05:00</strong>, <strong id="ddm_04_0001__b5269621141518">UTC-04:00</strong>, <strong id="ddm_04_0001__b72702219156">UTC-03:00</strong>, <strong id="ddm_04_0001__b1627013211154">UTC-02:00</strong>, <strong id="ddm_04_0001__b627172112159">UTC-01:00</strong>, <strong id="ddm_04_0001__b1227112120154">UTC+01:00</strong>, <strong id="ddm_04_0001__b12723217151">UTC+02:00</strong>, <strong id="ddm_04_0001__b132721821131519">UTC+03:00</strong>, <strong id="ddm_04_0001__b12724217158">UTC+05:00</strong>, <strong id="ddm_04_0001__b11273102171511">UTC+06:00</strong>, <strong id="ddm_04_0001__b11273721141511">UTC+07:00</strong>, <strong id="ddm_04_0001__b6274132141514">UTC+08:00</strong>, <strong id="ddm_04_0001__b13274921171514">UTC+09:00</strong>, <strong id="ddm_04_0001__b2275102101516">UTC+10:00</strong>, <strong id="ddm_04_0001__b172751921191510">UTC+11:00</strong>, and <strong id="ddm_04_0001__b2027512211157">UTC+12:00</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row192665571985"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="ddm_04_0001__p1227811577816">admin_user_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="ddm_04_0001__p127914578815">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="ddm_04_0001__p027965719814">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="ddm_04_0001__p112797571287">Username of the administrator. The username:</p>
|
|
<ul id="ddm_04_0001__ul1327910571883"><li id="ddm_04_0001__li1279195710817">Can include 1 to 32 characters.</li><li id="ddm_04_0001__li19279757087">Must start with a letter.</li><li id="ddm_04_0001__li15280857280">Can contain only letters, digits, and underscores (_).</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row1126620571482"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="ddm_04_0001__p162801257785">admin_user_password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="ddm_04_0001__p102802574810">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="ddm_04_0001__p1628018570818">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="ddm_04_0001__p1280957684">Password of the administrator. The password:</p>
|
|
<ul id="ddm_04_0001__ul32812578815"><li id="ddm_04_0001__li02816571586">Can include 8 to 32 characters.</li><li id="ddm_04_0001__li142811257583">Must be a combination of uppercase letters, lowercase letters, digits, and the following special characters: ~!@#%^*-_=+? Must be a strong password to improve security and prevent security risks such as brute force cracking.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ddm_04_0001__section32931577814"><h4 class="sectiontitle">Response Parameters</h4><p id="ddm_04_0001__p122931157188"><strong id="ddm_04_0001__b16813121163813">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ddm_04_0001__response_CreateInstanceResponses" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="ddm_04_0001__row329418571387"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="ddm_04_0001__p1229435716819"><strong id="ddm_04_0001__b3701914133819">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="ddm_04_0001__p329513571284"><strong id="ddm_04_0001__b7718181518383">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="ddm_04_0001__p6295175717815"><strong id="ddm_04_0001__b5635161618381">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ddm_04_0001__row1294185713814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="ddm_04_0001__p102951757589">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="ddm_04_0001__p9296357782">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="ddm_04_0001__p132967571382">Instance ID. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row202949571389"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="ddm_04_0001__p112961457589">order_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="ddm_04_0001__p229645711819">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="ddm_04_0001__p11999922132119">The function has not been supported, and this field is reserved.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row1716943154511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="ddm_04_0001__p417019311456">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="ddm_04_0001__p41707316459">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="ddm_04_0001__p617053104517">ID of the job for creating an instance.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ddm_04_0001__p10297175712814"><strong id="ddm_04_0001__b370903213816">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ddm_04_0001__response_ExceptionResponses" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="ddm_04_0001__row1029713578813"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.1"><p id="ddm_04_0001__p19298125719812"><strong id="ddm_04_0001__b160823149">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.2"><p id="ddm_04_0001__p1929835718814"><strong id="ddm_04_0001__b279723865">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.5.2.4.1.3"><p id="ddm_04_0001__p1129813576815"><strong id="ddm_04_0001__b867983793810">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ddm_04_0001__row17297657382"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="ddm_04_0001__p029911571880">errCode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="ddm_04_0001__p1129911571983">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="ddm_04_0001__p1829910571984">Service error code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row529705718815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="ddm_04_0001__p132991857185">externalMessage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="ddm_04_0001__p72996579810">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="ddm_04_0001__p10300457681">Error message</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ddm_04_0001__p1130095712812"><strong id="ddm_04_0001__b9254848193812">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ddm_04_0001__table14300157681" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="ddm_04_0001__row1530075713815"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.1"><p id="ddm_04_0001__p730195720814"><strong id="ddm_04_0001__b2104290485">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.2"><p id="ddm_04_0001__p73031357485"><strong id="ddm_04_0001__b222296384">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.7.2.4.1.3"><p id="ddm_04_0001__p1730465719815"><strong id="ddm_04_0001__b968628813">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ddm_04_0001__row19300057488"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="ddm_04_0001__p930413572819">errCode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="ddm_04_0001__p930416571984">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="ddm_04_0001__p11304185715811">Service error code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row4300125719810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="ddm_04_0001__p173057571084">externalMessage</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="ddm_04_0001__p16305857786">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="ddm_04_0001__p1730513577814">Error message</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ddm_04_0001__section75611957487"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="ddm_04_0001__screen1349352941">POST https://{endpoint}/v1/{project_id}/instances
|
|
|
|
{
|
|
"instance" : {
|
|
"name" : "ddm-test-001",
|
|
"flavor_id" : "8f2e696c-a9c1-30bd-af90-25522bc67606",
|
|
"node_num" : "4,",
|
|
"engine_id" : "2325a707-0361-8be6-dd01-13474bbac437",
|
|
|
|
"available_zones" : [ "az1xahz" ],
|
|
"vpc_id" : "e1d886ec-cfe7-4cd4-b748-fc55a10b4172",
|
|
"security_group_id" : "035b70ed-319b-4086-9fd7-62a2e8548b2e",
|
|
"subnet_id" : "f942f970-1a02-4eee-8927-xxxxxxxx",
|
|
"param_group_id" : "035b70ed-319b-4086-9fd7-xxxxxxxx"
|
|
}
|
|
}</pre>
|
|
|
|
</div>
|
|
<div class="section" id="ddm_04_0001__section85631857985"><h4 class="sectiontitle">Example Response</h4><p id="ddm_04_0001__p956355713814"><strong id="ddm_04_0001__b141523165403">Status code: 200</strong></p>
|
|
<p id="ddm_04_0001__p125638576813">OK</p>
|
|
<pre class="screen" id="ddm_04_0001__screen1023218541354">{
|
|
"job_id" : "2x414788a5112333a02390e2eb0ea227",
|
|
"id" : "7191674e562d495d9e8e4b23ece6522ein09",
|
|
"order_id" : null
|
|
}</pre>
|
|
<p id="ddm_04_0001__p45631657188"><strong id="ddm_04_0001__b1966791915409">Status code: 400</strong></p>
|
|
<p id="ddm_04_0001__p15563557786">bad request</p>
|
|
<pre class="screen" id="ddm_04_0001__screen175638571882">{
|
|
"externalMessage" : "Parameter error.",
|
|
"errCode" : "DBS.280001"
|
|
}</pre>
|
|
<p id="ddm_04_0001__p556318571787"><strong id="ddm_04_0001__b10526723134014">Status code: 500</strong></p>
|
|
<p id="ddm_04_0001__p1756317571888">server error</p>
|
|
<pre class="screen" id="ddm_04_0001__screen45635578820">{
|
|
"externalMessage" : "Server failure.",
|
|
"errCode" : "DBS.200412"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="ddm_04_0001__section256417570811"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ddm_04_0001__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="ddm_04_0001__row15315957988"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="ddm_04_0001__p11564105717819"><strong id="ddm_04_0001__b1943945162114">Status Code</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="ddm_04_0001__p155641571380"><strong id="ddm_04_0001__b1749833204011">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ddm_04_0001__row1331519575811"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ddm_04_0001__p145641579812">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ddm_04_0001__p1456495719818">OK</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row1531519571816"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ddm_04_0001__p456416577818">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ddm_04_0001__p1564457887">bad request</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ddm_04_0001__row1315357583"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ddm_04_0001__p65644571815">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ddm_04_0001__p165645571684">server error</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ddm_04_0001__section67241224201212"><h4 class="sectiontitle">Error Codes</h4><p id="ddm_04_0001__p137251024181213">For details, see <a href="ddm_api_01_0061.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="ddm_api_01_0014.html">DDM Instances</a></div>
|
|
</div>
|
|
</div>
|
|
|