Calls the ApplyAdviceById operation to apply an optimization suggestion.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:ApplyAdviceById |
update |
DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the cluster. Note
You can call the DescribeDBClusters operation to view the cluster ID of an AnalyticDB for MySQL cluster. |
am-uf6g8w25jacm7**** |
| RegionId |
string |
Yes |
The ID of the region. Note
You can call the DescribeRegions operation to view available regions. |
cn-hangzhou |
| AdviceId |
string |
No |
The ID of the suggestion. |
0baf1f52-53df-487f-8292-99a03716**** |
| AdviceDate |
integer |
No |
The date when the suggestion was generated. Format: yyyyMMdd (UTC time). |
20221101 |
| ApplyType |
string |
No |
||
| BuildImmediately |
boolean |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| Message |
string |
The result of applying the suggestion. Valid values:
Valid values:
|
SUCCESS |
| RequestId |
string |
The ID of the request. |
5DC10091-348D-12B1-906D-AB49D658012E |
Examples
Success response
JSON format
{
"Message": "SUCCESS",
"RequestId": "5DC10091-348D-12B1-906D-AB49D658012E"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.