Memanggil operasi OpenFlowLogService untuk mengaktifkan fitur Log aliran.
Deskripsi operasi
-
Operasi OpenFlowLogService tidak mendukung pengaktifan fitur Log aliran secara bersamaan dalam satu akun Alibaba Cloud (akun utama) yang sama.
-
Anda dapat memanggil operasi GetFlowLogServiceStatus untuk mengkueri status aktivasi fitur Log aliran.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:OpenFlowLogService |
create |
*FlowLogService
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan nilai ini, tetapi Anda harus memastikan bahwa nilai tersebut unik di antara permintaan yang berbeda. Nilai ClientToken hanya dapat berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId dari setiap permintaan API berbeda. |
123e4567-e89b-12d3-a456-426655440000 |
| RegionId |
string |
Yes |
ID wilayah tempat Log aliran berada. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah. |
cn-hangzhou |
| RegionId |
string |
Yes |
The ID of the region to which the flow log belongs. You can call the DescribeRegions operation to query the region ID. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
ID permintaan. |
||
| RequestId |
string |
ID permintaan. |
28CF47AB-B6C0-5FA2-80C7-2B28826A92CB |
| Code |
string |
Kode status. |
200 |
| Message |
string |
Paket yang dikembalikan saat fitur Log aliran diaktifkan. |
successful |
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationFailed.ExceedPurchaseLimit | You have reached the limit of purchase quantity. | |
| 400 | Forbidden.RAM | User not authorized to operate on the specified resource, or this API doesn't support RAM. | |
| 400 | OperationFailed.AliGroupUserCanNotBuyInnerCommodity | Vpc_flowlog_public has no group cloud product label, and users within the group are not allowed to purchase. | vpc_flowlog_public does not have a merchandise tag and cannot be purchased by an internal group user. |
| 400 | OperationFailed.QuotaNotEnough | Your quota is insufficient. Please contact your channel partner to increase your quota | |
| 400 | Order.NoRealNameAuthentication | Real-name verification has not been completed for the account. | You have not performed real-name authentication. Please go to the account center to complete real-name authentication. |
| 400 | OperationFailed.BasicInfoUncompleted | You have not completed your basic personal information, please complete the information and try again. | Your basic information is incomplete. Specify the information and try again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.