Mengkueri daftar nama domain yang dilindungi oleh keamanan API.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeApisecMatchedHosts |
get |
*全部资源
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans WAF. Catatan
Panggil operasi DescribeInstance untuk Tampilan ID instans WAF saat ini. |
waf_v2_public_cn-x0r37plpl0g |
| MatchedHost |
string |
No |
Nama domain atau alamat IP. |
bc.aliyun.com |
| PageNumber |
string |
No |
Nomor halaman yang akan dikembalikan untuk kueri berhalaman. Nilai default: 1. |
1 |
| PageSize |
string |
No |
Jumlah entri yang akan dikembalikan pada setiap halaman untuk kueri berhalaman. Nilai default: 10. |
8 |
| Type |
string |
No |
Tipe deteksi. Nilai valid:
|
event |
| ClusterId |
string |
No |
ID kluster cloud hibrida. Catatan
Parameter ini hanya digunakan dalam skenario cloud hibrida. Panggil operasi DescribeHybridCloudClusters untuk memperoleh informasi tentang kluster cloud hibrida. |
433 |
| RegionId |
string |
No |
Wilayah instans WAF. Nilai valid:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya Alibaba Cloud. |
rg-aekz5qqo7jthcsa |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The result of the request. |
||
| TotalCount |
string |
The total number of entries returned. |
2 |
| RequestId |
string |
The ID of the request. |
8D4CA088-F72B-5658-BD5B-ECE8B8F0C7BB |
| Data |
array<object> |
The list of domain names. |
|
|
object |
The information about the domain name. |
||
| MatchedHost |
string |
The domain name or IP address. |
bc.aliyun.com |
| Count |
integer |
The number of queries. |
31 |
Contoh
Respons sukses
JSONformat
{
"TotalCount": "2",
"RequestId": "8D4CA088-F72B-5658-BD5B-ECE8B8F0C7BB",
"Data": [
{
"MatchedHost": "bc.aliyun.com",
"Count": 31
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.