Domain name for API request: postgres.tencentcloudapi.com.
This API is used to query all parameters supported by a database version and engine.
A maximum of 1000 requests can be initiated per second for this API.
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: DescribeDefaultParameters. |
Version | Yes | String | Common Params. The value used for this API: 2017-03-12. |
Region | No | String | Common Params. This parameter is not required for this API. |
DBMajorVersion | Yes | String | The major database version number, such as 11, 12, 13. |
DBEngine | Yes | String | Database engine, such as postgresql, mssql_compatible. |
Parameter Name | Type | Description |
---|---|---|
TotalCount | Integer | Number of parameters |
ParamInfoSet | Array of ParamInfo | Parameter information Note: This field may return null, indicating that no valid values can be obtained. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: postgres.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeDefaultParameters
<Common request parameters>
{
"DBMajorVersion": "13",
"DBEngine": "postgresql"
}
{
"Response": {
"TotalCount": 2,
"RequestId": "xx",
"ParamInfoSet": [
{
"Advanced": false,
"ClassificationCN": "AUTOVACUUM",
"ClassificationEN": "Autovacuum",
"CurrentValue": "",
"DefaultValue": "-1",
"EnumValue": null,
"ID": 1409,
"LastModifyTime": "",
"Max": 10000,
"Min": -1,
"Name": "autovacuum_vacuum_cost_limit",
"NeedReboot": false,
"ParamDescriptionEN": "Vacuum cost amount available before napping, for autovacuum.",
"ParamValueType": "integer",
"SpecRelated": false,
"StandbyRelated": 0,
"Unit": ""
},
{
"Advanced": false,
"ClassificationEN": "Replication",
"CurrentValue": "",
"DefaultValue": "27",
"EnumValue": null,
"ID": 1592,
"LastModifyTime": "",
"Max": 650,
"Min": 27,
"Name": "max_wal_senders",
"NeedReboot": true,
"ParamDescriptionEN": "Sets the maximum number of simultaneously running WAL sender processes.",
"ParamValueType": "integer",
"SpecRelated": true,
"StandbyRelated": 1,
"Unit": ""
}
]
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation.DatabaseAccessError | Failed to access database management service. Please try again later. If the problem persists, please contact customer service. |
FailedOperation.FailedOperationError | Operation failed. Please try again later. |
InvalidParameter.ParameterCheckError | Failed to check the parameter. |
InvalidParameterValue.InvalidParameterValueError | Incorrect parameter value |
本页内容是否解决了您的问题?