获取实例指定参数的值 - ShowPostgresqlParamValue
调试
您可以在API Explorer中调试该接口。
授权信息
- 如果使用角色与策略授权,具体权限要求请参见权限和授权项。
- 如果使用身份策略授权,需具备如下身份策略权限。
|
授权项 |
访问级别 |
资源类型(*为必须) |
条件键 |
别名 |
依赖的授权项 |
|---|---|---|---|---|---|
|
rds:instance:getParameter |
- |
- |
g:EnterpriseProjectId g:ResourceTag/<tag-key> |
- |
- |
接口约束
- 实例在异常或冻结状态下不能执行该操作。
- 当前只支持查询shared_preload_libraries。
URI
请求消息
响应消息
- 正常响应要素说明
表2 要素说明 名称
参数类型
说明
name
String
参数解释:
参数名称。
取值范围:
shared_preload_libraries
value
String
参数解释:
参数值。
取值范围:
不涉及。
restart_required
Boolean
参数解释:
实例是否需要重启。
取值范围:
- true,需要重启。
- false,不需要重启。
value_range
String
参数解释:
参数值范围。
取值范围:
如Integer取值0~1、Boolean取值true或false等。
type
String
参数解释:
参数类型。
取值范围:
取值为“string”、“integer”、“boolean”、“list”或“float”之一。
description
String
参数解释:
参数描述。
取值范围:
不涉及。
- 正常响应样例
{ "name": "shared_preload_libraries", "value": "passwordcheck.so,pg_stat_statements,pg_sql_history,pgaudit,auth_delay,rds_pg_sql_ccl,rds_performance_statements", "type": "list", "description": "Lists shared libraries to preload into server.", "restart_required": true, "value_range": "pg_cron,pg_stat_statements,pg_qualstats,pg_stat_kcache,pg_wait_sampling,pgaudit,timescaledb,pglogical,passwordcheck.so,pg_sql_history,auth_delay,pg_hint_plan,anon,rds_pg_sql_ccl,pg_stat_monitor,pg_tle,rds_performance_statements" } - 异常响应
请参见异常请求结果。
状态码
- 正常
- 异常
请参见状态码。
错误码
请参见错误码。