Invokes the DescribeDrdsParams operation to query the query parameter list.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:DescribeDrdsParams |
get |
*instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| DrdsInstanceId |
string |
Yes |
The instance ID. |
DescribeDrdsParams |
| ParamLevel |
string |
Yes |
The parameter level. Valid values:
|
INSTANCE |
| DbName |
string |
No |
The database name. |
drds_test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the query was successful. |
true |
| RequestId |
string |
The request ID. |
2F7F8080-9132-4279-85D0-B7E5C4305162 |
| List |
array<object> |
The parameter list. |
|
|
object |
|||
| ParamDefaultValue |
string |
The default value of the parameter. |
1000 |
| ParamLevel |
string |
The parameter level. |
INSTANCE |
| ParamName |
string |
The parameter name. |
慢SQL阈值 |
| ParamType |
string |
The parameter type. |
CONFIG |
| ParamValue |
string |
The parameter value. |
1000 |
| NeedRestart |
boolean |
Indicates whether a restart is required. |
true |
| ParamRanges |
string |
The valid value range of the parameter. |
[1000-900000] |
| DbName |
string |
The database name. |
drds_test |
| ParamEnglishName |
string |
The English name of the parameter. |
SLOW_SQL_TIME |
| ParamDesc |
string |
The parameter description. |
慢SQL阈值(单位:ms) |
| ParamVariableName |
string |
The variable name of the parameter. |
slowSqlTime |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "2F7F8080-9132-4279-85D0-B7E5C4305162",
"List": [
{
"ParamDefaultValue": "1000",
"ParamLevel": "INSTANCE",
"ParamName": "慢SQL阈值",
"ParamType": "CONFIG",
"ParamValue": "1000",
"NeedRestart": true,
"ParamRanges": "[1000-900000]",
"DbName": "drds_test",
"ParamEnglishName": "SLOW_SQL_TIME",
"ParamDesc": "慢SQL阈值(单位:ms)",
"ParamVariableName": "slowSqlTime"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.