AnalyticDB for MySQL クラスター向けのスケーリングプランを作成します。
操作説明
AnalyticDB for MySQL のエンドポイント一覧については、「エンドポイント」をご参照ください。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
adb:CreateElasticPlan |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ElasticPlanName |
string |
必須 |
スケーリングプランの名前です。 説明
名前の長さは 2~30 文字で、英字、数字、アンダースコア (_) を使用できます。先頭文字は英字である必要があります。 |
test |
| ResourceGroupName |
string |
任意 |
リソースグループの名前です。 説明
|
test |
| StartTime |
string |
任意 |
スケーリングプランの開始時刻です。 説明
ISO 8601 標準に従い、yyyy-MM-ddTHH:mm:ssZ 形式で指定してください。時刻は協定世界時 (UTC) で指定する必要があります。 |
2022-01-01T12:01:00Z |
| EndTime |
string |
任意 |
スケーリングプランの終了時刻です。 説明
ISO 8601 標準に従い、yyyy-MM-ddTHH:mm:ssZ 形式で指定してください。時刻は協定世界時 (UTC) で指定する必要があります。 |
2025-01-01T12:01:00Z |
| Enabled |
boolean |
必須 |
スケーリングプランを作成後に直ちに有効化するかどうかを指定します。有効な値は以下のとおりです。
|
true |
| CronExpression |
string |
任意 |
スケーリングプランのスケーリング周期および実行時刻を指定する CRON 式です。 |
0 20 14 * * ? |
| TargetSize |
string |
任意 |
スケーリング後のエラスティックリソースの目標仕様です。 説明
|
32ACU |
| Type |
string |
必須 |
スケーリングプランのタイプです。有効な値は以下のとおりです。
|
EXECUTOR |
| AutoScale |
boolean |
任意 |
EIU 向けデフォルト比例スケーリング を有効化するかどうかを指定します。有効な値は以下のとおりです。
説明
|
false |
| DBClusterId |
string |
必須 |
クラスター ID です。 説明
リージョン内のすべての AnalyticDB for MySQL クラスターの ID を照会するには、DescribeDBClusters 操作を呼び出します。 |
amv-wz9509beptiz**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーターです。 |
||
| RequestId |
string |
リクエスト ID です。 |
A5C433C2-001F-58E3-99F5-3274C14DF8BD |
例
成功レスポンス
JSONJSON
{
"RequestId": "A5C433C2-001F-58E3-99F5-3274C14DF8BD"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | ACS.ElasticPlan.InvalidEndTime | The end time should be later than current time. | |
| 400 | ACS.ElasticPlan.NameAlreadyExists | The name already exists. | |
| 400 | ACS.ElasticPlan.WorkerNotFound | Worker not found. | |
| 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.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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。