调用DescribeWebAreaBlockConfigs查询网站业务区域封禁(针对域名)的配置信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeWebAreaBlockConfigs

要执行的操作。取值:DescribeWebAreaBlockConfigs

Domains.N RepeatList www.aliyun.com

网站业务的域名。

说明 域名必须已配置网站业务转发规则。您可以调用DescribeDomains查询所有域名。
RegionId String cn-hangzhou

DDoS高防服务地域ID。取值:

  • cn-hangzhou:表示DDoS高防(新BGP)服务
  • ap-southeast-1:表示DDoS高防(国际)服务
ResourceGroupId String default

DDoS高防实例在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。

返回数据

名称 类型 示例值 描述
AreaBlockConfigs Array

区域封禁(针对域名)的配置信息。

Domain String www.aliyun.com

网站域名。

RegionList Array

封禁地区信息。

Block Integer 0

封禁状态。取值:

  • 0:未封禁
  • 1:已封禁
Region String CN-SHANGHAI

地区。

RequestId String 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc

本次请求的ID。

示例

请求示例

http(s)://[Endpoint]/?Action=DescribeWebAreaBlockConfigs
&Domains.1=www.aliyun.com
&<公共请求参数>

正常返回示例

XML 格式

<DescribeWebAreaBlockConfigsResponse>
	  <AreaBlockConfigs>
		    <RegionList>
			      <Block>1</Block>
			      <Region>CN-YUNNAN</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-HEILONGJIANG</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>OVERSEAS-ANTARCTICA</Region>
		    </RegionList>
		    <RegionList>
			      <Block>1</Block>
			      <Region>OVERSEAS-EUROPE</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-BEIJING</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-HENAN</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-HUNAN</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-FUJIAN</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-JIANGSU</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-ZHEJIANG</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-HAINAN</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-TIBET</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-INNERMONGOLIA</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-NINGXIA</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-SHAANXI</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-GUANGDONG</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-QINGHAI</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>OVERSEAS-NAMERICA</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>OVERSEAS-SAMERICA</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-SHANGHAI</Region>
		    </RegionList>
		    <RegionList>
			      <Block>1</Block>
			      <Region>CN-GUANGXI</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>OVERSEAS-ASIA</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>OVERSEAS-OCEANIA</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-MACAU</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-GUIZHOU</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-JILIN</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-ANHUI</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-JIANGXI</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-HEBEI</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-CHONGQING</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>OVERSEAS-AFRICA</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-SICHUAN</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-TIANJIN</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-XINJIANG</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-LIAONING</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-GANSU</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-HONGKONG</Region>
		    </RegionList>
		    <RegionList>
			      <Block>1</Block>
			      <Region>CN-TAIWAN</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-SHANDONG</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-SHANXI</Region>
		    </RegionList>
		    <RegionList>
			      <Block>0</Block>
			      <Region>CN-HUBEI</Region>
		    </RegionList>
		    <Domain>www.aliyun.com</Domain>
	  </AreaBlockConfigs>
	  <RequestId>044D33A9-80B9-4F07-BA63-9207CAD53263</RequestId>
</DescribeWebAreaBlockConfigsResponse>

JSON 格式

{
	"AreaBlockConfigs": [
		{
			"RegionList": [
				{
					"Block": 1,
					"Region": "CN-YUNNAN"
				},
				{
					"Block": 0,
					"Region": "CN-HEILONGJIANG"
				},
				{
					"Block": 0,
					"Region": "OVERSEAS-ANTARCTICA"
				},
				{
					"Block": 1,
					"Region": "OVERSEAS-EUROPE"
				},
				{
					"Block": 0,
					"Region": "CN-BEIJING"
				},
				{
					"Block": 0,
					"Region": "CN-HENAN"
				},
				{
					"Block": 0,
					"Region": "CN-HUNAN"
				},
				{
					"Block": 0,
					"Region": "CN-FUJIAN"
				},
				{
					"Block": 0,
					"Region": "CN-JIANGSU"
				},
				{
					"Block": 0,
					"Region": "CN-ZHEJIANG"
				},
				{
					"Block": 0,
					"Region": "CN-HAINAN"
				},
				{
					"Block": 0,
					"Region": "CN-TIBET"
				},
				{
					"Block": 0,
					"Region": "CN-INNERMONGOLIA"
				},
				{
					"Block": 0,
					"Region": "CN-NINGXIA"
				},
				{
					"Block": 0,
					"Region": "CN-SHAANXI"
				},
				{
					"Block": 0,
					"Region": "CN-GUANGDONG"
				},
				{
					"Block": 0,
					"Region": "CN-QINGHAI"
				},
				{
					"Block": 0,
					"Region": "OVERSEAS-NAMERICA"
				},
				{
					"Block": 0,
					"Region": "OVERSEAS-SAMERICA"
				},
				{
					"Block": 0,
					"Region": "CN-SHANGHAI"
				},
				{
					"Block": 1,
					"Region": "CN-GUANGXI"
				},
				{
					"Block": 0,
					"Region": "OVERSEAS-ASIA"
				},
				{
					"Block": 0,
					"Region": "OVERSEAS-OCEANIA"
				},
				{
					"Block": 0,
					"Region": "CN-MACAU"
				},
				{
					"Block": 0,
					"Region": "CN-GUIZHOU"
				},
				{
					"Block": 0,
					"Region": "CN-JILIN"
				},
				{
					"Block": 0,
					"Region": "CN-ANHUI"
				},
				{
					"Block": 0,
					"Region": "CN-JIANGXI"
				},
				{
					"Block": 0,
					"Region": "CN-HEBEI"
				},
				{
					"Block": 0,
					"Region": "CN-CHONGQING"
				},
				{
					"Block": 0,
					"Region": "OVERSEAS-AFRICA"
				},
				{
					"Block": 0,
					"Region": "CN-SICHUAN"
				},
				{
					"Block": 0,
					"Region": "CN-TIANJIN"
				},
				{
					"Block": 0,
					"Region": "CN-XINJIANG"
				},
				{
					"Block": 0,
					"Region": "CN-LIAONING"
				},
				{
					"Block": 0,
					"Region": "CN-GANSU"
				},
				{
					"Block": 0,
					"Region": "CN-HONGKONG"
				},
				{
					"Block": 1,
					"Region": "CN-TAIWAN"
				},
				{
					"Block": 0,
					"Region": "CN-SHANDONG"
				},
				{
					"Block": 0,
					"Region": "CN-SHANXI"
				},
				{
					"Block": 0,
					"Region": "CN-HUBEI"
				}
			],
			"Domain": "www.aliyun.com"
		}
	],
	"RequestId": "044D33A9-80B9-4F07-BA63-9207CAD53263"
}

错误码

访问错误中心查看更多错误码。