All Products
Search
Document Center

Web Application Firewall:DescribeResourceRegionId

Last Updated:Apr 23, 2024

Queries the region IDs of the resources that are added to Web Application Firewall (WAF) in cloud native mode. The resources include Application Load Balancer (ALB) instances, Microservices Engine (MSE) instances, and custom domain names bound to web applications in Function Compute.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the WAF instance.

Note You can call the DescribeInstance operation to obtain the ID of the WAF instance.
waf_cdnsdf3****
ResourceManagerResourceGroupIdstringNo

The ID of the Alibaba Cloud resource group.

rg-aek2lrm****6pnq
RegionIdstringNo

The region in which the WAF instance is deployed. Valid values:

  • cn-hangzhou: Chinese mainland.
  • ap-southeast-1: outside the Chinese mainland.
cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

F5905D3F-F674-5177-9E48-466DD3B8****
ResourceRegionIdsarray

The region IDs.

string

The region ID. For information about the corresponding region names of the region IDs, see Regions and zones.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "RequestId": "F5905D3F-F674-5177-9E48-466DD3B8****",
  "ResourceRegionIds": [
    "cn-hangzhou"
  ]
}

Error codes

For a list of error codes, visit the Service error codes.