Mengkueri ID Wilayah sumber daya layanan cloud yang dapat ditambahkan ke Web Application Firewall (WAF) menggunakan SDK.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeResourceRegionId |
list |
*All Resource
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID Instans WAF. Catatan
Panggil operasi DescribeInstance untuk mengkueri ID Instans WAF. |
waf_cdnsdf3**** |
| RegionId |
string |
No |
Wilayah tempat Instans WAF berada. Nilai valid:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya Alibaba Cloud. |
rg-aek2lrm****6pnq |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
F5905D3F-F674-5177-9E48-466DD3B8**** |
| ResourceRegionIds |
array |
The region IDs of cloud service resources that can be added to WAF by using the SDK. |
|
|
string |
The ID of the region where the cloud service resource resides. For more information, see Regions and zones. |
cn-hangzhou |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F5905D3F-F674-5177-9E48-466DD3B8****",
"ResourceRegionIds": [
"cn-hangzhou"
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.