Mengubah pengatur waktu alih bencana Tugas pemeliharaan terjadwal untuk Instans Database Apsara for MongoDB.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:ModifyActiveOperationTasks |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Ids |
string |
Yes |
ID Tugas pemeliharaan. Pisahkan beberapa ID tugas dengan koma (,). Catatan
Anda dapat memanggil operasi DescribeActiveOperationTask untuk mengkueri ID Tugas pemeliharaan. |
11111,22222 |
| SwitchTime |
string |
Yes |
Pengatur waktu alih bencana terjadwal yang ingin Anda tentukan. Tentukan pengatur waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Pengatur waktu harus dalam UTC. Catatan
Pengatur waktu yang ditentukan oleh parameter SwitchTime tidak boleh lebih lambat dari pengatur waktu yang ditentukan oleh parameter Deadline. Anda dapat memanggil operasi DescribeActiveOperationTasks untuk mengkueri pengatur waktu alih bencana terbaru yang dikembalikan untuk parameter Deadline. |
2019-10-17T18:50:00Z |
| ImmediateStart |
integer |
No |
Apakah akan segera memulai penjadwalan. Nilai valid:
Catatan
|
0 |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-acfmyiu4ekp**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Ids |
string |
The IDs of the O&M tasks. Multiple task IDs are separated by commas (,). |
11111,22222 |
| RequestId |
string |
The request ID. |
CAAE9DDA-65FD-584C-A378-F1F24676**** |
Contoh
Respons sukses
JSONformat
{
"Ids": "11111,22222",
"RequestId": "CAAE9DDA-65FD-584C-A378-F1F24676****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.