Queries the configuration information of the Location Blacklist feature (for domain names) in website services.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
yundun-ddoscoo:DescribeWebAreaBlockConfigs | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ResourceGroupId | string | No | The resource group ID of the Anti-DDoS Proxy instance in Resource Management. The default value is empty, which indicates that the instance belongs to the default resource group. | default |
| Domains | array | Yes | The domain names of the website services. Note The domain names must have forwarding rules configured for website services. You can call DescribeDomains to query all domain names. | www.aliyun.com |
string | No | The domain name of the website service. | www.aliyun**.com |
Response elements
Parameter | Type | Description | Example |
object | |||
RequestId | string | The ID of the request. | 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc |
| AreaBlockConfigs | array<object> | The configuration information of the Location Blacklist feature (for domain names). | |
object | |||
Domain | string | The domain name of the website. | www.aliyun.com |
| RegionList | array<object> | The information about the blocked regions. | |
object | |||
Region | string | The region. | CN-SHANGHAI |
Block | integer | The blocking status. Valid values:
| 0 |
Examples
Success response
JSON format
{
"RequestId": "0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc",
"AreaBlockConfigs": [
{
"Domain": "www.aliyun.com",
"RegionList": [
{
"Region": "CN-SHANGHAI",
"Block": 0
}
]
}
]
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.