Mengkueri port layanan cloud yang ditambahkan ke Web Application Firewall (WAF). Operasi ini hanya didukung untuk Elastic Compute Service (ECS) dan Classic Load Balancer (CLB).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeCloudResourceAccessedPorts |
get |
*All Resource
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans WAF. Catatan
Anda dapat memanggil operasi DescribeInstance untuk mengkueri ID instans WAF saat ini. |
waf-cn-tl32ast**** |
| ResourceInstanceId |
string |
Yes |
ID instans sumber daya. |
lb-bp1*****jqnnqk5uj2p |
| RegionId |
string |
No |
ID Wilayah instans WAF. Nilai valid:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya Alibaba Cloud. |
rg-aekzwwkpn****5i |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
C1823E96-EF4B-5BD2-9E02-1D18****3ED8 |
| Http |
array |
The HTTP port. |
|
|
integer |
The HTTP port. |
[80] |
|
| Https |
array |
The HTTPS port. |
|
|
integer |
The HTTPS port. |
[443] |
Contoh
Respons sukses
JSONformat
{
"RequestId": "C1823E96-EF4B-5BD2-9E02-1D18****3ED8",
"Http": [
0
],
"Https": [
0
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.