Mengkueri semua konfigurasi pengiriman log dari instans Web Application Firewall (WAF) untuk cloud hibrida.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeLogDeliveryConfigs |
list |
*全部资源
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans WAF. Catatan
Panggil operasi DescribeInstance untuk mengkueri ID instans WAF. |
waf-cn-zz11sr5**** |
| DeliveryNameLike |
string |
No |
Nama konfigurasi pengiriman log yang akan dikueri. Pencocokan kabur didukung. |
test |
| DeliveryType |
string |
No |
Tipe konfigurasi pengiriman log yang akan dikueri. Nilai valid:
|
kafka |
| RegionId |
string |
No |
Wilayah tempat instans WAF berada. Nilai valid:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya Alibaba Cloud tempat instans WAF berada. |
rg-acfm***q |
| NextToken |
string |
No |
Token paginasi yang digunakan pada permintaan berikutnya untuk mengambil halaman hasil baru. Atur parameter ini ke nilai NextToken yang dikembalikan pada panggilan sebelumnya. Anda tidak perlu menentukan parameter ini untuk permintaan pertama. |
AAAAAINZ+8pH1oQnusEu1tGAc8is |
| MaxResults |
integer |
No |
Jumlah maksimum entri per halaman. Nilai valid: 1 hingga 50. Nilai default: 20. |
20 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
2EFCFE18-78F8-5079-B312-07***48B |
| DeliveryConfigs |
array<object> |
The log delivery configurations. |
|
|
object |
The details of a log delivery configuration. |
||
| DeliveryName |
string |
The name of the log delivery configuration. |
test1 |
| DeliveryDetail |
string |
The details of the log delivery configuration, returned as a JSON string. Catatan
The structure of this parameter is the same as the DeliveryDetail request parameter of the CreateLogDeliveryConfig operation. |
{ "rfcVersion": "rfc3164", "protocol": "tcp", "servers": [ { "address": "1.1.1.1", "port": 20 } ] } |
| DeliveryType |
string |
The type of the log delivery configuration. Valid values:
|
syslog |
| NextToken |
string |
The pagination token that is used in the next request to retrieve a new page of results. Catatan
If this parameter is not empty, more results are available. Use the value of NextToken in the next request to retrieve the next page of results. If the value is empty, all results have been returned. |
AAAAAGBgV9tolsLfijC4wam2htS*****D/46H3X2wIS |
| MaxResults |
integer |
The maximum number of entries returned per page. |
20 |
| TotalCount |
integer |
The total number of log delivery configurations returned. |
5 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2EFCFE18-78F8-5079-B312-07***48B",
"DeliveryConfigs": [
{
"DeliveryName": "test1",
"DeliveryDetail": "{\n \"rfcVersion\": \"rfc3164\",\n \"protocol\": \"tcp\",\n \"servers\": [\n {\n \"address\": \"1.1.1.1\",\n \"port\": 20\n }\n ]\n}",
"DeliveryType": "syslog"
}
],
"NextToken": "AAAAAGBgV9tolsLfijC4wam2htS*****D/46H3X2wIS",
"MaxResults": 20,
"TotalCount": 5
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.