tencent cloud

APIs

DescribeInstanceTypes

Focus Mode
Font Size
Last updated: 2026-04-27 16:54:48

1. API Description

Domain name for API request: edgezone.intl.tencentcloudapi.com.

This API is used to query the model quota list under the account by availability zone dimensionality based on AppId. If a Zone is input, it returns the model quota under the designated availability zone. If not, it returns the model quota of all AZs under the account.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeInstanceTypes.
Version Yes String Common Params. The value used for this API: 2026-04-01.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
Zone No String Availability zone code, such as ap-guangzhou-1. If not passed, return models under the account in all AZs.

3. Output Parameters

Parameter Name Type Description
InstanceTypeQuotaSet Array of InstanceTypeQuota Model quota list.
TotalCount Integer Number of returned records.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Querying Account Model Quotas in the Specified Availability Zone

Query the quota list of available models for the current account in the specified availability zone.

Input Example

POST / HTTP/1.1
Host: edgezone.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeInstanceTypes
<Common request parameters>

{
    "Zone": "ap-guangzhou-1"
}

Output Example

{
    "Response": {
        "InstanceTypeQuotaSet": [
            {
                "Zone": "ap-guangzhou-1",
                "InstanceType": "BMS5.MEDIUM8",
                "InstanceFamily": "BM.S5",
                "CpuCores": 8,
                "CpuType": "6231C*2",
                "MemoryGb": 32,
                "SystemDiskType": "SSD",
                "SystemDiskSize": 480,
                "SystemDiskCount": 2,
                "DataDiskType": "SSD",
                "DataDiskSize": 960,
                "DataDiskCount": 4,
                "DiskType": "SSD-480G*2, SSD-960G*4",
                "NetworkInterfaceType": "25G*2",
                "GpuType": "",
                "Quota": 10
            }
        ],
        "TotalCount": 1,
        "RequestId": "eac6b301-a322-493a-8e36-83b295459397"
    }
}

Example2 Query account total availability zone model quota

If Zone is not specified, return the quota list of models in all AZs under the account.

Input Example

POST / HTTP/1.1
Host: edgezone.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeInstanceTypes
<Common request parameters>

{}

Output Example

{
    "Response": {
        "InstanceTypeQuotaSet": [
            {
                "Zone": "ap-guangzhou-1",
                "InstanceType": "BMS5.MEDIUM8",
                "InstanceFamily": "BM.S5",
                "CpuCores": 8,
                "CpuType": "6231C*2",
                "MemoryGb": 32,
                "SystemDiskType": "SSD",
                "SystemDiskSize": 480,
                "SystemDiskCount": 2,
                "DataDiskType": "SSD",
                "DataDiskSize": 960,
                "DataDiskCount": 4,
                "DiskType": "SSD-480G*2, SSD-960G*4",
                "NetworkInterfaceType": "25G*2",
                "GpuType": "",
                "Quota": 10
            },
            {
                "Zone": "ap-guangzhou-2",
                "InstanceType": "BMS5.LARGE16",
                "InstanceFamily": "BM.S5",
                "CpuCores": 16,
                "CpuType": "6231C*2",
                "MemoryGb": 64,
                "SystemDiskType": "SSD",
                "SystemDiskSize": 480,
                "SystemDiskCount": 2,
                "DataDiskType": "SSD",
                "DataDiskSize": 1920,
                "DataDiskCount": 4,
                "DiskType": "SSD-480G*2, SSD-1920G*4",
                "NetworkInterfaceType": "25G*2",
                "GpuType": "",
                "Quota": 0
            }
        ],
        "TotalCount": 2,
        "RequestId": "b5d7f3a2-c418-4b9e-9c72-4a1e6d3f8b90"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback