AnalyticDB for MySQL クラスターのスケーリングプランを有効にします。
操作説明
AnalyticDB for MySQL のエンドポイントについては、「エンドポイント」をご参照ください。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
adb:EnableElasticPlan |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ElasticPlanName |
string |
必須 |
スケーリングプランの名前。 説明
DescribeElasticPlans 操作を呼び出して、スケーリングプランの名前をクエリできます。 |
test |
| DBClusterId |
string |
必須 |
クラスター ID。 説明
DescribeDBClusters 操作を呼び出して、リージョン内のすべての AnalyticDB for MySQL クラスターの ID をクエリできます。 |
amv-wz9509beptiz**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| RequestId |
string |
リクエスト ID。 |
A5C433C2-001F-58E3-99F5-3274C14DF8BD |
例
成功レスポンス
JSONJSON
{
"RequestId": "A5C433C2-001F-58E3-99F5-3274C14DF8BD"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | ACS.ElasticPlan.AutoWorkerPlanExists | Failed to enable the elastic plan. The instance already has an active elastic plan. | |
| 400 | ACS.ElasticPlan.WorkerPlanExists | Failed to enable the elastic plan. At least one active elastic plan already exists. | |
| 400 | ACS.ElasticPlan.InvalidStartTimeInterval | The start time of this elastic plan is too closed to another one. | |
| 400 | ACS.ElasticPlan.InvalidEndTime | The end time should be later than current time. | |
| 400 | ACS.ElasticPlan.InvalidTodayPlan | Failed to enable this elastic plan. Today's schedule time is missed and you should prepare at least %s minutes for us to prepare resource. | |
| 400 | ACS.ElasticPlan.InvalidTargetSize | Invalid target size. | |
| 400 | ACS.ElasticPlan.InvalidStartTime | Invalid start time. | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The DBClusterId provided does not exist in our records. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。