调用 DescribeDBInstanceParameters 接口查询实例参数。
同步请求。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
InstanceId | String | 是 | postgres-21a3333b**** | 实例 ID。 |
ParameterName | String | 否 | auto_increment_increment | 参数名称,支持模糊查询。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
InstanceId | String | postgres-21a3333b**** | 实例 ID。 |
DBEngineVersion | String | PostgreSQL_12 | 兼容版本。取值:
|
ParameterCount | String | 56 | 参数个数。 |
Parameters | Object[] | 请参见返回示例。 | 该实例当前运行的参数列表。 |
POST /?Action=DescribeDBInstanceParameters&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: rds.volcengineapi.com X-Date: 20231002T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "InstanceId": "postgres-ca7b7019****" }
{ "ResponseMetadata": { "RequestId": "20230804115231D0A40DAC141F3F09F3A9", "Action": "DescribeDBInstanceParameters", "Version": "2022-01-01", "Service": "rds_postgresql", "Region": "cn-beijing" }, "Result": { "DBEngineVersion": "PostgreSQL_12", "InstanceId": "postgres-ca7b7019****", "ParameterCount": "2", "Parameters": [ { "CheckingCode": "[on|off]", "DefaultValue": "off", "Description": "Use EXPLAIN ANALYZE for plan logging.", "ForceRestart": false, "Name": "auto_explain.log_analyze", "Type": "Enum", "Value": "on" }, { "CheckingCode": "[0-1]", "DefaultValue": "1", "Description": "Fraction of queries to process.", "ForceRestart": false, "Name": "auto_explain.sample_rate", "Type": "Float", "Value": "1" } ] } }