Mengubah pengatur waktu peralihan event O&M terjadwal untuk suatu instans.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyActiveOperationTasks |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID Wilayah. Catatan
Anda dapat memanggil operasi DescribeRegions untuk mengkueri informasi wilayah tentang semua kluster dalam akun tertentu. |
cn-beijing |
| TaskIds |
string |
Yes |
ID Tugas. |
11111,22222 |
| SwitchTime |
string |
No |
Pengatur waktu peralihan terjadwal yang ingin Anda tentukan. Tentukan waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Waktu harus dalam UTC. Catatan
|
2023-04-25T06:00:00Z |
| ImmediateStart |
integer |
No |
Apakah akan segera memulai penjadwalan. Nilai valid:
Catatan
|
0 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
42CD2EF5-D77E-5AD4-961B-159330D98286 |
| TaskIds |
string |
The task IDs. |
11111,22222 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "42CD2EF5-D77E-5AD4-961B-159330D98286",
"TaskIds": "11111,22222"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | StartTimeBeforeNow | The start time should be later than current time. | The specified time parameter is invalid. The start time must be earlier than the end time. |
| 400 | TaskHasStarted | Task has started. | The task has started. |
| 400 | IncorrectTaskStatus | Certain task's status does not support this operation. | |
| 400 | IncorrectTaskType | Current task does not support this operation. | This operation is not supported while the task is in the current state. |
| 400 | RequiredParam.NotFound | Required input param is not found. | The specified parameter does not exist. |
| 400 | TaskModifyError | Part of the tasks cannot be modified. | Part of the tasks cannot be modified. Please try again later. |
| 400 | SwitchTimeAfterDeadline | The switch time should be earlier than deadline. | The specified time parameter is invalid. The switchover time must be earlier than the end time. |
| 400 | InvalidTime.Format | InvalidTime.Format Specified time is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.