インスタンスのスケジュールされた O&M イベントの切り替え時間を変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
polardb:ModifyActiveOperationTasks |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。 説明
DescribeRegions 操作を呼び出して、指定されたアカウント内のすべてのクラスターのリージョン情報を照会できます。 |
cn-beijing |
| TaskIds |
string |
必須 |
タスク ID。 |
11111,22222 |
| SwitchTime |
string |
任意 |
指定するスケジュールされた切り替え時間。時間は、`yyyy-MM-ddTHH:mm:ssZ` フォーマットの ISO 8601 標準で指定する必要があります。時間は UTC である必要があります。 説明
|
2023-04-25T06:00:00Z |
| ImmediateStart |
integer |
任意 |
スケジューリングをすぐに開始するかどうかを指定します。有効な値:
説明
|
0 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
42CD2EF5-D77E-5AD4-961B-159330D98286 |
| TaskIds |
string |
タスク ID。 |
11111,22222 |
例
成功レスポンス
JSONJSON
{
"RequestId": "42CD2EF5-D77E-5AD4-961B-159330D98286",
"TaskIds": "11111,22222"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | StartTimeBeforeNow | The start time should be later than current time. | |
| 400 | TaskHasStarted | Task has started. | |
| 400 | IncorrectTaskStatus | Certain task's status does not support this operation. | |
| 400 | IncorrectTaskType | Current task does not support this operation. | |
| 400 | RequiredParam.NotFound | Required input param is not found. | |
| 400 | TaskModifyError | Part of the tasks cannot be modified. | |
| 400 | SwitchTimeAfterDeadline | The switch time should be earlier than deadline. | |
| 400 | InvalidTime.Format | InvalidTime.Format Specified time is not valid. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。