Mengubah pengatur waktu pengalihan event yang tertunda.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyPendingMaintenanceAction |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID Wilayah Kluster. Catatan
Anda dapat memanggil operasi DescribeRegions untuk mengkueri detail ID Wilayah. |
cn-hangzhou |
| Ids |
string |
Yes |
ID Tugas. Anda dapat menentukan beberapa ID Tugas sekaligus untuk mengubah pengatur waktu pengalihan tugas secara terpadu. Pisahkan ID Tugas dengan koma (,). |
111111 |
| SwitchTime |
string |
Yes |
Pengatur waktu yang Anda tentukan agar latar belakang menjalankan aksi yang sesuai dengan event yang tertunda. Tentukan pengatur waktu dalam format |
2020-06-09T22:00:00Z |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-************ |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
93061E17-B56A-4324-BC95-D0FFD2****** |
| Ids |
string |
The ID of the task. |
111111 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "93061E17-B56A-4324-BC95-D0FFD2******",
"Ids": "111111"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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 | StartTimeBeforeNow | The start time should not be earlier than the current time. | |
| 403 | IncorrectTaskStatus | Certain task's status does not support this operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.