Mengubah pengatur waktu alih bencana event O&M terjadwal untuk sebuah instans.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyActiveOperationTasks |
update |
*Semua sumber daya.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. Catatan
Anda dapat memanggil operasi DescribeRegions untuk mengkueri informasi wilayah semua kluster di bawah akun target. |
cn-beijing |
| TaskIds |
string |
Yes |
Daftar ID tugas. |
11111,22222 |
| SwitchTime |
string |
No |
Pengatur waktu alih bencana terencana yang akan ditetapkan. Tentukan pengatur waktu dalam format yyyy-MM-ddTHH:mm:ssZ (UTC). Catatan
|
2023-04-25T06:00:00Z |
| ImmediateStart |
integer |
No |
Apakah akan segera memulai penjadwalan eksekusi.
Catatan
|
0 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
42CD2EF5-D77E-5AD4-961B-159330D98286 |
| TaskIds |
string |
Daftar ID tugas. |
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. | Operasi gagal karena parameter pengatur waktu tidak valid. Pengatur waktu mulai harus lebih lambat dari pengatur waktu saat ini. |
| 400 | TaskHasStarted | Task has started. | Tugas sudah dimulai. |
| 400 | IncorrectTaskStatus | Certain task's status does not support this operation. | |
| 400 | IncorrectTaskType | Current task does not support this operation. | Operasi gagal. Status tugas saat ini tidak mendukung operasi ini. |
| 400 | RequiredParam.NotFound | Required input param is not found. | Parameter input wajib tidak ada. |
| 400 | TaskModifyError | Part of the tasks cannot be modified. | Operasi gagal karena beberapa tugas tidak dapat dimodifikasi. Coba lagi nanti. |
| 400 | SwitchTimeAfterDeadline | The switch time should be earlier than deadline. | Pengatur waktu alih bencana harus lebih awal dari batas waktu. |
| 400 | InvalidTime.Format | InvalidTime.Format Specified time is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.