リージョンブラックリストで構成できるリージョンのコードを照会します。 これらのコードには、中国の行政区のコード、および国と地域のコードが含まれます。
デバッグ
リクエストパラメーター
パラメーター | データ型 | 必須 | 例 | 説明 |
Action | String | 必須 | DescribeProtectionModuleCodeConfig | 実行する操作です。 値をDescribeProtectionModuleCodeConfigに設定します。 |
コードタイプ | Integer | 可 | 14 | 照会するコードの種類。 値を14に設定します。これは、WAFのリージョンブラックリストで構成できるリージョンのコードを示します。 |
InstanceId | String | 必須 | waf-cn-zz11sr5 **** | WAFインスタンスのID。 説明 DescribeInstanceInfo操作を呼び出して、WAFインスタンスのIDを照会できます。 |
CodeValue | Integer | 任意 | 0 | 照会するリージョンコードのタイプ。 有効な値:
説明 このパラメーターを指定しない場合、両方のタイプのリージョンが照会されます。 |
ResourceGroupId | String | 任意 | rg-acfm2pz25js **** | リソース管理のWAFインスタンスが属するリソースグループのID。 このパラメーターはデフォルトで空です。これは、WAFインスタンスがデフォルトリソースグループに属していることを示します。 リソースグループの詳細については、「リソースグループの作成」をご参照ください。 |
すべてのAlibaba Cloud API操作に共通のリクエストパラメーターを含める必要があります。 共通リクエストパラメーターの詳細については、「」をご参照ください。
サンプルリクエストの詳細については、このトピックの例を参照してください。
レスポンスパラメーター
パラメーター | データ型 | 例 | 説明 |
CodeConfigs | String | [{"code":0、"name":"310000,530000、150000,110000、TW_01、220000,510000、120000,640000、340000,370000、140000,440000、450000,650000、320000,360000、130000,410000、330000,460000、420000,430000、MO_01、620000,350000、540000,520000、210000,500000、610000,630000、HK_01、230000" 、"env":"online"}] | コードの設定。 値はJSON配列で構成される文字列です。 JSON配列の各要素は、1つのタイプのリージョンコードを表し、次のフィールドを含むJSON構造体です。
|
RequestId | String | BE3911B8-9D96-5B39-8875-503BBC9DA4BF | リクエストの ID。 |
コードの行政区域の中国
{
"310000": "Shanghai",
"610000": "Shaanxi",
"360000": "Jiangxi",
"230000": "Heilongjiang",
"530000": "Yunnan",
"140000": "Shanxi",
"440000": "Guangdong",
"320000": "Jiangsu",
"110000": "Beijing",
"MO_01": "Macau (China)",
"620000": "Gansu",
"370000": "Shandong",
"150000": "Nei Mongol",
"450000": "Guangxi",
"410000": "Henan",
"500000": "Chongqing",
"120000": "Tianjin",
"630000": "Qinghai",
"460000": "Hainan",
"640000": "Ningxia",
"330000": "Zhejiang",
"HK_01": "Hong Kong (China)",
"420000": "Hubei",
"430000": "Hunan",
"130000": "Hebei",
"510000": "Sichuan",
"350000": "Fujian",
"210000": "Liaoning",
"220000": "Jilin",
"340000": "Anhui",
"520000": "Guizhou",
"TW_01": "Taiwan (China)",
}
{
"KE": "Kenya",
"KG": "Kyrgyzstan",
"KH": "Kampuchea",
"KI": "Kiribati",
"KM": "Comoros",
"KN": "Saint Kitts and Nevis",
"KP": "Democratic People's Republic of Korea",
"KR": "Republic of Korea",
"KW": "Kuwait",
"KY": "Cayman Islands",
"KZ": "Kazakhstan",
"LA": "Laos",
"LB": "Lebanon",
"LC": "Saint Lucia",
"LI": "Liechtenstein",
"LK": "Sri Lanka",
"LR": "Liberia",
"LS": "Lesotho",
"LT": "Lithuania",
"LU": "Luxembourg",
"LV": "Latvia",
"LY": "Libya",
"MA": "Morocco",
"MC": "Monaco",
"MD": "Moldova",
"ME": "Montenegro",
"MF": "Saint Martin",
"MG": "Madagascar",
"MH": "Marshall Islands",
"MK": "Macedonia",
"ML": "Mali",
"MM": "Myanmar",
"MN": "Mongolia",
"MP": "Northern Mariana Islands",
"MQ": "Martinique",
"MR": "Mauritania",
"MS": "Montserrat",
"MT": "Malta",
"MU": "Mauritius",
"MV": "Maldives",
"MW": "Malawi",
"MX": "Mexico",
"MY": "Malaysia",
"MZ": "Mozambique",
"NA": "Namibia",
"NC": "New Caledonia",
"NE": "Niger",
"NF": "Norfolk Island",
"NG": "Nigeria",
"NI": "Nicaragua",
"NL": "Netherlands",
"NO": "Norway",
"O1": "Other countries",
"NP": "Nepal",
"NR": "Nauru",
"NU": "Niue",
"NZ": "New Zealand",
"GA": "Gabon",
"GB": "United Kingdom of Great Britain and Northern Ireland"
"WS": "Samoa",
"GD": "Grenada",
"GE": "Georgia",
"GF": "French Guiana",
"GG": "Guernsey",
"GH": "Ghana",
"GI": "Gibraltar",
"GL": "Greenland",
"GM": "The Gambia",
"GN": "Guinea",
"GP": "Guadeloupe",
"GQ": "Equatorial Guinea",
"GR": "Greece",
"GS": "South Georgia and the South Sandwich Islands",
"GT": "Guatemala",
"GU": "Guam",
"GW": "Guinea-Bissau",
"GY": "Guyana",
"HM": "Heard Island and McDonald Islands",
"HN": "Honduras",
"HR": "Croatia",
"HT": "Haiti",
"YE": "Yemen",
"HU": "Hungary",
"YT": "Mayotte",
"ID": "Indonesia",
"IE": "Ireland",
"IL": "Israel",
"IM": "Isle of Man",
"IO": "British Indian Ocean Territory",
"ZA": "South Africa",
"IQ": "Iraq",
"IR": "Iran",
"IS": "Iceland",
"IT": "Italy",
"ZM": "Zambia",
"JE": "Jersey",
"ZW": "Zimbabwe",
"JM": "Jamaica",
"JO": "Jordan",
"JP": "Japan",
"SI": "Slovenia",
"SJ": "Svalbard and Jan Mayen Islands",
"BY": "Belarus",
"SK": "Slovakia",
"BZ": "Belize",
"SL": "Sierra Leone",
"SM": "San Marino",
"SN": "Senegal",
"SO": "Somalia",
"CA": "Canada",
"SR": "Suriname",
"SS": "South Sudan",
"CC": "Cocos (Keeling) Islands",
"ST": "Sao Tome and Principe",
"CD": "Democratic Republic of the Congo",
"CF": "Central African Republic",
"SV": "El Salvador",
"CG": "Republic of the Congo",
"CH": "Switzerland",
"SX": "Sint Maarten",
"SY": "Syrian Arab Republic",
"CI": "Côte d'Ivoire",
"SZ": "Eswatini",
"CK": "Cook Islands",
"CL": "Chile",
"CM": "Cameroon",
"CN": "China",
"CO": "Colombia",
"TC": "Turks and Caicos Islands",
"CR": "Costa Rica",
"TD": "Chad",
"CU": "Cuba",
"TF": "French Southern and Antarctic Lands",
"CV": "Cape Verde",
"TG": "Togo",
"CW": "Curaçao",
"TH": "Thailand",
"CX": "Christmas Island",
"TJ": "Tajikistan",
"CY": "Cyprus",
"CZ": "Czech Republic",
"TK": "Tokelau",
"TL": "East Timor",
"TM": "Turkmenistan",
"TN": "Tunisia",
"TO": "Tonga",
"TR": "Turkey",
"TT": "Trinidad and Tobago",
"DE": "Germany",
"TV": "Tuvalu",
"DJ": "Djibouti",
"TZ": "Tanzania",
"DK": "Denmark",
"DM": "Dominica",
"DO": "Dominican Republic",
"UA": "Ukraine",
"UG": "Uganda",
"DZ": "Algeria",
"UM": "United States Minor Outlying Islands",
"US": "United States",
"EC": "Ecuador",
"EE": "Estonia",
"EG": "Egypt",
"EH": "Western Sahara",
"UY": "Uruguay",
"UZ": "Uzbekistan",
"VA": "Vatican City",
"VC": "Saint Vincent and the Grenadines",
"ER": "Eritrea",
"ES": "Spain",
"VE": "Venezuela",
"ET": "Ethiopia",
"EU": "Europe",
"VG": "British Virgin Islands",
"VI": "United States Virgin Islands",
"VN": "Vietnam",
"VU": "Vanuatu",
"FI": "Finland",
"FJ": "Fiji",
"FK": "Falkland Islands",
"FM": "Federated States of Micronesia",
"FO": "Faroe Islands",
"FR": "France",
"WF": "Wallis and Futuna",
"OM": "Oman",
"PA": "Panama",
"PE": "Peru",
"PF": "French Polynesia",
"PG": "Papua New Guinea",
"PH": "Philippines",
"PK": "Pakistan",
"PL": "Poland",
"PM": "Saint Pierre and Miquelon",
"PN": "Pitcairn Islands",
"PR": "Puerto Rico",
"PS": "Palestine",
"PT": "Portugal",
"PW": "Palau",
"PY": "Paraguay",
"QA": "Qatar",
"A1": "Anonymous proxy",
"A2": "Satellite transmission",
"AD": "Andorra",
"AE": "United Arab Emirates",
"AF": "Afghanistan",
"AG": "Antigua and Barbuda",
"AI": "Anguilla",
"AL": "Albania",
"AM": "Armenia",
"AO": "Angola",
"AP": " Asia-Pacific",
"AQ": "Antarctica",
"AR": "Argentina",
"AS": "American Samoa",
"RE": "Reunion",
"AT": "Austria",
"AU": "Australia",
"AW": "Aruba",
"AX": "Aland Islands",
"AZ": "Azerbaijan",
"RO": "Romania",
"BA": "Bosnia and Herzegovina",
"BB": "Barbados",
"RS": "Serbia",
"BD": "Bangladesh",
"BE": "Belgium",
"RU": "Russia",
"BF": "Burkina Faso",
"RW": "Rwanda",
"BG": "Bulgaria",
"BH": "Bahrain",
"BI": "Burundi",
"BJ": "Benin",
"BL": "Saint Barthelemy",
"BM": "Bermuda",
"BN": "Brunei",
"BO": "Bolivia",
"SA": "Saudi Arabia",
"BQ": "Caribbean Netherlands",
"SB": "Solomon Islands",
"BR": "Brazil",
"SC": "Seychelles",
"SD": "Sudan",
"BS": "Bahamas",
"SE": "Sweden",
"BT": "Bhutan",
"BV": "Bouvet Island",
"SG": "Singapore",
"SH": "Saint Helena",
"BW": "Botswana"
}
例
リクエストの例
http(s)://[Endpoint]/?Action=DescribeProtectionModuleCodeConfig
&CodeType=14
&InstanceId=waf-cn-zz11sr5****
&CodeValue=0
&<Common request parameters>
成功レスポンスの例
XML
形式
<DescribeProtectionModuleCodeConfigResponse>
<RequestId>BE3911B8-9D96-5B39-8875-503BBC9DA4BF</RequestId>
<CodeConfigs>
<code>0</code>
<name>310000,530000,150000,110000,TW_01,220000,510000,120000,640000,340000,370000,140000,440000,450000,650000,320000,360000,130000,410000,330000,460000,420000,430000,MO_01,620000,350000,540000,520000,210000,500000,610000,630000,HK_01,230000</name>
<env>online</env>
</CodeConfigs>
</DescribeProtectionModuleCodeConfigResponse>
JSON
形式
{
"RequestId": "BE3911B8-9D96-5B39-8875-503BBC9DA4BF",
"CodeConfigs": [
{
"code": 0,
"name": "310000,530000,150000,110000,TW_01,220000,510000,120000,640000,340000,370000,140000,440000,450000,650000,320000,360000,130000,410000,330000,460000,420000,430000,MO_01,620000,350000,540000,520000,210000,500000,610000,630000,HK_01,230000",
"env": "online"
}
]
}
エラーコード
エラーコードの一覧は、「API エラーセンター」をご参照ください。