Memanggil operasi DeleteFlowLog untuk menghapus Log aliran.
Deskripsi operasi
- Operasi DeleteFlowLog bersifat asinkron. Setelah Anda memanggil operasi ini, sistem mengembalikan ID instans, tetapi Log aliran belum dihapus. Tugas penghapusan terus berjalan di latar belakang. Anda dapat memanggil DescribeFlowLogs untuk mengkueri status penghapusan Log aliran:
Jika Log aliran berada dalam status Deleting, Log aliran sedang dihapus.
Jika Log aliran yang ditentukan tidak dapat ditemukan, Log aliran telah dihapus.
Operasi DeleteFlowLog tidak mendukung penghapusan secara bersamaan untuk Log aliran yang sama.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah Log aliran. Anda dapat memanggil DescribeRegions untuk mengkueri ID wilayah. |
cn-qingdao |
| FlowLogId |
string |
Yes |
ID Log aliran. |
fl-m5e8vhz2t21sel1nq**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
string |
Apakah pemanggilan berhasil. Nilai valid:
|
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 | InvalidInstanceId | Instance does not exist. | The error message returned because the specified instance does not exist. |
| 400 | ProjectOrLogstoreNotExist | The specified project or logstore does not exist. | The error message returned because the specified project or Logstore does not exist. |
| 400 | SourceProjectNotExist | The Source Project or logstore does not exist. | The error message returned because the source project or Logstore does not exist. |
| 400 | Unauthorized | This api does not support sub user or role. | The error message returned because you cannot call this operation as a RAM user. |
| 400 | ParameterInvalid | Invalid parameter. | The error message returned because a parameter is invalid. |
| 400 | InvalidStatus | The specfied instance's status is invalid. | |
| 400 | InvalidHdMonitorStatus | 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 | InvalidResourceId.NotFound | Resource id is empty. | |
| 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.