DescribeCvmZoneInstanceConfigInfos

Last updated: 2019-07-08 20:38:15

1. API Description

API request domain name: batch.tencentcloudapi.com.

This API is used to get model configuration information of the availability zone of Batch

Default API request frequency limit: 2 times/second.

2. Input Parameters

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

Parameter name Required Type Description
Action Yes String Common parameter; the value for this API: DescribeCvmZoneInstanceConfigInfos
Version Yes String Common parameter; the value for this API: 2017-03-12
Region Yes String Common parameters; for details, see the Region List supported by the product.
Filters No Filter Filters

3. Output Parameters

Parameter name Type Description
InstanceTypeQuotaSet Array of InstanceTypeQuotaItem List of model configurations in the availability zone.
RequestId String The unique request ID which is returned for each request. The RequestId for the current request needs to be provided when troubleshooting.

4. Examples

Example 1. Viewing Configuration Information of Postpaid Models in Chongqing Zone 1

Input

https://batch.tencentcloudapi.com/?Action=DescribeCvmZoneInstanceConfigInfos
&Filters.0.Name=zone
&Filters.0.Values.0=ap-chongqing-1
&Filters.1.Name=instance-charge-type
&Filters.1.Values.0=POSTPAID_BY_HOUR
&<Common request parameter>

Output

{
  "Response": {
    "InstanceTypeQuotaSet": [
      {
        "Cpu": 1,
        "Externals": {},
        "InstanceChargeType": "POSTPAID_BY_HOUR",
        "InstanceFamily": "S3",
        "InstanceQuota": 1999,
        "InstanceType": "S3.SMALL1",
        "LocalDiskTypeList": [],
        "Memory": 1,
        "NetworkCard": 0,
        "Price": {
          "ChargeUnit": "HOUR",
          "UnitPrice": 0.18
        },
        "Status": "SELL",
        "TypeName": "Standard S3",
        "Zone": "ap-chongqing-1"
      },
      {
        "Cpu": 1,
        "Externals": {},
        "InstanceChargeType": "POSTPAID_BY_HOUR",
        "InstanceFamily": "S3",
        "InstanceQuota": 1999,
        "InstanceType": "S3.SMALL2",
        "LocalDiskTypeList": [],
        "Memory": 2,
        "NetworkCard": 0,
        "Price": {
          "ChargeUnit": "HOUR",
          "UnitPrice": 0.26
        },
        "Status": "SELL",
        "TypeName": "Standard S3",
        "Zone": "ap-chongqing-1"
      }
    ],
    "RequestId": "2fba5b9c-e4ee-47ad-a776-dabb79ff2c35"
  }
}

5. Developer Resources

It is recommended to use API 3.0 Explorer. This tool provides various capabilities such as online debugging, signature verification, SDK code generation and quick API retrieval that significantly reduce the difficulty of using cloud APIs.

Cloud API 3.0 comes with a set of complementary development tools that make it easier to call the API.

6. Error Codes

Only the error codes related to this API are listed below. For other error codes, see Common Error Codes.

Error Code Description
InternalError Internal error
InvalidFilter The specified filter is not supported.
InvalidParameterValue Invalid parameter value.
InvalidParameterValue.LimitExceeded The number of Filter parameter values exceeds the limit.
InvalidParameterValue.UnsupportedBatchInstanceChargeType Model billing type not supported by Batch.
InvalidZone.MismatchRegion The specified zone does not exist.