forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
706 lines
53 KiB
HTML
706 lines
53 KiB
HTML
<a name="as_06_0202"></a><a name="as_06_0202"></a>
|
|
|
|
<h1 class="topictitle1">Querying AS configurations</h1>
|
|
<div id="body52684690"><div class="section" id="as_06_0202__section27863937"><h4 class="sectiontitle">Function</h4><p id="as_06_0202__p39601516">This API is used to query AS configurations based on search criteria. The results are displayed by page.</p>
|
|
<ul id="as_06_0202__ul1419912223539"><li id="as_06_0202__li219972245318">Search criteria can be the AS configuration name, image ID, start line number, and number of records.</li><li id="as_06_0202__li17362645163619">If no search criteria are specified, a maximum of 20 AS configurations can be queried for a tenant by default.</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0202__section49448848"><h4 class="sectiontitle">URI</h4><p id="as_06_0202__p47136405">GET /autoscaling-api/v1/{project_id}/scaling_configuration</p>
|
|
<div class="note" id="as_06_0202__note43607004115015"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="as_06_0202__p56918721115015">You can type the question mark (?) and ampersand (&) at the end of the URI to define multiple search criteria. AS configurations can be searched by all optional parameters in the following table. For details, see the example request.</p>
|
|
</div></div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0202__table59952436" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="as_06_0202__row38679683"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.2.4.2.5.1.1"><p id="as_06_0202__p46046605"><strong id="as_06_0202__b8717226124815">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19%" id="mcps1.3.2.4.2.5.1.2"><p id="as_06_0202__p38787544">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.2.4.2.5.1.3"><p id="as_06_0202__p54783372">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="43%" id="mcps1.3.2.4.2.5.1.4"><p id="as_06_0202__p8268111"><strong id="as_06_0202__b1496832844814">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0202__row65737292"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0202__p23120425">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0202__p60815118">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0202__p27077540">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0202__p36520930">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row9521066"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0202__p33008913">scaling_configuration_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0202__p56476259">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0202__p11174282">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0202__p32701678">Specifies the AS configuration name.</p>
|
|
<p id="as_06_0202__p271118441192">Supports fuzzy search. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row25879650"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0202__p15876907">image_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0202__p10961125">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0202__p15435960">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0202__p42353227">Specifies the image ID. It is same as <strong id="as_06_0202__b13817591495328">imageRef</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row45634724"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0202__p5425146">start_number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0202__p36783718">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0202__p26691149">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0202__p59373825">Specifies the start line number. The default value is <strong id="as_06_0202__b1052981016453">0</strong>. The minimum parameter value is <strong id="as_06_0202__b18744142621611">0</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row63386473"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.4.2.5.1.1 "><p id="as_06_0202__p34030663">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.2.4.2.5.1.2 "><p id="as_06_0202__p5020285">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.4.2.5.1.3 "><p id="as_06_0202__p3989940">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.2.4.2.5.1.4 "><p id="as_06_0202__p21968676">Specifies the number of query records. The default value is <strong id="as_06_0202__b168447885495335">20</strong>. The value range is 0 to 100.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="as_06_0202__section42386454"><h4 class="sectiontitle">Request Message</h4><ul id="as_06_0202__ul9007507"><li id="as_06_0202__li56913160">Request parameters<p id="as_06_0202__p60400126203515"><a name="as_06_0202__li56913160"></a><a name="li56913160"></a>None</p>
|
|
</li><li id="as_06_0202__li3640858994017">Example request<p id="as_06_0202__p44601317112510"><a name="as_06_0202__li3640858994017"></a><a name="li3640858994017"></a>This example shows how to query the AS configurations with image ID <strong id="as_06_0202__b84235270603520">37ca2b35-6fc7-47ab-93c7-900324809c5c</strong>.</p>
|
|
<pre class="screen" id="as_06_0202__screen144526615255">GET https://{Endpoint}/autoscaling-api/v1/{project_id}/scaling_configuration?image_id=37ca2b35-6fc7-47ab-93c7-900324809c5c</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0202__section45933772"><h4 class="sectiontitle">Response Message</h4><ul id="as_06_0202__ul18887690"><li id="as_06_0202__li35771490">Response parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0202__table53507960" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response parameters</caption><thead align="left"><tr id="as_06_0202__row16725372"><th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="as_06_0202__p12577900"><strong id="as_06_0202__b1025643012482">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="as_06_0202__p12176960">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="65%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="as_06_0202__p46809697"><strong id="as_06_0202__b13645434144814">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0202__row33489078"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="as_06_0202__p28260775">total_number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="as_06_0202__p7421470">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="as_06_0202__p64268160">Specifies the total number of query records.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row41542534"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="as_06_0202__p9502070">start_number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="as_06_0202__p31470215">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="as_06_0202__p66059488">Specifies the start line number.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row57664488"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="as_06_0202__p40311937">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="as_06_0202__p44041463">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="as_06_0202__p10588721">Specifies the number of query records.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row28189627"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="as_06_0202__p1658455">scaling_configurations</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="as_06_0202__p117163">Array of <a href="#as_06_0202__table5681858093547">scaling_configurations</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="as_06_0202__p9490272">Specifies the AS configuration list.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0202__table5681858093547"></a><a name="table5681858093547"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0202__table5681858093547" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="as_06_0202__b3508283114149">scaling_configurations</strong> field description</caption><thead align="left"><tr id="as_06_0202__re3411f14be354adaa992fb18acd266b3"><th align="left" class="cellrowborder" valign="top" width="20.792079207920793%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="as_06_0202__p1849874874120">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13.861386138613863%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="as_06_0202__a66bf54ec342041dbbdb3e94e61a16755">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="65.34653465346535%" id="mcps1.3.4.2.1.2.2.4.1.3"><p id="as_06_0202__p5247352114118">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0202__r9f15de2a91214389817570a65795d934"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0202__a7126d41fd1b24b1eab2eda1d5a38f8e2">scaling_configuration_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0202__en-us_topic_0021400633_p540708615530">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.34653465346535%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0202__a11b18fd45aa842a488d336849f50eeee">Specifies the AS configuration ID. This parameter is globally unique.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__r4a558da7a6aa4ab29aaf4550f7b1f0e0"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0202__a046a22f1fc274961a10019bfb674fff4">tenant</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0202__a25cae146c2cd4a769583d20b5424e047">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.34653465346535%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0202__a2d4137196ed147e4a4f4e8653db5ec24">Specifies the tenant ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__r505b7d00ed454198a1a21dced5c0243f"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0202__en-us_topic_0021400633_p870139315530">scaling_configuration_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0202__afb8c974ea725478993cd9a4990ca109f">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.34653465346535%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0202__a89afcf2708b144269ae6b3940fa2666a">Specifies the AS configuration name.</p>
|
|
<p id="as_06_0202__p194013251584">Supports fuzzy search. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__r77a46c0e9c70450eb409e8ebe23beea8"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0202__ae15692552b404d298e68d5ef197ea04c">instance_config</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0202__a4c03d226ca78442f99e13b8d363cd51d"><a href="#as_06_0202__table420823093759">instance_config</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.34653465346535%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0202__abaccb7574422492eb4b4c527d09a3c61">Specifies the information about instance configurations.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__r3d8f7bcb6bf94470b87dacfd57738024"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0202__ad1ffb6d1bec1482dbccf57977263949e">create_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0202__en-us_topic_0021400633_p383746415530">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.34653465346535%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0202__ab5da0c2e034149cd87f2879a3f041b7e">Specifies the time when AS configurations are created. The time format complies with UTC.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row10645105312227"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="as_06_0202__p15646165318222">scaling_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="as_06_0202__p14646553112220">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.34653465346535%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="as_06_0202__p1064615310226">Specifies the ID of the AS group to which the AS configuration is bound.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0202__table420823093759"></a><a name="table420823093759"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0202__table420823093759" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="as_06_0202__b2812231614149">instance_config</strong> field description</caption><thead align="left"><tr id="as_06_0202__r4c26d84153be4464b22847e9b6182390"><th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.4.2.1.3.2.4.1.1"><p id="as_06_0202__p1871345814416">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.4.2.1.3.2.4.1.2"><p id="as_06_0202__a4950d94907064b47a4bda4858a33cdc0">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="65%" id="mcps1.3.4.2.1.3.2.4.1.3"><p id="as_06_0202__p43861545411">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0202__r91b06878f5da4447abf9b85bf4c82bc6"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__a509afeee56a44a43897bac222c61f3ff">flavorRef</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__af5eccdf2dbd04ef8ae9a07f3f57472e0">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__a068eef21ab6b4492876594074b9a6ea8">Specifies the ECS flavor ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__rc85492fa8fb7484b8f9ce867ee9c9db6"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__a0ef3b55b17824d92a0b4fff8a3b9fc6f">imageRef</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__a0b7ade9132b143a18449fed7c25c1794">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__a1aafc582cb754139946238475192748d">Specifies the image ID. It is same as <strong id="as_06_0202__b49305385195432">image_id</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__r7d3d6a0636424a11aef13684aeacd387"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__a2fd0f5cb13fa4b2e9cce0a57e5755405">disk</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__a59f1976b777c49dabc9f22e498393078">Array of <a href="#as_06_0202__table2679008093849">disk</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__aeafe48e042c04c619ee16094cf39bdca">Specifies the disk group information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__r6e4032bddf7042c591aaf8e609c9354c"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__a50a891366c5d4110b123106b59f3c018">key_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__a319a3f9f58b14a71a0d011f5c7d05786">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__a20acb6297a7047d9b012e3a896ff7552">Specifies the name of the SSH key pair used to log in to the ECS.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row77791051114"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__p979151011119">key_fingerprint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__p5790105112">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__p47931011118">Specifies the fingerprint of the SSH key pair used to log in to the ECS.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row51826829134657"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__p37223645134657">instance_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__p62325286134657">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__p15183375134657">This parameter is reserved.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row4559936913472"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__p256138513472">instance_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__p614564213472">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__p2803499513472">This parameter is reserved.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row2971225584928"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__p3186239984935">adminPass</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__p3071753084935">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__p509197784935">This parameter is reserved.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__r20296d7eb44f447f8a64bbc0a96e87d2"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__a44d4ff71822642e8a3299c7beebc4da7">personality</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__af0a4b1b96a534569986e2f66b4c3a81f">Array of <a href="#as_06_0202__table1186638793926">personality</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__a76bd6d9b0fcf4bc795d8cd02cd71669b">Specifies information about the injected file.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row44468644105118"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__p45190439105118">public_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__p7974334164019"><a href="#as_06_0202__tcdec56e5b04447d7b37ba3897d12796c">public_ip</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__p28440782105253">Specifies the EIP of the ECS.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row2317114819113"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__p6492371719113">user_data</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__p2432969419113">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__p2454815919113">Specifies the Cloud-Init user data, which is encoded using Base64.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row6280717710057"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__p5421657810057">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__p82114373404"><a href="#as_06_0202__table6119722495435">metadata</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__p3799511910057">Specifies the ECS metadata. For details, see <a href="#as_06_0202__table6119722495435">Table 11</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row573525920305"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__p142651412133115">security_groups</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__p10265121214315">Array of <a href="#as_06_0202__table121274211250">security_groups</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__p426516120315">Specifies the security group information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row126532511417"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__p4890202120414">server_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__p689412111418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__p139176258419">This parameter is reserved.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row256615121749"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__p15902821041">tenancy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__p7908142115419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__p5924225648">This parameter is reserved.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row175331784410"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__p11916162112417">dedicated_host_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__p1592118211644">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__p189323251348">This parameter is reserved.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row1204184305014"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__p1777713012214">market_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__p1297185818506">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__p0897134016220">This parameter is reserved.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row5954330123112"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.3.2.4.1.1 "><p id="as_06_0202__p5541123713114">multi_flavor_priority_policy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.3.2.4.1.2 "><p id="as_06_0202__p454113711316">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.3.2.4.1.3 "><p id="as_06_0202__p13506749103211">This parameter is reserved.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0202__table2679008093849"></a><a name="table2679008093849"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0202__table2679008093849" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="as_06_0202__b2220621714149">disk</strong> field description</caption><thead align="left"><tr id="as_06_0202__row85230949436"><th align="left" class="cellrowborder" valign="top" width="20.792079207920793%" id="mcps1.3.4.2.1.4.2.4.1.1"><p id="as_06_0202__p9529321424">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.85148514851485%" id="mcps1.3.4.2.1.4.2.4.1.2"><p id="as_06_0202__p183385979436">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="64.35643564356435%" id="mcps1.3.4.2.1.4.2.4.1.3"><p id="as_06_0202__p90314069436">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0202__row604552559436"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.4.2.4.1.1 "><p id="as_06_0202__p650374489436">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.4.2.4.1.2 "><p id="as_06_0202__p335419309436">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.35643564356435%" headers="mcps1.3.4.2.1.4.2.4.1.3 "><p id="as_06_0202__p325417969436">Specifies the disk size. The unit is GB.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row244407149436"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.4.2.4.1.1 "><p id="as_06_0202__p335408289436">volume_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.4.2.4.1.2 "><p id="as_06_0202__p324525719436">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.35643564356435%" headers="mcps1.3.4.2.1.4.2.4.1.3 "><p id="as_06_0202__p114125909436">Specifies the disk type.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row356044519436"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.4.2.4.1.1 "><p id="as_06_0202__p653882729436">disk_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.4.2.4.1.2 "><p id="as_06_0202__p619586619436">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.35643564356435%" headers="mcps1.3.4.2.1.4.2.4.1.3 "><p id="as_06_0202__p525956599436">Specifies whether the disk is a system disk or a data disk. <strong id="as_06_0202__b7990615609568">DATA</strong> indicates a data disk. <strong id="as_06_0202__b85809941095610">SYS</strong> indicates a system disk.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row4877147810558"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.4.2.4.1.1 "><p id="as_06_0202__p503431291064">dedicated_storage_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.4.2.4.1.2 "><p id="as_06_0202__p5228260410629">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.35643564356435%" headers="mcps1.3.4.2.1.4.2.4.1.3 "><p id="as_06_0202__p703253010629">Specifies the ID of the DSS device for the disk.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row619300651062"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.4.2.4.1.1 "><p id="as_06_0202__p587013661064">data_disk_image_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.4.2.4.1.2 "><p id="as_06_0202__p6132989810629">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.35643564356435%" headers="mcps1.3.4.2.1.4.2.4.1.3 "><p id="as_06_0202__p166583810629">Specifies the ID of the data disk image for creating a data disk.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row56552928152851"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.4.2.4.1.1 "><p id="as_06_0202__p35860216152911">snapshot_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.4.2.4.1.2 "><p id="as_06_0202__p18996409152911">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.35643564356435%" headers="mcps1.3.4.2.1.4.2.4.1.3 "><p id="as_06_0202__p14285369152911">Specifies the disk backup snapshot ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row1828110519421"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.4.2.4.1.1 "><p id="as_06_0202__p12748155016294">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.4.2.4.1.2 "><p id="as_06_0202__p197488507290"><a href="#as_06_0202__table17912164981110">metadata</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.35643564356435%" headers="mcps1.3.4.2.1.4.2.4.1.3 "><p id="as_06_0202__p6748135052911">Specifies the metadata for creating disks. For details, see <a href="#as_06_0202__table17912164981110">Table 6</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0202__table17912164981110"></a><a name="table17912164981110"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0202__table17912164981110" frame="border" border="1" rules="all"><caption><b>Table 6 </b><strong id="as_06_0202__b95101222047">metadata</strong> Field Description for Creating Disks</caption><thead align="left"><tr id="as_06_0202__row79145499112"><th align="left" class="cellrowborder" valign="top" width="20.792079207920793%" id="mcps1.3.4.2.1.5.2.4.1.1"><p id="as_06_0202__p3914164912115"><strong id="as_06_0202__b1826320269412">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.85148514851485%" id="mcps1.3.4.2.1.5.2.4.1.2"><p id="as_06_0202__p1991410491115">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="64.35643564356435%" id="mcps1.3.4.2.1.5.2.4.1.3"><p id="as_06_0202__p169141849141117"><strong id="as_06_0202__b1260927644">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0202__row1891504941119"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.5.2.4.1.1 "><p id="as_06_0202__p091684941119">__system__encrypted</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.5.2.4.1.2 "><p id="as_06_0202__p0916549131120">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.35643564356435%" headers="mcps1.3.4.2.1.5.2.4.1.3 "><p id="as_06_0202__p791624941117">Specifies encryption in <strong id="as_06_0202__b1438855173918">metadata</strong>. The value can be <strong id="as_06_0202__b193891513393">0</strong> (encryption disabled) or <strong id="as_06_0202__b173901451103914">1</strong> (encryption enabled).</p>
|
|
<p id="as_06_0202__p20916184951114">If this parameter does not exist, the disk will not be encrypted by default.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row1991654913112"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.5.2.4.1.1 "><p id="as_06_0202__p17916949171112">__system__cmkid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.5.2.4.1.2 "><p id="as_06_0202__p2916164911112">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.35643564356435%" headers="mcps1.3.4.2.1.5.2.4.1.3 "><p id="as_06_0202__p20916194915112">Specifies the CMK ID, which indicates encryption in <strong id="as_06_0202__b133078414409">metadata</strong>. This parameter is used with <strong id="as_06_0202__b5308184144018">__system__encrypted</strong>.</p>
|
|
<div class="note" id="as_06_0202__note179161149181116"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="as_06_0202__p791616494116">For details about how to obtain the CMK ID, see "Querying the List of CMKs" in <em id="as_06_0202__i051673617488">Key Management Service API Reference</em>.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0202__table1186638793926"></a><a name="table1186638793926"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0202__table1186638793926" frame="border" border="1" rules="all"><caption><b>Table 7 </b><strong id="as_06_0202__b3378350114149">personality</strong> field description</caption><thead align="left"><tr id="as_06_0202__row2268379894321"><th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.4.2.1.6.2.4.1.1"><p id="as_06_0202__p2544835194321">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.4.2.1.6.2.4.1.2"><p id="as_06_0202__p4805058594321">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="65%" id="mcps1.3.4.2.1.6.2.4.1.3"><p id="as_06_0202__p6689220494321">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0202__row4955942394321"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.6.2.4.1.1 "><p id="as_06_0202__p5489029894321">path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.6.2.4.1.2 "><p id="as_06_0202__p1692915894321">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.6.2.4.1.3 "><p id="as_06_0202__p2908455494321">Specifies the path of the injected file.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row3326409394321"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.6.2.4.1.1 "><p id="as_06_0202__p1003698794321">content</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.6.2.4.1.2 "><p id="as_06_0202__p768958594321">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.6.2.4.1.3 "><p id="as_06_0202__p1887664894321">Specifies the content of the file to be injected. The file content is encoded using Base64.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0202__tcdec56e5b04447d7b37ba3897d12796c"></a><a name="tcdec56e5b04447d7b37ba3897d12796c"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0202__tcdec56e5b04447d7b37ba3897d12796c" frame="border" border="1" rules="all"><caption><b>Table 8 </b><strong id="as_06_0202__b5338626714149">public_ip</strong> field description</caption><thead align="left"><tr id="as_06_0202__rf04af88fbbdf4ecba6a3e6e9aad079f9"><th align="left" class="cellrowborder" valign="top" width="20.202020202020204%" id="mcps1.3.4.2.1.7.2.4.1.1"><p id="as_06_0202__afd8569082e55402cba696b519061600b">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.141414141414144%" id="mcps1.3.4.2.1.7.2.4.1.2"><p id="as_06_0202__a38d2527b49394965871d7bd5036301d3">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="65.65656565656566%" id="mcps1.3.4.2.1.7.2.4.1.3"><p id="as_06_0202__en-us_topic_0020845949_p851285010312">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0202__r17b93926a7a2473d8e6ca47bb5be9b79"><td class="cellrowborder" valign="top" width="20.202020202020204%" headers="mcps1.3.4.2.1.7.2.4.1.1 "><p id="as_06_0202__a89bdcceda9414a71ae0c7e3d72dabb83">eip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.4.2.1.7.2.4.1.2 "><p id="as_06_0202__p5916204120407"><a href="#as_06_0202__tdd0bc92fd16345d48c819c97641a369f">eip</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65.65656565656566%" headers="mcps1.3.4.2.1.7.2.4.1.3 "><p id="as_06_0202__a47ccd07d509f4dd3824f47e9247aea59">Specifies the automatically assigned EIP.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0202__tdd0bc92fd16345d48c819c97641a369f"></a><a name="tdd0bc92fd16345d48c819c97641a369f"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0202__tdd0bc92fd16345d48c819c97641a369f" frame="border" border="1" rules="all"><caption><b>Table 9 </b><strong id="as_06_0202__b6112879014149">eip</strong> field description</caption><thead align="left"><tr id="as_06_0202__r87ed6857ffae47088b1500be4cc20349"><th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.4.2.1.8.2.4.1.1"><p id="as_06_0202__ad86da605a6b94513b3155b6e54b5083f">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.4.2.1.8.2.4.1.2"><p id="as_06_0202__a6a6ab8033ed94d40afe36b99d987b71c">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="65%" id="mcps1.3.4.2.1.8.2.4.1.3"><p id="as_06_0202__a9baeb04a7c2f4c9c852c1e5874dbbffd">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0202__rd79e7d1ab1d647efa45dc111cbe4c367"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.8.2.4.1.1 "><p id="as_06_0202__ae77f47be6732497c98ea0a0e1b66e2c2">ip_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.8.2.4.1.2 "><p id="as_06_0202__ac063c9e758fe40d3b7ccbf9d5b4e0dba">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.8.2.4.1.3 "><p id="as_06_0202__a9098437854d542a899c5e69e2c3c3d2e">Specifies the IP address type.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__r4ec4d379ab0a44ccb3f2bd1e38b8f2ba"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.4.2.1.8.2.4.1.1 "><p id="as_06_0202__a523db77199174a00aa2acaa39b3880e7">bandwidth</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.4.2.1.8.2.4.1.2 "><p id="as_06_0202__p189015439402"><a href="#as_06_0202__t5334015bf90941a996bc1c9ca7ef4637">bandwidth</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="65%" headers="mcps1.3.4.2.1.8.2.4.1.3 "><p id="as_06_0202__a0f936b6301a74ddb82af834687c9be56">Specifies the bandwidth of an IP address.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0202__t5334015bf90941a996bc1c9ca7ef4637"></a><a name="t5334015bf90941a996bc1c9ca7ef4637"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0202__t5334015bf90941a996bc1c9ca7ef4637" frame="border" border="1" rules="all"><caption><b>Table 10 </b><strong id="as_06_0202__b5218048014149">bandwidth</strong> field description</caption><thead align="left"><tr id="as_06_0202__r423eaa8930174f0ba29e71993bff93da"><th align="left" class="cellrowborder" valign="top" width="20.792079207920793%" id="mcps1.3.4.2.1.9.2.4.1.1"><p id="as_06_0202__a4232ce3904fd45eaa61c236eff6ebf85">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.85148514851485%" id="mcps1.3.4.2.1.9.2.4.1.2"><p id="as_06_0202__a71c241ffcd524934b5b87de8f59b40e1">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="64.35643564356435%" id="mcps1.3.4.2.1.9.2.4.1.3"><p id="as_06_0202__a7c976ed70ac74bf0a8eac92204ccedcf">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0202__r4b82bcc1304f4adc86aed5c0fb8a4257"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.9.2.4.1.1 "><p id="as_06_0202__ae94d06d07bdd40128a583075ebfb2b8c">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.9.2.4.1.2 "><p id="as_06_0202__ae718de7e54424fb7b76d8ec75da93d28">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.35643564356435%" headers="mcps1.3.4.2.1.9.2.4.1.3 "><p id="as_06_0202__p22263891102758">Specifies the bandwidth (Mbit/s).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__r835b10f4ea2440a59008ed01cf5406e5"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.9.2.4.1.1 "><p id="as_06_0202__en-us_topic_0020845949_p840519103344">share_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.9.2.4.1.2 "><p id="as_06_0202__a2318067ce92d452f860add6c1534c47a">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.35643564356435%" headers="mcps1.3.4.2.1.9.2.4.1.3 "><p id="as_06_0202__ac10c2cfc7cd146fdb8123d9cf26f04c1">Specifies the bandwidth sharing type.</p>
|
|
<p id="as_06_0202__p1623102512610">Enumerated values of the sharing type:</p>
|
|
<ul id="as_06_0202__ul8989111213019"><li id="as_06_0202__li23171724301"><strong id="as_06_0202__b84235270604852">PER</strong>: dedicated</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__rd34a9ea5552b45ec8738f5fa3b72a148"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.4.2.1.9.2.4.1.1 "><p id="as_06_0202__a37f22f3f0df7441a8edd20467578ef30">charging_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.9.2.4.1.2 "><p id="as_06_0202__ad87bdc85b8464970a124eab512415764">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.35643564356435%" headers="mcps1.3.4.2.1.9.2.4.1.3 "><p id="as_06_0202__a7b09462d7de24bfdb18f5fc46eb08da2">Specifies the bandwidth billing mode.</p>
|
|
<ul id="as_06_0202__u7a851e86e06a442c942f1c43a416b218"><li id="as_06_0202__li51616848163731"><strong id="as_06_0202__b842352706184041">traffic</strong>: billed by traffic.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0202__table6119722495435"></a><a name="table6119722495435"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0202__table6119722495435" frame="border" border="1" rules="all"><caption><b>Table 11 </b><strong id="as_06_0202__b6097433114149">metadata</strong> field description</caption><thead align="left"><tr id="as_06_0202__row5794517795435"><th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.4.2.1.10.2.4.1.1"><p id="as_06_0202__p6304778595435">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.4.2.1.10.2.4.1.2"><p id="as_06_0202__p6459317995435">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="63%" id="mcps1.3.4.2.1.10.2.4.1.3"><p id="as_06_0202__p6466497295435">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0202__row337137495435"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.4.2.1.10.2.4.1.1 "><p id="as_06_0202__p460751359557">admin_pass</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.4.2.1.10.2.4.1.2 "><p id="as_06_0202__p406410849557">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.10.2.4.1.3 "><p id="as_06_0202__p35935409557">Specifies the password of the <strong id="as_06_0202__b8861651816">Administrator</strong> account for a Windows ECS.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0202__table121274211250"></a><a name="table121274211250"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0202__table121274211250" frame="border" border="1" rules="all"><caption><b>Table 12 </b><strong id="as_06_0202__b1510154263616">security_groups</strong> field description</caption><thead align="left"><tr id="as_06_0202__row21632216254"><th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.4.2.1.11.2.4.1.1"><p id="as_06_0202__p516332116258">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.4.2.1.11.2.4.1.2"><p id="as_06_0202__p1316313216252">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="63%" id="mcps1.3.4.2.1.11.2.4.1.3"><p id="as_06_0202__p0163521152518">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0202__row51635216253"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.4.2.1.11.2.4.1.1 "><p id="as_06_0202__p121631221182519">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.4.2.1.11.2.4.1.2 "><p id="as_06_0202__p5163182142517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.4.2.1.11.2.4.1.3 "><p id="as_06_0202__p16163132182511">Specifies the security group ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="as_06_0202__ul30514590"><li id="as_06_0202__li6195855">Example response<pre class="screen" id="as_06_0202__screen292187489348">{
|
|
"limit": 20,
|
|
"total_number": 2,
|
|
"start_number": 0,
|
|
"scaling_configurations": [
|
|
{
|
|
"tenant": "ce061903a53545dcaddb300093b477d2",
|
|
"scaling_configuration_id": "6afe46f9-7d3d-4046-8748-3b2a1085ad86",
|
|
"scaling_configuration_name": " config_name_1",
|
|
"instance_config": {
|
|
"disk": [
|
|
{
|
|
"size": 40,
|
|
"volume_type": "SATA",
|
|
"disk_type": "SYS"
|
|
},
|
|
{
|
|
"size": 100,
|
|
"volume_type": "SATA",
|
|
"disk_type": "DATA"
|
|
}
|
|
],
|
|
"personality": null,
|
|
"instance_name": null,
|
|
"instance_id": null,
|
|
"flavorRef": "103",
|
|
"imageRef": "37ca2b35-6fc7-47ab-93c7-900324809c5c",
|
|
"key_name": "keypair01",
|
|
"public_ip": null,
|
|
"user_data": null,
|
|
"metadate": {},
|
|
"security_groups": [{
|
|
"id": "6c22a6c0-b5d2-4a84-ac56-51090dcc33be"
|
|
}],
|
|
},
|
|
"create_time": "2015-07-23T01:04:07Z"
|
|
},
|
|
{
|
|
"tenant": "ce061903a53545dcaddb300093b477d2",
|
|
"scaling_configuration_id": "24a8c5f3-c713-4aba-ac29-c17101009e5d",
|
|
"scaling_configuration_name": "config_name_2",
|
|
"instance_config": {
|
|
"disk": [
|
|
{
|
|
"size": 40,
|
|
"volume_type": "SATA",
|
|
"disk_type": "SYS"
|
|
}
|
|
],
|
|
"personality": null,
|
|
"instance_name": null,
|
|
"instance_id": null,
|
|
"flavorRef": "103",
|
|
"imageRef": "37ca2b35-6fc7-47ab-93c7-900324809c5c",
|
|
"key_name": "keypair01",
|
|
"public_ip": null,
|
|
"user_data": null,
|
|
"metadata": {},
|
|
"security_groups": [{
|
|
"id": "6c22a6c0-b5d2-4a84-ac56-51090dcc33be"
|
|
}],
|
|
"multi_flavor_priority_policy": "PICK_FIRST"
|
|
},
|
|
"create_time": "2015-07-22T01:08:41Z"
|
|
}
|
|
]
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0202__section10750772"><h4 class="sectiontitle">Returned Values</h4><ul id="as_06_0202__ul57678784"><li id="as_06_0202__li49347015">Normal<p id="as_06_0202__p41469957"><a name="as_06_0202__li49347015"></a><a name="li49347015"></a>200</p>
|
|
</li><li id="as_06_0202__li37685299">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0202__table3623379" frame="border" border="1" rules="all"><thead align="left"><tr id="as_06_0202__row13858403"><th align="left" class="cellrowborder" valign="top" width="43.8%" id="mcps1.3.5.2.2.1.1.3.1.1"><p id="as_06_0202__p48788849">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.2%" id="mcps1.3.5.2.2.1.1.3.1.2"><p id="as_06_0202__p59582700">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0202__row61469371"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p12963143">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p43381623">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row54890288"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p16928338">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p29018124">You must enter the username and password to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row59836530"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p14920772">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p623043">You are forbidden to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row5607390"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p51545483">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p14434584">The server could not find the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row62802394"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p53829147">405 Method Not Allowed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p65193616">You are not allowed to use the method specified in the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row49871633"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p13070512">406 Not Acceptable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p52078584">The response generated by the server could not be accepted by the client.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row66054074"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p48779793">407 Proxy Authentication Required</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p58849189">You must use the proxy server for authentication to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row59880657"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p18495050">408 Request Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p21704116">The request timed out.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row61119323"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p51718129">409 Conflict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p28418891">The request could not be processed due to a conflict.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row54443429"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p47841633">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p49967061">Failed to complete the request because of an internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row47050372"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p52983808">501 Not Implemented</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p63830089">Failed to complete the request because the server does not support the requested function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row37599894"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p25692540">502 Bad Gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p720995">Failed to complete the request because the request is invalid.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row6488958"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p55843593">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p27037160">Failed to complete the request because the system is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0202__row42007851"><td class="cellrowborder" valign="top" width="43.8%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="as_06_0202__p47192740">504 Gateway Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.2%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="as_06_0202__p64515557">A gateway timeout error occurred.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0202__section17669131616110"><h4 class="sectiontitle">Error Codes</h4><p id="as_06_0202__p172692548116">See <a href="as_07_0102.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="as_06_0200.html">AS Configurations</a></div>
|
|
</div>
|
|
</div>
|
|
|