Domain name for API request: postgres.tencentcloudapi.com.
This API is used to query the details of a parameter template, including basic information and parameter information.
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: DescribeParameterTemplateAttributes. |
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. |
TemplateId | Yes | String | Parameter template ID |
Parameter Name | Type | Description |
---|---|---|
TemplateId | String | Parameter template ID Note: This field may return null, indicating that no valid values can be obtained. |
TotalCount | Integer | Number of parameters contained in the parameter template Note: This field may return null, indicating that no valid values can be obtained. |
ParamInfoSet | Array of ParamInfo | Parameter information contained in the parameter template Note: This field may return null, indicating that no valid values can be obtained. |
TemplateName | String | Parameter template name Note: This field may return null, indicating that no valid values can be obtained. |
DBMajorVersion | String | Database version applicable to a parameter template Note: This field may return null, indicating that no valid values can be obtained. |
DBEngine | String | Database engine applicable to a parameter template Note: This field may return null, indicating that no valid values can be obtained. |
TemplateDescription | String | Parameter template description 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: DescribeParameterTemplateAttributes
<Common request parameters>
{
"TemplateId": "c0456ace-31d1-54b1-a270-befa6bf960a5"
}
{
"Response": {
"DBEngine": "postgresql",
"DBMajorVersion": "12",
"ParamInfoSet": [
{
"Advanced": false,
"ClassificationCN": "WAL",
"ClassificationEN": "Write-Ahead Log",
"CurrentValue": "logical",
"DefaultValue": "replica",
"EnumValue": [
"replica",
"logical"
],
"ID": 854,
"LastModifyTime": "",
"Max": 0,
"Min": 0,
"Name": "wal_level",
"NeedReboot": true,
"ParamDescriptionEN": "Set the level of information written to the WAL.",
"ParamValueType": "enum",
"SpecRelated": false,
"StandbyRelated": 0,
"Unit": ""
},
{
"Advanced": false,
"ClassificationEN": "Resource Usage",
"CurrentValue": "12",
"DefaultValue": "8",
"EnumValue": null,
"ID": 755,
"LastModifyTime": "",
"Max": 262143,
"Min": 0,
"Name": "max_worker_processes",
"NeedReboot": true,
"ParamDescriptionEN": "Maximum number of concurrent worker processes.",
"ParamValueType": "integer",
"SpecRelated": true,
"StandbyRelated": 1,
"Unit": ""
}
],
"RequestId": "e4f0f472-8bef-4404-b3fa-57ed6b6378b8",
"TemplateDescription": "test-modify",
"TemplateId": "c0456ace-31d1-54b1-a270-befa6bf960a5",
"TemplateName": "test-modify_1",
"TotalCount": 2
}
}
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.FailedOperationError | Operation failed. Please try again later. |
本页内容是否解决了您的问题?