DescribeProductConfig

Last updated: 2020-09-04 09:38:03

1. API Description

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

This API is used to query the purchasable specification configuration.

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

Note: This API supports Finance regions. If the common parameter Region is a Finance region, a domain name with the Finance region needs to be specified, for example: postgres.ap-shanghai-fsi.tencentcloudapi.com

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: DescribeProductConfig.
Version Yes String Common parameter. The value used for this API: 2017-03-12.
Region Yes String Common parameter. For more information, please see the list of regions supported by the product.
Zone No String AZ name

3. Output Parameters

Parameter Name Type Description
SpecInfoList Array of SpecInfo Purchasable specification list.
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Querying purchasable specification information in a specified AZ of a specified region

Input Example

https://postgres.tencentcloudapi.com/?Action=DescribeProductConfig
&Zone=ap-guangzhou-2
&<common request parameters>

Output Example

{
  "Response": {
    "RequestId": "eaa0a364-08c9-42f6-888e-4e3b7e99b50d",
    "SpecInfoList": [
      {
        "Region": "ap-guangzhou",
        "Zone": "ap-guangzhou-2",
        "SpecItemInfoList": [
          {
            "SpecCode": "cdb.pg.z1.2g",
            "Version": "9.5.4",
            "VersionName": "PostgreSQL 9.5.4",
            "Cpu": 1,
            "Memory": 2048,
            "MaxStorage": 1000,
            "MinStorage": 10,
            "Qps": 2100,
            "pid": 11004
          },
          {
            "SpecCode": "cdb.pg.z1.2g",
            "Version": "9.3.5",
            "VersionName": "PostgreSQL 9.3.5",
            "Cpu": 1,
            "Memory": 2048,
            "MaxStorage": 1000,
            "MinStorage": 10,
            "Qps": 2100,
            "pid": 11004
          },
          {
            "SpecCode": "cdb.pg.z1.4g",
            "Version": "9.5.4",
            "VersionName": "PostgreSQL 9.5.4",
            "Cpu": 2,
            "Memory": 4096,
            "MaxStorage": 1000,
            "MinStorage": 10,
            "Qps": 4000,
            "pid": 11004
          },
          {
            "SpecCode": "cdb.pg.z1.4g",
            "Version": "9.3.5",
            "VersionName": "PostgreSQL 9.3.5",
            "Cpu": 2,
            "Memory": 4096,
            "MaxStorage": 1000,
            "MinStorage": 10,
            "Qps": 4000,
            "pid": 11004
          },
          {
            "SpecCode": "cdb.pg.z1.8g",
            "Version": "9.3.5",
            "VersionName": "PostgreSQL 9.3.5",
            "Cpu": 4,
            "Memory": 8192,
            "MaxStorage": 1000,
            "MinStorage": 10,
            "Qps": 6500,
            "pid": 11004
          },
          {
            "SpecCode": "cdb.pg.z1.8g",
            "Version": "9.5.4",
            "VersionName": "PostgreSQL 9.5.4",
            "Cpu": 4,
            "Memory": 8192,
            "MaxStorage": 1000,
            "MinStorage": 10,
            "Qps": 6500,
            "pid": 11004
          },
          {
            "SpecCode": "cdb.pg.z1.16g",
            "Version": "9.3.5",
            "VersionName": "PostgreSQL 9.3.5",
            "Cpu": 8,
            "Memory": 16384,
            "MaxStorage": 1000,
            "MinStorage": 10,
            "Qps": 16800,
            "pid": 11004
          },
          {
            "SpecCode": "cdb.pg.z1.16g",
            "Version": "9.5.4",
            "VersionName": "PostgreSQL 9.5.4",
            "Cpu": 8,
            "Memory": 16384,
            "MaxStorage": 1000,
            "MinStorage": 10,
            "Qps": 16800,
            "pid": 11004
          },
          {
            "SpecCode": "cdb.pg.z1.32g",
            "Version": "9.3.5",
            "VersionName": "PostgreSQL 9.3.5",
            "Cpu": 16,
            "Memory": 32768,
            "MaxStorage": 1000,
            "MinStorage": 10,
            "Qps": 23000,
            "pid": 11004
          },
          {
            "SpecCode": "cdb.pg.z1.32g",
            "Version": "9.5.4",
            "VersionName": "PostgreSQL 9.5.4",
            "Cpu": 16,
            "Memory": 32768,
            "MaxStorage": 1000,
            "MinStorage": 10,
            "Qps": 23000,
            "pid": 11004
          },
          {
            "SpecCode": "cdb.pg.z1.48g",
            "Version": "9.5.4",
            "VersionName": "PostgreSQL 9.5.4",
            "Cpu": 22,
            "Memory": 49152,
            "MaxStorage": 1000,
            "MinStorage": 10,
            "Qps": 36300,
            "pid": 11004
          },
          {
            "SpecCode": "cdb.pg.z1.48g",
            "Version": "9.3.5",
            "VersionName": "PostgreSQL 9.3.5",
            "Cpu": 22,
            "Memory": 49152,
            "MaxStorage": 1000,
            "MinStorage": 10,
            "Qps": 36300,
            "pid": 11004
          }
        ]
      }
    ]
  }
}

5. Developer Resources

API Explorer

This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.

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

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
AuthFailure.UnauthorizedOperation Authentication failed.
InternalError.DBError Backend database execution error.
InternalError.SystemError System error. When this error occurs, please contact customer service for assistance.
InternalError.UnknownError Unknown error. When this error occurs, please contact customer service for assistance.
InvalidParameter Invalid input parameter.
InvalidParameterValue.BadSpec The instance specification to upgrade to is not purchasable.
InvalidParameterValue.IllegalZone Invalid Zone parameter.

Was this page helpful?

Was this page helpful?

  • Not at all
  • Not very helpful
  • Somewhat helpful
  • Very helpful
  • Extremely helpful
Send Feedback
Help