更新时间:2025-09-23 GMT+08:00
查询集群参数组
功能介绍
查询集群所关联的参数组。
调用方法
请参见如何调用API。
URI
GET /v1.0/{project_id}/clusters/{cluster_id}/configurations
请求参数
无
响应参数
状态码:200
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
configurations |
Array of ClusterConfiguration objects |
参数解释: 集群所关联的参数组信息。 取值范围: 不涉及。 |
请求示例
GET https://{Endpoint}/v1.0/89cd04f168b84af6be287f71730fdb4b/clusters/4ca46bf1-5c61-48ff-b4f3-0ad4e5e3ba90/configurations
响应示例
状态码:200
查询集群参数组成功。
{
"configurations" : [ {
"id" : "509be37f-5420-40fb-89c2-0c5c9b8c90f6",
"name" : "defaultGUCConfig",
"type" : "GUCConfig",
"status" : "In-Sync",
"fail_reason" : "null"
}, {
"id" : "3f62172a-8258-46a3-a761-e691265d6689",
"name" : "parameterGroupFor_3bc94408-265d-4076-8c6d-cc35ebc2c747",
"type" : "hiddenParameterGroup",
"status" : "In-Sync",
"fail_reason" : "null"
}, {
"id" : "93cb2c86-a598-48ca-8c2c-0389f4b78511",
"name" : "defaultOBSConfig",
"type" : "OBSConfig",
"status" : "In-Sync",
"fail_reason" : "null"
}, {
"id" : "3f377a36-1fa2-48fe-a1fa-a8801dae01ed",
"name" : "Default-Parameter-Template-DWS-8_2_0",
"type" : "parameterGroup",
"status" : "In-Sync",
"fail_reason" : "null"
}, {
"id" : "d8f9ec5a-8235-4000-9433-187409738e8b",
"name" : "security-paragroup-dws",
"type" : "securityParameterGroup",
"status" : "In-Sync",
"fail_reason" : "null"
} ]
}
状态码
|
状态码 |
描述 |
|---|---|
|
200 |
查询集群参数组成功。 |
|
400 |
请求错误。 |
|
401 |
鉴权失败。 |
|
403 |
没有操作权限。 |
|
404 |
找不到资源。 |
|
500 |
服务内部错误。 |
|
503 |
服务不可用。 |
父主题: 参数配置