Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the PolarDB primary cluster, which is used to locate the Search cluster associated with the current account. |
pc-xxxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
e3a24663-eee5-4009-b635-2e9e8d052e74 |
| DBClusterId |
string |
The ID of the PolarDB primary cluster. |
pc-2zex82f527he**** |
| Engine |
string |
The type of the Search engine. |
polardb_search |
| DBVersion |
string |
The Search engine version, which is not the MySQL version of the primary cluster. |
3.0 |
| RunningParameters |
object |
The visible parameters and their modification statuses. |
|
| Parameter |
array<object> |
The list of parameters. |
|
|
object |
The parameter. |
||
| CheckingCode |
string |
The value rule of the template, which can be a numeric range, an enumeration, or a regular expression. This rule must be interpreted in combination with the DataType field. |
[true\|false] |
| DataType |
string |
The data type of the parameter value. Valid values: INT, DOUBLE, B/BYTE, MEMORY, PERCENT, TIME, BOOLEAN, and STRING. The MEMORY type supports percentages or capacities with units. |
BOOLEAN |
| ParameterName |
string |
The name of the parameter. |
prometheus.indices |
| ParameterValue |
string |
The configuration value on the control plane. If a modification is in progress, the value to be applied is displayed. This value is not read from the kernel in real time. |
false |
| ForceRestart |
boolean |
Specifies whether a restart is required for the modification to take effect. The value is true for static parameters and false for dynamic parameters. |
false |
| ParameterDescription |
string |
The parameter description. |
Parameter description |
| ParameterStatus |
string |
The modification status of the parameter. A value of Normal indicates that no modifications are pending. A value of Modifying indicates that the modification task is not completed. |
false |
| DefaultParameterValue |
string |
The default value of the current active template, which is independent of the value modified by the user. |
false |
| IsModifiable |
boolean |
Specifies whether the user is allowed to modify the parameter. |
false |
| Factor |
string |
The divisibility factor. If the value is not zero, the numeric value parsed based on the templatetype must be a multiple of this factor. |
0 |
Examples
Success response
JSON format
{
"RequestId": "e3a24663-eee5-4009-b635-2e9e8d052e74",
"DBClusterId": "pc-2zex82f527he****",
"Engine": "polardb_search",
"DBVersion": "3.0",
"RunningParameters": {
"Parameter": [
{
"CheckingCode": "[true\\|false]",
"DataType": "BOOLEAN",
"ParameterName": "prometheus.indices",
"ParameterValue": "false",
"ForceRestart": false,
"ParameterDescription": "参数说明",
"ParameterStatus": "false",
"DefaultParameterValue": "false",
"IsModifiable": false,
"Factor": "0"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.