DescribeDBZoneConfig

Last updated: 2020-12-09 18:30:05

1. API Description

Domain name for API request: cdb.tencentcloudapi.com.

This API (DescribeDBZoneConfig) is used to query the specifications of TencentDB instances purchasable in a region.

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 parameter. The value used for this API: DescribeDBZoneConfig.
Version Yes String Common parameter. The value used for this API: 2017-03-20.
Region No String Common parameter. This parameter is not required for this API.

3. Output Parameters

Parameter Name Type Description
TotalCount Integer Number of configurations in purchasable regions
Items Array of RegionSellConf Details of configurations in purchasable regions
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Querying the purchasable TencentDB specifications

Input Example

https://cdb.tencentcloudapi.com/?Action=DescribeDBZoneConfig
&<Common request parameters>

Output Example

{
  "Response": {
    "TotalCount": 2,
    "Items": [
      {
        "RegionName": "Guangzhou",
        "Area": "South China",
        "IsDefaultRegion": 0,
        "Region": "ap-guangzhou",
        "ZonesConf": [
          {
            "Status": 1,
            "ZoneName": "Guangzhou Zone 2",
            "IsCustom": true,
            "IsSupportDr": true,
            "IsSupportRemoteRo": true,
            "IsSupportVpc": true,
            "HourInstanceSaleMaxNum": 100,
            "IsDefaultZone": false,
            "IsBm": false,
            "PayType": [
              "0",
              "1",
              "2"
            ],
            "DrZone": [
              "ap-shanghai-1",
              "ap-shanghai-2",
              "ap-shanghai-3",
              "ap-shanghai-4",
              "ap-beijing-1",
              "ap-beijing-2",
              "ap-beijing-3",
              "ap-beijing-4",
              "ap-guangzhou-open-1",
              "ap-guangzhou-3",
              "ap-guangzhou-4",
              "ap-chengdu-1",
              "ap-chengdu-2",
              "ap-chongqing-1",
              "na-ashburn-1",
              "ap-nanjing-1"
            ],
            "RemoteRoZone": [
              "ap-shanghai-2",
              "ap-hongkong-2"
            ],
            "ProtectMode": [
              "0",
              "1",
              "2"
            ],
            "ZoneConf": {
              "DeployMode": [
                0,
                1
              ],
              "MasterZone": [
                "ap-guangzhou-2"
              ],
              "SlaveZone": [
                "ap-guangzhou-2",
                "ap-guangzhou-3"
              ],
              "BackupZone": [
                "ap-guangzhou-2",
                "ap-guangzhou-3"
              ]
            },
            "Zone": "ap-guangzhou-2",
            "SellType": [
              {
                "TypeName": "Z3",
                "EngineVersion": [
                  "5.5",
                  "5.6",
                  "5.7",
                  "8.0"
                ],
                "Configs": [
                  {
                    "Device": "Z3",
                    "Type": "High-Availability Edition",
                    "CdbType": "CUSTOM",
                    "Memory": 1000,
                    "Cpu": 1,
                    "VolumeMin": 25,
                    "VolumeMax": 3000,
                    "VolumeStep": 5,
                    "Connection": 600,
                    "Qps": 1000,
                    "Iops": 900,
                    "Info": "Small-scale game apps with tens of thousands of DAUs or widget apps with millions of DAUs",
                    "Status": 0,
                    "Tag": 0
                  },
                  {
                    "Device": "Z3",
                    "Type": "High-Availability Edition",
                    "CdbType": "CUSTOM",
                    "Memory": 2000,
                    "Cpu": 1,
                    "VolumeMin": 25,
                    "VolumeMax": 3000,
                    "VolumeStep": 5,
                    "Connection": 1000,
                    "Qps": 2400,
                    "Iops": 1500,
                    "Info": "Small-scale game apps with tens of thousands of DAUs or widget apps with millions of DAUs",
                    "Status": 0,
                    "Tag": 0
                  },
                  {
                    "Device": "Z3",
                    "Type": "High-Availability Edition",
                    "CdbType": "CUSTOM",
                    "Memory": 4000,
                    "Cpu": 2,
                    "VolumeMin": 25,
                    "VolumeMax": 3000,
                    "VolumeStep": 5,
                    "Connection": 1500,
                    "Qps": 4400,
                    "Iops": 3000,
                    "Info": "Medium-scale game apps with hundreds of thousands of DAUs",
                    "Status": 0,
                    "Tag": 0
                  },
                  {
                    "Device": "Z3",
                    "Type": "High-Availability Edition",
                    "CdbType": "CUSTOM",
                    "Memory"<