API Overview

<table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td> <p><strong>API</strong></p> </td> <td> <p><strong>Description</strong></p> </td> </tr> <tr> <td> <p>AddVmToScalingGroup</p> </td> <td> <p>Manually add ECS into the scaling group (1) to check whether the ECS can join the scaling group, whether it is in the same vpc, region, and available area, and whether it exceeds the maximum number of ECS instances. Besides that the status of both the ECS and the scaling group must be Running (2) only if there is a health problem the instance will remove scaling groups, modify configuration, schedule tasks and alert tasks. Manually added ECS which participate only in counting will not be removed.</p> </td> </tr> <tr> <td> <p>CreateAutoScalingAlarmTask</p> </td> <td> <p>Creating alarm tasks for Scaling groups is to monitor the performance of ECS such as cpu.busy. Users need to set monitoring items, monitoring functions, alarm times, alarm threshold, and scaling rules. When the alarm task is triggered, the scaling group will scale according to the current scaling rules.</p> </td> </tr> <tr> <td> <p>CreateAutoScalingGroup</p> </td> <td> <p>Creating a scaling group requires setting up ELB, <a href="http://dict.youdao.com/w/monitor/#keyfrom=E2Ctranslation">listener</a>, minimum and maximum instance number, &nbsp;quit policies, etc. ELB and listener provide the data sources for health checks. The minimum and maximum instance number specify the instance scope of the ECS scaling groups. Quit policies: the way of the ECS quit from scaling groups during scaling activities.</p> </td> </tr> <tr> <td> <p>CreateAutoScalingGroupConfig</p> </td> <td> <p>Creating configuration for the scaling groups. When a scaling group is triggered to conducting scaling activities, an ECS is created on the bases of the scaling group configuration and is defined in it.</p> </td> </tr> <tr> <td> <p>CreateAutoScalingRule</p> </td> <td> <p>Creating scaling rules: when creating alarm tasks and timed tasks, and when the task performing scaling groups uses this group to scale, scaling rules are needed</p> </td> </tr> <tr> <td> <p>CreateAutoScalingScheduledTask</p> </td> <td> <p>Creating scheduled tasks for scaling groups: If scaling groups are configured with scheduled tasks, they will perform tasks according to the scaling rules.</p> </td> </tr> <tr> <td> <p>DeleteAutoScalingAlarmTask</p> </td> <td> <p>Delete alarm tasks of the scaling groups.</p> </td> </tr> <tr> <td> <p>DeleteAutoScalingGroup</p> </td> <td> <p>The action of deleting scaling group. Prerequisite of deleting: Only stopped Status scaling group can conduct this action. Process of deleting: (1) Remove ECS from the ELB resource pool (2) Set the enableFlag of the corresponding ECS in ASGroupInstance to 0 (3) Set the configuration status of the scaling groups configuration to InActive (4) Delete listener on the scaling group.</p> </td> </tr> <tr> <td> <p>DeleteAutoScalingGroupScheduledTask</p> </td> <td> <p>Delete scheduled tasks of the scaling groups.</p> </td> </tr> <tr> <td> <p>DeleteAutoScalingRule</p> </td> <td> <p>Delete scaling rules. Prerequisite: Scaling rules are not referenced by scheduled tasks or alarm tasks.</p> </td> </tr> <tr> <td> <p>GetAutoScalingAlarmTask</p> </td> <td> <p>Obtain details about the elastic scaling alarm tasks.</p> </td> </tr> <tr> <td> <p>GetAutoScalingGroup</p> </td> <td> <p>Obtain details about scaling groups.</p> </td> </tr> <tr> <td> <p>GetAutoScalingGroupConfig</p> </td> <td> <p>Obtain configuration details about scaling groups.</p> </td> </tr> <tr> <td> <p>GetAutoScalingRule</p> </td> <td> <p>Obtain details about scaling rules.</p> </td> </tr> <tr> <td> <p>GetAutoScalingScheduledTask</p> </td> <td> <p>Obtain details about the scheduled tasks of scaling groups.</p> </td> </tr> <tr> <td> <p>ListASGroupInstances</p> </td> <td> <p>Obtain instance list of ECS in scaling groups.</p> </td> </tr> <tr> <td> <p>ListAutoScalingAlarmTasks</p> </td> <td> <p>Obtain alarm task list of scaling groups.</p> </td> </tr> <tr> <td> <p>ListAutoScalingGroupActives</p> </td> <td> <p>Obtain detailed list of scaling activities.</p> </td> </tr> <tr> <td> <p>ListAutoScalingGroupActivityDetail</p> </td> <td> <p>Present detailed list of scaling activities.</p> </td> </tr> <tr> <td> <p>ListAutoScalingGroups</p> </td> <td> <p>Obtain the list of scaling groups.</p> </td> </tr> <tr> <td> <p>ListAutoScalingRules</p> </td> <td> <p>Obtain the list of scaling rules.</p> </td> </tr> <tr> <td> <p>ListAutoScalingScheduledTasks</p> </td> <td> <p>Obtain the scheduled tasks list of scaling groups.</p> </td> </tr> <tr> <td> <p>ListAvailableInstances</p> </td> <td> <p>Query ECS list activating in scaling groups.</p> </td> </tr> <tr> <td> <p>StartAutoScalingGroup</p> </td> <td> <p>Start scaling groups.</p> </td> </tr> <tr> <td> <p>StopAutoScalingGroup</p> </td> <td> <p>Closing scaling groups refers to stop the tasks of groups and do nothing to ECS. (1) Closing the scaling group is permitted only when the status of group is at runningstatus mode (2) Before stopping the scaling activity ,you should check if there are any ECS is being added or being removed, and if so, do not stop the scaling group.</p> </td> </tr> <tr> <td> <p>UpdateAutoScalingAlarmTask</p> </td> <td> <p>Updating the alarm tasks of scaling groups.</p> </td> </tr> <tr> <td> <p>UpdateAutoScalingGroup</p> </td> <td> <p>Updating the configuration of scaling groups: 1. To determine whether the vm number of current scaling groups is greater than the maximum value after modification, if so, it is necessary to eliminate the excess and conduct according to the entry order of&nbsp; vm acquiescently; 2. To determine whether the vm number of current scalable group is less than the minimum value after modification, if so, it is necessary to increase the insufficient number of vm.</p> </td> </tr> <tr> <td> <p>UpdateAutoScalingGroupConfig</p> </td> <td> <p>Updating the configuration of scaling groups(1)Modifying of the back-end port and network are not allowed.</p> </td> </tr> <tr> <td> <p>UpdateAutoScalingGroupScheduledTask</p> </td> <td> <p>Updating elastic scheduled tasks of scaling groups.</p> </td> </tr> <tr> <td> <p>UpdateAutoScalingRule</p> </td> <td> <p>Updating scaling rules: there is no status for scaling rules, so every users can modify the scaling rules in any case.</p> </td> </tr> </tbody> </table>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products