Last updated: 2019-07-16 18:55:09

1. API Description

API request domain name:

This API (DescribeAccountLimits) describes Auto Scaling resource limits for the specified user account

Default API request frequency limit: 20 times/second.

Note: Because financial availability zones and non-financial availability zones are isolated. When specifying a financial availability zone (e.g., ap-shanghai-fsi) in the Region (a common parameter), you should also choose the financial availability zone preferably in the same region as that one specified in Region for the domain, such as

2. Input Parameters

The following parameters are required for requesting this API, including action-specific parameters and common parameters. For more information about common parameters for all requests, see Common Request Parameters.

Parameter name Required Type Description
Action Yes String Common parameter; the name of this API: DescribeAccountLimits
Version Yes String Common parameter; the version of this API: 2018-04-19
Region Yes String Common parameters; for details, see the Region List.

3. Output Parameters

Parameter name Type Description
MaxNumberOfLaunchConfigurations Integer Maximum number of launch configurations allowed to create in the user account
NumberOfLaunchConfigurations Integer Number of launch configurations in the user account
MaxNumberOfAutoScalingGroups Integer Maximum number of scaling groups allowed to create in the user account
NumberOfAutoScalingGroups Integer Current number of scaling groups in the user account
RequestId String The ID of the request. Each request returns a unique ID. The RequestId is required to troubleshoot issues

4. Sample

Querying the Limits for Launch Configuration and Scaling Group

Input Sample Code
&<Common request parameter>

Output Sample Code

    "Response": {
        "NumberOfLaunchConfigurations": 15,
        "MaxNumberOfLaunchConfigurations": 20,
        "NumberOfAutoScalingGroups": 25,
        "MaxNumberOfAutoScalingGroups": 30,
        "RequestId": "0c243e3a-70e0-4365-98b1-5fe22b4498a1"

5. Developer Resources

API Explorer

This tool provides various capabilities such as online call, signature verification, SDK code generation, and quick API retrieval that significantly reduce the difficulty of using TencentCloud API.


TencentCloud API 3.0 integrates software development toolkits (SDKs) that support various programming languages to make it easier for you to call the APIs.


6. Error Codes

The following error codes are API business logic-related. For other error codes, see Common Error Codes.

Error Code Description
InternalError Internal error