Auto Scaling provides a wide range of API operations. The following tables list API operations of the 2014-08-28 version available for use in Auto Scaling.
Scaling group
API operation | Description |
Creates a scaling group. | |
Modifies a scaling group. | |
Enables a scaling group. | |
Disables a scaling group. | |
Enables or disables deletion protection for a scaling group. | |
Deletes a scaling group. | |
Queries scaling groups. | |
Queries the list of Elastic Compute Service (ECS) instances in a scaling group and collects the details about the instances. | |
Queries scaling activities. | |
Queries information about a scaling activity. | |
Queries information about resource quota. | |
Associates Server Load Balancer (SLB) instances with a scaling group. | |
Disassociates SLB instances from a scaling group. | |
Associates ApsaraDB RDS instances with a scaling group. | |
Disassociates ApsaraDB RDS instances from a scaling group. | |
Attachs vServer groups of an SLB instance to a scaling group. | |
Detaches vServer groups of an SLB instance from a scaling group. | |
Suspends specified processes in a scaling group. | |
Resumes suspended processes in a scaling group. | |
Associates Application Load Balancer (ALB) server groups with a scaling group. | |
Disassociates ALB server groups from a scaling group. | |
Attaches server groups to a scaling group. Note Auto Scaling supports the following types of server groups: ALB server groups and Network Load Balancer (NLB) server groups. | |
Detaches server groups from a scaling group. Note Auto Scaling supports the following types of server groups: ALB server groups and NLB server groups. | |
Adds a scaling group to a resource group. |
Scaling configuration
API operation | Description |
Creates a scaling configuration of the ECS type. | |
Queries scaling configurations of the ECS type. | |
Modifies a scaling configuration of the ECS type. | |
Deletes a scaling configuration of the ECS type. | |
Creates a scaling configuration of the Elastic Container Instance type. | |
Queries scaling configurations of the Elastic Container Instance type. | |
Modifies a scaling configuration of the Elastic Container Instance type. | |
Deletes a scaling configuration of the Elastic Container Instance type. |
Scaling rule
API operation | Description |
Creates a scaling rule. | |
Modifies a scaling rule. | |
Queries all scaling rules in a scaling group and collects information about the scaling rules. | |
Deletes a scaling rule. |
Scaling task
API operation | Description |
Executes a scaling rule. | |
Triggers a scaling activity based on a scaling rule. | |
Manually adds ECS instances or elastic container instances to a scaling group. | |
Deletes ECS instances or elastic container instances in a scaling group. | |
Removes ECS instances or elastic container instances from a scaling group. |
Scheduled task
API operation | Description |
Creates a scheduled task. | |
Modifies a scheduled task. | |
Queries scheduled tasks. | |
Deletes a scheduled task. |
Event-triggered task
API operation | Description |
Creates an event-triggered task. | |
Queries event-triggered tasks. | |
Modifies an event-triggered task. | |
Enables an event-triggered task. | |
Disables an event-triggered task. | |
Deletes an event-triggered task. |
Lifecycle hook
API operation | Description |
Creates lifecycle hooks for a scaling group. | |
Modifies a lifecycle hook. | |
Queries lifecycle hooks. | |
Extends the timeout period of an lifecycle hook. | |
Queries the lifecycle actions that correspond to a scaling activity. | |
Ends the timeout period of an lifecycle hook ahead of schedule. | |
Deletes a lifecycle hook. |
Notification rule
API operation | Description |
Creates a notification rule. | |
Deletes a notification rule. | |
Queries notification rules. | |
Queries the types of event notifications. | |
Modifies a notification rule. |
Instance
API operation | Description |
Puts an ECS instance into the Standby state. | |
Changes the state of an ECS instance from Standby to In Service. | |
Rebalances the distribution of ECS instances in a scaling group across multiple zones. | |
Puts or Removes an ECS instance into or out of the Protected state. | |
Enables health check for ECS instances in a scaling group. |
Region
API operation | Description |
Queries the regions in which Auto Scaling is available. |
Tag
API operation | Description |
Creates and adds tags to Auto Scaling resources. | |
Queries the tags that are added to Auto Scaling resources. | |
Removes tags from Auto Scaling resources. After you remove a tag that is not added to other resources, the tag is automatically deleted. | |
Queries the tag keys of Auto Scaling resources. | |
Queries the tag values of Auto Scaling resources. |