All Products
Search
Document Center

Auto Scaling:DescribeLimitation

Last Updated:Dec 17, 2024

Queries resource quotas. For example, you can call the DescribeLimitation operation to query the maximum numbers of scheduled tasks that you can create in a scaling group, load balancers that you can attach to a scaling group, instances that you can add to a scaling group, and scaling configurations that you can create in a scaling group.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ess:DescribeLimitationget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object
MaxNumberOfScheduledTasksinteger

The maximum number of scheduled tasks that can be created in a region by using an Alibaba Cloud account.

Note To view the quota or request a quota increase, go to Quota Center.
70
MaxNumberOfLoadBalancersinteger

The maximum number of Classic Load Balancer (CLB, formerly known as SLB) instances that can be associated with a scaling group.

Note To view the quota or request a quota increase, go to Quota Center.
30
MaxNumberOfMaxSizeinteger

The maximum number of instances that can be contained in a scaling group.

Note To view the quota or request a quota increase, go to Quota Center.
2000
MaxNumberOfAlbServerGroupinteger

The maximum number of Application Load Balancer (ALB) server groups that can be attached to a scaling group.

Note To view the quota or request a quota increase, go to Quota Center.
30
MaxNumberOfNlbServerGroupinteger

The maximum number of Network Load Balancer (NLB) server groups that can be attached to a scaling group.

Note To view the quota or request a quota increase, go to Quota Center.
30
MaxNumberOfDBInstancesinteger

The maximum number of ApsaraDB RDS instances that can be associated with a scaling group.

Note To view the quota or request a quota increase, go to Quota Center.
30
MaxNumberOfScalingConfigurationsinteger

The maximum number of scaling configurations that can be created in a scaling group.

Note To view the quota or request a quota increase, go to Quota Center.
70
MaxNumberOfMinSizeinteger

The minimum number of instances that must be contained in a scaling group. The value of MaxNumberOfMinSize must be consistent with the value of MaxNumberOfMaxSize.

2000
MaxNumberOfLifecycleHooksinteger

The maximum number of lifecycle hooks that can be created in a scaling group.

10
MaxNumberOfScalingInstancesinteger

The maximum number of Elastic Compute Service (ECS) instances or elastic container instances that can be automatically scaled in a scaling group at the same time.

500
MaxNumberOfScalingGroupsinteger

The maximum number of scaling groups that can be created in a region by using an Alibaba Cloud account.

Note To view the quota or request a quota increase, go to Quota Center.
200
RequestIdstring

The request ID.

BE9BEB41-E7B8-4C7D-A3CF-2DCB1066****
MaxNumberOfNotificationConfigurationsinteger

The maximum number of notification rules that can be created in a scaling group.

6
MaxNumberOfVServerGroupsinteger

The maximum number of CLB vServer groups that can be attached to a scaling group.

Note To view the quota or request a quota increase, go to Quota Center.
5
MaxNumberOfScalingRulesinteger

The maximum number of scaling rules that can be created in a scaling group.

Note To view the quota or request a quota increase, go to Quota Center.
70

Examples

Sample success responses

JSONformat

{
  "MaxNumberOfScheduledTasks": 70,
  "MaxNumberOfLoadBalancers": 30,
  "MaxNumberOfMaxSize": 2000,
  "MaxNumberOfAlbServerGroup": 30,
  "MaxNumberOfNlbServerGroup": 30,
  "MaxNumberOfDBInstances": 30,
  "MaxNumberOfScalingConfigurations": 70,
  "MaxNumberOfMinSize": 2000,
  "MaxNumberOfLifecycleHooks": 10,
  "MaxNumberOfScalingInstances": 500,
  "MaxNumberOfScalingGroups": 200,
  "RequestId": "BE9BEB41-E7B8-4C7D-A3CF-2DCB1066****",
  "MaxNumberOfNotificationConfigurations": 6,
  "MaxNumberOfVServerGroups": 5,
  "MaxNumberOfScalingRules": 70
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history