All Products
Search
Document Center

ApsaraDB for MongoDB:CancelActiveOperationTasks

Last Updated:Jun 10, 2026

Membatalkan event Operations and Maintenance (O&M) secara batch.

Deskripsi operasi

An O&M event cannot be canceled in the following scenarios:

  • The event is not cancelable if the value of the AllowCancel parameter is 0.

  • The scheduled start time of the O&M event has passed.

  • The status of the O&M event is not Pending if the value of the Status parameter is not 3.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

Ids

string

Yes

ID event O&M yang akan dibatalkan. Pisahkan beberapa ID dengan koma (,).

1508850,1508310,1507849,1506274,1505811

ResourceGroupId

string

No

ID kelompok sumber daya.

rg-xxxx

Elemen respons

Element

Type

Description

Example

object

Ids

string

The IDs of the canceled O&M events. Multiple IDs are separated by commas (,).

1508850,1508310,1507849,1506274,1505811

RequestId

string

The request ID.

55A2504F-xxxx-xxxx-xxxx-C7C5E57350A6

Contoh

Respons sukses

JSONformat

{
  "Ids": "1508850,1508310,1507849,1506274,1505811",
  "RequestId": "55A2504F-xxxx-xxxx-xxxx-C7C5E57350A6"
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.