Panggil operasi DeactiveFlowLog untuk menghentikan log alur. Setelah log alur dihentikan, lalu lintas sumber daya yang ditentukan tidak lagi ditangkap.
Deskripsi operasi
- Operasi DeactiveFlowLog bersifat asinkron. Setelah permintaan dikirim, sistem mengembalikan ID permintaan. Namun, log alur tidak segera dihentikan, dan tugas penghentian terus berjalan di latar belakang. Anda dapat memanggil operasi DescribeFlowLogs untuk mengkueri status log alur:
Jika log alur berada dalam status Deactivating, log alur sedang dihentikan.
Jika log alur berada dalam status Inactive, log alur telah dihentikan.
Operasi DeactiveFlowLog tidak mendukung penghentian log alur yang sama secara bersamaan.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah tempat log alur berada. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah. |
cn-qingdao |
| FlowLogId |
string |
Yes |
ID log alur. |
fl-m5e8vhz2t21sel1nq**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
string |
Menunjukkan apakah panggilan berhasil.
|
true |
| RequestId |
string |
ID permintaan. |
F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1 |
Contoh
Respons sukses
JSONformat
{
"Success": "true",
"RequestId": "F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectBusinessStatus.FlowLog | The business status of flowLog is incorrect. | The error message returned because you cannot create flow logs in the current business state. |
| 400 | InvalidInstanceId | Instance does not exist. | The error message returned because the specified instance does not exist. |
| 400 | InvalidStatus | Current instance status is not valid for this action. | |
| 400 | FlowLogNumberOverLimit | This user has reached the maximum instance number of flowlog. | |
| 400 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 400 | InvalidInstanceId.NotFound | The specfied instance is not existed. | |
| 400 | IncorrectStatus.flowlog | Invalid flowlog status. | The flow log cannot be disabled because it is in an invalid state. |
| 400 | Forbidden.OperateManagedFlowLog | Authentication is failed for operate managed flowlog. | Authentication failed when operating the managed flow log. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.