Mengkueri daftar blacklist alamat IP untuk perlindungan event besar berdasarkan halaman.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeMajorProtectionBlackIps |
get |
*全部资源
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans Web Application Firewall (WAF). Catatan
Anda dapat memanggil operasi DescribeInstance untuk mendapatkan ID instans WAF. |
waf_cdnsdf3**** |
| TemplateId |
integer |
No |
ID Templat perlindungan event besar. |
5673 |
| RuleId |
integer |
No |
ID aturan blacklist alamat IP untuk perlindungan event besar. |
20013199 |
| IpLike |
string |
No |
Alamat IP yang akan dikueri. Anda dapat menentukan parameter ini untuk melakukan kueri fuzzy pada alamat IP di blacklist. |
192.0.XX.XX |
| OrderBy |
string |
No |
Bidang yang digunakan untuk mengurutkan hasil dalam urutan menurun. Nilai valid:
|
gmtModified |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default: 1, yang menentukan halaman pertama. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10, yang menentukan 10 entri per halaman. |
10 |
| RegionId |
string |
No |
Wilayah tempat instans WAF di-deploy. Nilai valid:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya Alibaba Cloud. |
rg-acfm***q |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The result of the request. |
||
| TotalCount |
integer |
The total number of IP addresses in the blacklist. |
63 |
| RequestId |
string |
The ID of the request. |
41631674-EEB0-5B02-BEB4-40A758E9B841 |
| IpList |
array<object> |
The list of IP addresses in the blacklist. |
|
|
object |
The list of IP addresses in the blacklist. |
||
| Description |
string |
The description of the template. |
test0003asdffas |
| Ip |
string |
The IP address. |
192.0.XX.XX |
| RuleId |
integer |
The ID of the IP address blacklist rule for critical event protection. |
8508970 |
| ExpiredTime |
integer |
The timestamp after which the IP address blacklist becomes invalid. Unit: seconds. Catatan
If the value is 0, the IP address blacklist is permanently valid. |
1662603328 |
| GmtModified |
integer |
The time when the IP address in the blacklist was modified. |
1665456202000 |
| TemplateId |
integer |
The ID of the critical event protection template. |
9684 |
Contoh
Respons sukses
JSONformat
{
"TotalCount": 63,
"RequestId": "41631674-EEB0-5B02-BEB4-40A758E9B841",
"IpList": [
{
"Description": "test0003asdffas",
"Ip": "192.0.XX.XX",
"RuleId": 8508970,
"ExpiredTime": 1662603328,
"GmtModified": 1665456202000,
"TemplateId": 9684
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.