forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
530 lines
48 KiB
HTML
530 lines
48 KiB
HTML
<a name="as_06_0101"></a><a name="as_06_0101"></a>
|
|
|
|
<h1 class="topictitle1">Creating an AS Group</h1>
|
|
<div id="body9271893"><div class="section" id="as_06_0101__section21784493"><h4 class="sectiontitle">Function</h4><p class="litext" id="as_06_0101__p1972513169244">An AS group is a collection of instances that are used in the same scenario. It is the basis for enabling or disabling AS policies and performing scaling actions. An AS group specifies parameters, such as the maximum number of instances, expected number of instances, minimum number of instances, VPC, subnet, and load balance settings.</p>
|
|
<ul id="as_06_0101__ul1443112114611"><li id="as_06_0101__li7443172111619">Each account can create a maximum of 25 AS groups by default.</li><li id="as_06_0101__li14792046598">If a load balancer is associated with an AS group, AS automatically associates the load balancer with or dissociates the load balancer from instances when the instances are added to or removed from the AS group.</li><li id="as_06_0101__li7163204512714">If ELB health check is enabled for an AS group, the instances in the AS group must use all the listening ports of each load balancer for health check. You can configure these ports in the security group of the instances.
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0101__section61842715"><h4 class="sectiontitle">URI</h4><p id="as_06_0101__p63024590">POST /autoscaling-api/v1/{project_id}/scaling_group</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0101__table4718148" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="as_06_0101__row62417507"><th align="left" class="cellrowborder" valign="top" width="20.792079207920793%" id="mcps1.3.2.3.2.5.1.1"><p id="as_06_0101__p22653281">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.792079207920793%" id="mcps1.3.2.3.2.5.1.2"><p id="as_06_0101__p22976439">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13.861386138613863%" id="mcps1.3.2.3.2.5.1.3"><p id="as_06_0101__p49152270">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.554455445544555%" id="mcps1.3.2.3.2.5.1.4"><p id="as_06_0101__p21910925">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0101__row29954525"><td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.2.3.2.5.1.1 "><p id="as_06_0101__p1221320251318">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.2.3.2.5.1.2 "><p id="as_06_0101__p36889359">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.861386138613863%" headers="mcps1.3.2.3.2.5.1.3 "><p id="as_06_0101__p35248064">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.2.3.2.5.1.4 "><p id="as_06_0101__p36520930">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="as_06_0101__section19713524"><h4 class="sectiontitle">Request</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0101__table147283118511" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="as_06_0101__row1971971119513"><th align="left" class="cellrowborder" valign="top" width="19.801980198019802%" id="mcps1.3.3.2.2.5.1.1"><p id="as_06_0101__p271981175113">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.792079207920793%" id="mcps1.3.3.2.2.5.1.2"><p id="as_06_0101__p3719161114518">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.85148514851485%" id="mcps1.3.3.2.2.5.1.3"><p id="as_06_0101__p1971971112515">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.554455445544555%" id="mcps1.3.3.2.2.5.1.4"><p id="as_06_0101__p7719141125110">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0101__row572015117517"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p1871951175116">scaling_group_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p15719411165112">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p1572019119513">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p177201011155120">Specifies the AS group name. The name contains only letters, digits, underscores (_), and hyphens (-), and cannot exceed 64 characters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row13720101125119"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p4720161114511">scaling_configuration_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p10720181195114">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p1172081115118">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p1872071118516">Specifies the AS configuration ID, which can be obtained using the API for querying AS configurations. For details, see <a href="as_06_0202.html">Querying AS configurations</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row157209117514"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p1372051114519">desire_instance_number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p17201711195118">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p872061115113">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p1720191110516">Specifies the expected number of instances. The default value is the minimum number of instances.</p>
|
|
<p id="as_06_0101__p18720611165111">The value ranges from the minimum number of instances to the maximum number of instances.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row12721161115115"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p1172012115510">min_instance_number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p1720311195118">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p117201111185113">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p107217119510">Specifies the minimum number of instances. The default value is <strong id="as_06_0101__b84235270612310">0</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row1572131135116"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p072118112512">max_instance_number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p97211311115113">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p147211911185114">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p372116118513">Specifies the maximum number of instances. The default value is <strong id="as_06_0101__b952111177366">1</strong>. The value is an integer ranging from 0 to 300.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row18721101135112"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p672111110515">cool_down_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p167211411195114">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p47211011205118">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p14721131145111">Specifies the cooldown period (in seconds). The value ranges from <strong id="as_06_0101__b9311165962620">0</strong> to <strong id="as_06_0101__b44981213271">86400</strong> and defaults to <strong id="as_06_0101__b22020126272">300</strong>.</p>
|
|
<p id="as_06_0101__p19491757192214">After a scaling action is complete, the cooldown period starts. During the cooldown period, AS denies all scaling requests triggered by alarm-based policies. Scaling requests triggered manually or by scheduled or periodic policies are not affected.</p>
|
|
<div class="note" id="as_06_0101__note13418811172319"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="as_06_0101__ul3350525152815"><li id="as_06_0101__li173501725152811">When an AS group scales out, scale-in requests triggered manually or by scheduled and periodic policies will be executed immediately after the scale-out is complete, without being affected by the cooldown period.</li><li id="as_06_0101__li11350172572819">When an AS group scales in, scale-out requests triggered manually or by scheduled and periodic policies will be executed immediately after the scale-in is complete, without being affected by the cooldown period.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row672221111511"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p14721811105111">lb_listener_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p37213119510">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p3721611125116">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p20895122411511">Specifies the ID of a listener added to a load balancer. You can add up to six listeners. Separate listener IDs with commas (,). </p>
|
|
<p id="as_06_0101__p1560095562314">This parameter is alternative to <strong id="as_06_0101__b84235270610186">lbaas_listeners</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row1872231185115"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p197228111512">lbaas_listeners</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p19722611145120">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p1393644073714">Array of <a href="#as_06_0101__table154023755417">lbaas_listeners</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p172210118517">Specifies information about a load balancer. You can add up to six load balancers. This parameter is in list data structure. For details, see <a href="#as_06_0101__table154023755417">Table 3</a>. </p>
|
|
<p id="as_06_0101__p1772211115117">This parameter is alternative to <strong id="as_06_0101__b1618000600">lb_listener_id</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row16722211115118"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p57221411125116">available_zones</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p67221511135117">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p117221011175115">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p3722181114516">Specifies the AZ information. The instances added in a scaling action will be created in a specified AZ. If you do not specify an AZ, the system automatically specifies one. For details, see <a href="https://docs.otc.t-systems.com/en-us/endpoint/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row972281135114"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p87221811195114">networks</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p1446924373712">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p347824310372">Array of <a href="#as_06_0101__table16283330203725">networks</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p87221511205113">Specifies network information. You can select up to five subnets. The first subnet you select is used by the primary NICs of ECSs by default. For the information about the data structure, see <a href="#as_06_0101__table16283330203725">Table 4</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row972231195110"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p272271125110">security_groups</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p872212119515">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p5722151135117">Array of <a href="#as_06_0101__table25481545203427">security_groups</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p1272251135116">Specifies the security group information. Only one security group can be selected. For the information about the data structure, see <a href="#as_06_0101__table25481545203427">Table 6</a>.</p>
|
|
<p id="as_06_0101__p17221511155111">If a security group is specified both in the AS configuration and the AS group, scaled-out instances will be added to the security group specified in the AS configuration. If a security group is not specified in either of them, scaled-out instances will be added to the default security group. For your convenience, specify a security group in the AS configuration.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row77231111185119"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p177221911175110">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p2722511175113">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p157231611125114">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p1723811115118">Specifies the VPC ID, which can be obtained using the API for querying VPCs. For details, see "Querying VPCs" in <em id="as_06_0101__i7422111614">Virtual Private Network API Reference</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row15723111165117"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p772361185111">health_periodic_audit_method</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p7723181111516">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p472391175111">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p672313117518">Specifies the health check method for instances in the AS group. The health check methods include <strong id="as_06_0101__b582845796161238">ELB_AUDIT</strong> and <strong id="as_06_0101__b1838261513161238">NOVA_AUDIT</strong>. When load balancing is configured for an AS group, the default value is <strong id="as_06_0101__b54238969164029">ELB_AUDIT</strong>. Otherwise, the default value is <strong id="as_06_0101__b3204131913359">NOVA_AUDIT</strong>.</p>
|
|
<ul id="as_06_0101__ul27231211175112"><li id="as_06_0101__li672361165117"><strong id="as_06_0101__b622874993161245">ELB_AUDIT</strong>: indicates the ELB health check, which takes effect in an AS group with a listener.</li><li id="as_06_0101__li12723111175115"><strong id="as_06_0101__b842352706154542">NOVA_AUDIT</strong>: indicates the ECS instance health check, which is the health check method that comes with AS.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row5724311175118"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p1072314114512">health_periodic_audit_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p13724171120513">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p14724111135119">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p187241111205115">Specifies the health check interval. The value can be <strong id="as_06_0101__b93456224220">1</strong>, <strong id="as_06_0101__b83541247429">5</strong>, <strong id="as_06_0101__b142305794212">15</strong>, <strong id="as_06_0101__b3558111154213">60</strong>, or <strong id="as_06_0101__b22555162429">180</strong> in the unit of minutes. If this parameter is not specified, the default value is <strong id="as_06_0101__b1088514499417">5</strong>.</p>
|
|
<p id="as_06_0101__p157241911135110">If the value is set to <strong id="as_06_0101__b78041444104211">0</strong>, health check is performed every 10 seconds.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row13726191118514"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p19724611205116">health_periodic_audit_grace_period</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p8724181105110">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p17241711185115">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p20726151117518">Specifies the grace period for instance health check. The unit is second and the value ranges from <strong id="as_06_0101__b19307187154020">0</strong> to <strong id="as_06_0101__b1211191119402">86400</strong>. The default value is <strong id="as_06_0101__b842352706154816">600</strong>.</p>
|
|
<p id="as_06_0101__p4726511155112">The health check grace period starts after an instance is added to an AS group and is enabled. The AS group will start checking the instance health only after the grace period ends.</p>
|
|
<p id="as_06_0101__p9726131185116">This parameter is valid only when the instance health check method of the AS group is <strong id="as_06_0101__b842352706155131">ELB_AUDIT</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row3726411195112"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p10726161195118">instance_terminate_policy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p7726111175114">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p672601119519">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p1472612119514">Specifies the instance removal policy.</p>
|
|
<ul id="as_06_0101__ul137261112513"><li id="as_06_0101__li9796155931512"><strong id="as_06_0101__b34422810171421">OLD_CONFIG_OLD_INSTANCE</strong> (default): The earlier-created instances based on the earlier-created AS configurations are removed first.</li><li id="as_06_0101__li37261111155117"><strong id="as_06_0101__b50659714162554">OLD_CONFIG_NEW_INSTANCE</strong>: The later-created instances based on the earlier-created AS configurations are removed first.</li><li id="as_06_0101__li87269113513"><strong id="as_06_0101__b4987808161754">OLD_INSTANCE</strong>: The earlier-created instances are removed first.</li><li id="as_06_0101__li1672616118519"><strong id="as_06_0101__b3854286164722">NEW_INSTANCE</strong>: The later-created instances are removed first.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row19727511155112"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p11726101115511">notifications</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p8726181165110">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p147271311155118">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p3727181125117">Specifies the notification mode.</p>
|
|
<p id="as_06_0101__p7727611125118"><strong id="as_06_0101__b27819784164749">EMAIL</strong> refers to notification by email.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row272741165118"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p167274119512">delete_publicip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p5727131117518">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p5727111119516">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><div class="p" id="as_06_0101__p1063119062315">Specifies whether to delete the EIPs bound to ECS instances when the instances are removed from the AS group during scale-in actions. The value can be <strong id="as_06_0101__b842352706184734">true</strong> or <strong id="as_06_0101__b842352706184738">false</strong>. The default value is <strong id="as_06_0101__b842352706184742">false</strong>.<ul id="as_06_0101__ul4934185211225"><li id="as_06_0101__li512171321915"><strong id="as_06_0101__b842352706161021">true</strong>: The EIPs bound to ECSs will be released when the ECSs are removed. </li><li id="as_06_0101__li3121013141913"><strong id="as_06_0101__b581811527596">false</strong>: The EIPs bound to ECSs will be unbound but will not be released when the ECSs are removed.</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row1920147191919"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p2120131361912">delete_volume</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p312016138190">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p4120111317191">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><div class="p" id="as_06_0101__p108891816236">Specifies whether to delete the data disks attached to ECS instances when the instances are removed from the AS group during scale-in actions. The value can be <strong id="as_06_0101__b623515774">true</strong> or <strong id="as_06_0101__b1252307744">false</strong>. The default value is <strong id="as_06_0101__b979293205">false</strong>.<ul id="as_06_0101__ul0854204462211"><li id="as_06_0101__li772761115510"><strong id="as_06_0101__b228700359">true</strong>: The data disks attached to ECSs will be released when the ECSs are removed. </li><li id="as_06_0101__li1185444472218"><strong id="as_06_0101__b14499165285311">false</strong>: The data disks attached to ECSs will be detached but will not be released when the ECSs are removed.</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row18728211195118"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p13727171115114">enterprise_project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p8727121120518">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p10727111195110">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p117281711175115">Specifies the enterprise project ID, which is used to specify the enterprise project to which the AS group belongs.</p>
|
|
<ul id="as_06_0101__ul381025535013"><li id="as_06_0101__li178101655185018">If the value is <strong id="as_06_0101__b842352706111949">0</strong> or left blank, the AS group belongs to the default enterprise project.</li><li id="as_06_0101__li1810125518501">If the value is a UUID, the AS group belongs to the enterprise project corresponding to the UUID..</li></ul>
|
|
<p id="as_06_0101__p87281211175111">If an enterprise project is configured for an AS group, ECSs created in this AS group also belong to this enterprise project. Otherwise, the default enterprise project will be used.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row54865725419"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p249115717542">multi_az_priority_policy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p13511912195520">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p1551121275510">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p25111112195515">Specifies the priority policy used to select target AZs when adjusting the number of instances in an AS group.</p>
|
|
<ul id="as_06_0101__ul0511201275510"><li id="as_06_0101__li1751117125552"><strong id="as_06_0101__b1679111149568">EQUILIBRIUM_DISTRIBUTE</strong> (default): When AS scales out the AS group, it preferentially distributes instances evenly across AZs in the <strong id="as_06_0101__b8719121212126">available_zones</strong> list. If it fails in the target AZ, it selects another AZ based on the <strong id="as_06_0101__b10812013151319">PICK_FIRST</strong> policy.</li><li id="as_06_0101__li1751111211557"><strong id="as_06_0101__b695074451311">PICK_FIRST</strong>: When AS scales out the AS group, the target AZ is determined in the order in the <strong id="as_06_0101__b9352143919184">available_zones</strong> list.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row1748135552513"><td class="cellrowborder" valign="top" width="19.801980198019802%" headers="mcps1.3.3.2.2.5.1.1 "><p id="as_06_0101__p7501355122517">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.792079207920793%" headers="mcps1.3.3.2.2.5.1.2 "><p id="as_06_0101__p1504555257">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.3.2.2.5.1.3 "><p id="as_06_0101__p6506558259">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.554455445544555%" headers="mcps1.3.3.2.2.5.1.4 "><p id="as_06_0101__p3501755202518">Specifies the description of the AS group. The value can contain 1 to 256 characters.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0101__table154023755417"></a><a name="table154023755417"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0101__table154023755417" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="as_06_0101__b6699296094725">lbaas_listeners</strong> field description</caption><thead align="left"><tr id="as_06_0101__row174011876548"><th align="left" class="cellrowborder" valign="top" width="20.202020202020204%" id="mcps1.3.3.3.2.5.1.1"><p id="as_06_0101__p164014710549">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.21212121212121%" id="mcps1.3.3.3.2.5.1.2"><p id="as_06_0101__p7401577544">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.141414141414144%" id="mcps1.3.3.3.2.5.1.3"><p id="as_06_0101__p104016716548">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.44444444444445%" id="mcps1.3.3.3.2.5.1.4"><p id="as_06_0101__p174015735419">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0101__row164021277541"><td class="cellrowborder" valign="top" width="20.202020202020204%" headers="mcps1.3.3.3.2.5.1.1 "><p id="as_06_0101__p34019719547">pool_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.3.3.2.5.1.2 "><p id="as_06_0101__p8401167115418">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.3.3.2.5.1.3 "><p id="as_06_0101__p18402107195416">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.44444444444445%" headers="mcps1.3.3.3.2.5.1.4 "><p id="as_06_0101__p64020713547">Specifies the backend server group ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row1340215715415"><td class="cellrowborder" valign="top" width="20.202020202020204%" headers="mcps1.3.3.3.2.5.1.1 "><p id="as_06_0101__p19402777542">protocol_port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.3.3.2.5.1.2 "><p id="as_06_0101__p740297195419">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.3.3.2.5.1.3 "><p id="as_06_0101__p04022078549">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.44444444444445%" headers="mcps1.3.3.3.2.5.1.4 "><p id="as_06_0101__p114021472547">Specifies the port configured for the backend server group, which is the port on which a backend server listens for traffic. The port ranges from 1 to 65535.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row124029745419"><td class="cellrowborder" valign="top" width="20.202020202020204%" headers="mcps1.3.3.3.2.5.1.1 "><p id="as_06_0101__p14023716543">weight</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.3.3.2.5.1.2 "><p id="as_06_0101__p134021778545">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.141414141414144%" headers="mcps1.3.3.3.2.5.1.3 "><p id="as_06_0101__p1940213711546">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.44444444444445%" headers="mcps1.3.3.3.2.5.1.4 "><p id="as_06_0101__p34021974545">Specifies the weight, which determines the percentage of requests a backend server processes. The value of this parameter ranges from <strong id="as_06_0101__b122574085513">0</strong> to <strong id="as_06_0101__b149871138557">100</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0101__table16283330203725"></a><a name="table16283330203725"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0101__table16283330203725" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="as_06_0101__b1512161253812">networks</strong> field description</caption><thead align="left"><tr id="as_06_0101__r9061055fab7042ad84743683a2b5b98d"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="as_06_0101__a679fce5df7a14f22afdcfabeadfa041d">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.3.4.2.5.1.2"><p id="as_06_0101__p41814948203944">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.4.2.5.1.3"><p id="as_06_0101__a2c0586869bf949e6af882694148874ed">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44%" id="mcps1.3.3.4.2.5.1.4"><p id="as_06_0101__a4774d878ba474479ad17a6d04d9c0b6e">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0101__r801df159f0ca4d40b2c4abcd91800eee"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="as_06_0101__af56439ac85cc4740ac47a13abbb60fba">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.4.2.5.1.2 "><p id="as_06_0101__p31567631203944">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.3 "><p id="as_06_0101__ad129d99902cf4f55a062dafa6c161407">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.3.4.2.5.1.4 "><p id="as_06_0101__aba9652e07bf34af0a26c153ea5d73d9d">Specifies the subnet ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row1684516191189"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="as_06_0101__p168461419171814">ipv6_enable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.4.2.5.1.2 "><p id="as_06_0101__p8846141981812">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.3 "><p id="as_06_0101__p128463194182">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.3.4.2.5.1.4 "><p id="as_06_0101__p204521031173520">Specifies whether to support IPv6 addresses.</p>
|
|
<p id="as_06_0101__p517418420358"><strong id="as_06_0101__b28331146153114">true</strong>: indicates that the NIC supports IPv6 addresses.</p>
|
|
<p id="as_06_0101__p1869495520194"><strong id="as_06_0101__b84235270616345">false</strong>: indicates that the NIC does not support IPv6 addresses. The default value is <strong id="as_06_0101__b842352706145544">false</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row4543172218186"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="as_06_0101__p205431522101813">ipv6_bandwidth</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.4.2.5.1.2 "><p id="as_06_0101__p14543172281814">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.5.1.3 "><p id="as_06_0101__p19543152215187"><a href="#as_06_0101__table389911412219">ipv6_bandwidth</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.3.4.2.5.1.4 "><p id="as_06_0101__p18543162219184">Specifies the shared bandwidth of an IPv6 address. This parameter is left blank by default, indicating that no shared IPv6 bandwidth is bound.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0101__table389911412219"></a><a name="table389911412219"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0101__table389911412219" frame="border" border="1" rules="all"><caption><b>Table 5 </b><strong id="as_06_0101__b125161657102815">ipv6_bandwidth</strong> field description</caption><thead align="left"><tr id="as_06_0101__row20900154152115"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="as_06_0101__p18442811162111">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.3.5.2.5.1.2"><p id="as_06_0101__p7445191111217">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.5.2.5.1.3"><p id="as_06_0101__p444917113212">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44%" id="mcps1.3.3.5.2.5.1.4"><p id="as_06_0101__p164521211182118">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0101__row5901164192114"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="as_06_0101__p109011143210">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.5.2.5.1.2 "><p id="as_06_0101__p59010416217">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.5.2.5.1.3 "><p id="as_06_0101__p17901164192117">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.3.5.2.5.1.4 "><p id="as_06_0101__p18389161592217">Specifies the ID of the shared bandwidth of an IPv6 address.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="as_06_0101__p19997203118505"></p>
|
|
|
|
<div class="tablenoborder"><a name="as_06_0101__table25481545203427"></a><a name="table25481545203427"></a><table cellpadding="4" cellspacing="0" summary="" id="as_06_0101__table25481545203427" frame="border" border="1" rules="all"><caption><b>Table 6 </b><strong id="as_06_0101__b71174449259">security_groups</strong> field description</caption><thead align="left"><tr id="as_06_0101__r0cd4feaf0dd34dbea5d88f1e2b5e52de"><th align="left" class="cellrowborder" valign="top" width="19.607843137254903%" id="mcps1.3.3.7.2.5.1.1"><p id="as_06_0101__adb89aff830c241f1a8ba24a05025ec7d">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.588235294117645%" id="mcps1.3.3.7.2.5.1.2"><p id="as_06_0101__p62623656203950">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.686274509803921%" id="mcps1.3.3.7.2.5.1.3"><p id="as_06_0101__a5a70f90bbb614578b2e69d51730603b8">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.11764705882353%" id="mcps1.3.3.7.2.5.1.4"><p id="as_06_0101__a984b04e2931047e2ab76977321772cc5">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0101__rd4f0b565f1b44c55a666b8609ebaf71a"><td class="cellrowborder" valign="top" width="19.607843137254903%" headers="mcps1.3.3.7.2.5.1.1 "><p id="as_06_0101__a333dfdd572ba4d87b073ffdf4f5fa7c3">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.588235294117645%" headers="mcps1.3.3.7.2.5.1.2 "><p id="as_06_0101__p39351407203950">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.686274509803921%" headers="mcps1.3.3.7.2.5.1.3 "><p id="as_06_0101__a59b78bb0a82c4f1c897a4180831bc790">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.11764705882353%" headers="mcps1.3.3.7.2.5.1.4 "><p id="as_06_0101__a36b8ec84f3b34629ae6133fec28f88fd">Specifies the security group ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="as_06_0101__section19202917122316"><h4 class="sectiontitle">Example Request</h4><p id="as_06_0101__p18953194116237">This example creates an AS group with the name <strong id="as_06_0101__b134314521966">GroupNameTest</strong>, the AS configuration ID <strong id="as_06_0101__b18001713977">47683a91-93ee-462a-a7d7-484c006f4440</strong>, the VPC ID <strong id="as_06_0101__b395402912718">a8327883-6b07-4497-9c61-68d03ee193a</strong>, the NIC ID <strong id="as_06_0101__b6542114014714">3cd35bca-5a10-416f-8994-f79169559870</strong>, the maximum number of instances of <strong id="as_06_0101__b1873461871">10</strong>, the expected number of instances of <strong id="as_06_0101__b194211503715">0</strong>, the minimum number of instances of <strong id="as_06_0101__b141710545714">0</strong>, and the health check method of <strong id="as_06_0101__b19743111581">ECS</strong> health check, and the multi-AZ scaling policy of <strong id="as_06_0101__b1837316511816">PICK_FIRST</strong>.</p>
|
|
</div>
|
|
<pre class="screen" id="as_06_0101__screen1542017236404">{
|
|
"scaling_group_name": "GroupNameTest",
|
|
"scaling_configuration_id": "47683a91-93ee-462a-a7d7-484c006f4440",
|
|
"desire_instance_number": 0,
|
|
"min_instance_number": 0,
|
|
"max_instance_number": 10,
|
|
"health_periodic_audit_method": "NOVA_AUDIT",
|
|
"vpc_id": "a8327883-6b07-4497-9c61-68d03ee193a",
|
|
"available_zones": ["XXXa","XXXb"],
|
|
"networks": [
|
|
{
|
|
"id": "3cd35bca-5a10-416f-8994-f79169559870"
|
|
}
|
|
],
|
|
"enterprise_project_id":"c92b1a5d-6f20-43f2-b1b7-7ce35e58e413",
|
|
"multi_az_priority_policy":"PICK_FIRST"
|
|
}</pre>
|
|
<div class="section" id="as_06_0101__section53291640"><h4 class="sectiontitle">Response</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0101__table187606212210" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response parameters</caption><thead align="left"><tr id="as_06_0101__row07608232110"><th align="left" class="cellrowborder" valign="top" width="23.07%" id="mcps1.3.6.2.2.4.1.1"><p id="as_06_0101__p107601628217">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.04%" id="mcps1.3.6.2.2.4.1.2"><p id="as_06_0101__p15760102102117">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.88999999999999%" id="mcps1.3.6.2.2.4.1.3"><p id="as_06_0101__p1976062152119">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0101__row076013214211"><td class="cellrowborder" valign="top" width="23.07%" headers="mcps1.3.6.2.2.4.1.1 "><p id="as_06_0101__p107601025216">scaling_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.04%" headers="mcps1.3.6.2.2.4.1.2 "><p id="as_06_0101__p11760192132118">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.88999999999999%" headers="mcps1.3.6.2.2.4.1.3 "><p id="as_06_0101__p276032192116">Specifies the AS group ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="as_06_0101__section201911821102417"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="as_06_0101__screen143385692342">{
|
|
"scaling_group_id": "a8327883-6b07-4497-9c61-68d03ee193a1"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="as_06_0101__section9862716"><h4 class="sectiontitle">Returned Values</h4><ul id="as_06_0101__ul39775908"><li id="as_06_0101__li22438859">Normal<p id="as_06_0101__p623145"><a name="as_06_0101__li22438859"></a><a name="li22438859"></a>200</p>
|
|
</li><li id="as_06_0101__li5608311">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="as_06_0101__table50474807" frame="border" border="1" rules="all"><thead align="left"><tr id="as_06_0101__row48020839"><th align="left" class="cellrowborder" valign="top" width="32.33%" id="mcps1.3.8.2.2.1.1.3.1.1"><p id="as_06_0101__p64482741">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="67.67%" id="mcps1.3.8.2.2.1.1.3.1.2"><p id="as_06_0101__p55719536">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="as_06_0101__row16988543"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p33894731">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p61118651">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row13196948"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p62319862">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p14744048">You must enter the username and password to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row65587574"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p10993288">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p18041159">You are forbidden to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row28152706"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p65776751">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p26316604">The server could not find the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row35522846"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p58778271">405 Method Not Allowed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p63419476">You are not allowed to use the method specified in the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row33904373"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p61899732">406 Not Acceptable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p47822428">The response generated by the server could not be accepted by the client.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row27748670"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p33049813">407 Proxy Authentication Required</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p59789225">You must use the proxy server for authentication to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row1232117"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p32692654">408 Request Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p30859352">The request timed out.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row9298719"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p14998773">409 Conflict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p6941071">The request could not be processed due to a conflict.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row62469641"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p26876165">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p29485753">Failed to complete the request because of an internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row64045192"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p20278084">501 Not Implemented</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p31912141">Failed to complete the request because the server does not support the requested function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row18773818"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p44284256">502 Bad Gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p30254983">Failed to complete the request because the request is invalid.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row3859394"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p44175501">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p21445804">Failed to complete the request because the system is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="as_06_0101__row58794511"><td class="cellrowborder" valign="top" width="32.33%" headers="mcps1.3.8.2.2.1.1.3.1.1 "><p id="as_06_0101__p64734920">504 Gateway Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="67.67%" headers="mcps1.3.8.2.2.1.1.3.1.2 "><p id="as_06_0101__p9037129">A gateway timeout error occurred.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="as_06_0101__section17669131616110"><h4 class="sectiontitle">Error Codes</h4><p id="as_06_0101__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_0100.html">AS Groups</a></div>
|
|
</div>
|
|
</div>
|
|
|