Mengubah waktu failover untuk event O&M.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:ModifyMaintenanceAction |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-4690g37929XXXX |
| Ids |
string |
Yes |
ID event O&M yang tertunda. Anda dapat menentukan beberapa ID untuk mengubah waktu Alih bencana secara Batch. Pisahkan beberapa ID dengan koma (,). Catatan
|
11111 |
| SwitchTime |
string |
Yes |
Titik waktu ketika Anda ingin sistem melakukan operasi pada event O&M yang tertunda. Tentukan waktu dalam standar ISO 8601 dengan format |
2021-07-09T22:00:00Z |
| RegionId |
string |
Yes |
ID Wilayah tempat terjadinya event O&M yang tertunda. Catatan
|
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| Ids |
string |
ID event O&M. |
11111 |
| RequestId |
string |
ID permintaan. |
7856CBE7-5BD0-4EE1-AC62-749392****** |
Contoh
Respons sukses
JSONformat
{
"Ids": "11111",
"RequestId": "7856CBE7-5BD0-4EE1-AC62-749392******"
}
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.