BatchApplyAdviceByIdList
Applies a batch of optimization advice.
Operation description
For information about the endpoints of this service, see Service Endpoints.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:BatchApplyAdviceByIdList |
update |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. |
am-uf6g8w25jacm7**** |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| AdviceIdList |
string |
No |
The IDs of the optimization advice items to apply. Separate multiple IDs with a comma. |
c2589ff3-e86c-4f19-80c8-2aeb7dd9****,53414470-ebf4-4a53-a312-8a1ad8fd****,6e8dce84-fec8-4b0b-9c04-b0cea12c****,b3b9703d-55ca-47e0-96dd-6a4a9dbf**** |
| AdviceDate |
integer |
No |
The date the optimization advice was generated. The format is |
20221115 |
| ApplyType |
string |
No |
The apply type. Valid values:
|
DROP_INDEX |
| BuildImmediately |
boolean |
No |
Specifies whether to immediately start the build task. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
86F92D26-B774-5FA1-8E53-82CBEEEBB012 |
Examples
Success response
JSON format
{
"RequestId": "86F92D26-B774-5FA1-8E53-82CBEEEBB012"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.