This topic describes the codes of administrative regions in China and codes of countries and areas that are used when you call specific operations.
Related operations
The following table describes the operations for which the codes of administrative regions in China and codes of countries and areas are required.
Feature | Operation | Scenarios |
---|---|---|
Blocked Regions | ConfigNetworkRegionBlock | Query the countries or areas that are specified by the Countries field and administrative regions in China that are specified by the Provinces field in the Config request parameter. |
DescribeNetworkRegionBlock | Query the countries or areas that are specified by the Countries field and administrative regions in China that are specified by the Provinces field in the Config response parameter. | |
Monitoring reports | DescribeDomainViewSourceCountries | Query the country or area that is specified by the CountryId response parameter. |
DescribeDomainViewSourceProvinces | Query the administrative region in China that is specified by the ProvinceId response parameter. | |
DescribePortViewSourceCountries | Query the country or area that is specified by the CountryId response parameter. | |
DescribePortViewSourceProvinces | Query the administrative region in China that is specified by the ProvinceId response parameter. | |
Attack Analysis | DescribeDDosEventArea | Query the administrative region in China, country, or area that is specified by the Area response parameter. |
DescribeDDosEventSrcIp | Query the administrative region in China, country, or area that is specified by theAreaId response parameter. |
Codes of administrative regions in China
Country or area | Code
(Suitable for the operations related to Blocked Regions) |
ProvinceId
(Suitable for the operations related to monitoring reports) |
Area or area ID
(Suitable for the operations related to Attack Analysis) |
---|---|---|---|
Beijing | 11 | 110000 | 110000 |
Tianjin | 12 | 120000 | 120000 |
Hebei | 13 | 130000 | 130000 |
Shanxi | 14 | 140000 | 140000 |
Nei Mongol | 15 | 150000 | 150000 |
Liaoning | 21 | 210000 | 210000 |
Jilin | 22 | 220000 | 220000 |
Heilongjiang | 23 | 230000 | 230000 |
Shanghai | 31 | 310000 | 310000 |
Jiangsu | 32 | 320000 | 320000 |
Zhejiang | 33 | 330000 | 330000 |
Anhui | 34 | 340000 | 340000 |
Fujian | 35 | 350000 | 350000 |
Jiangxi | 36 | 360000 | 360000 |
Shandong | 37 | 370000 | 370000 |
Henan | 41 | 410000 | 410000 |
Hubei | 42 | 420000 | 420000 |
Hunan | 43 | 430000 | 430000 |
Guangdong | 44 | 440000 | 440000 |
Guangxi | 45 | 450000 | 450000 |
Hainan | 46 | 460000 | 460000 |
Chongqing | 50 | 500000 | 500000 |
Sichuan | 51 | 510000 | 510000 |
Guizhou | 52 | 520000 | 520000 |
Yunnan | 53 | 530000 | 530000 |
Shaanxi | 61 | 610000 | 610000 |
Gansu | 62 | 620000 | 620000 |
Qinghai | 63 | 630000 | 630000 |
Ningxia | 64 | 640000 | 640000 |
Hong Kong | 81 | 810000 | 810000 |
Taiwan | 71 | 710000 | 710000 |
Macao | 82 | 820000 | 820000 |
Codes of countries and areas
Country or area | Code
(Suitable for the operations related to Blocked Regions) |
CountryId
(Suitable for the operations related to monitoring reports) |
Area or area ID
(Suitable for the operations related to Attack Analysis) |
---|---|---|---|
China | 1 | cn | cn |
Australia | 2 | au | au |
Japan | 3 | jp | jp |
Thailand | 4 | th | th |
India | 5 | in | in |
United States | 7 | us | us |
Germany | 8 | de | de |
Netherlands | 9 | nl | nl |
Malaysia | 10 | my | my |
Angola | 11 | ao | ao |
South Korea | 12 | kr | kr |
Singapore | 13 | sg | sg |
Kampuchea | 14 | kh | kh |
Philippines | 16 | ph | ph |
Vietnam | 17 | vn | vn |
France | 18 | fr | fr |
Poland | 19 | pl | pl |
Spain | 20 | es | es |
Russia | 21 | ru | ru |
Switzerland | 22 | ch | ch |
United Kingdom | 23 | uk | uk |
Italy | 24 | it | it |
Czech Republic | 25 | cz | cz |
Ireland | 26 | ie | ie |
Denmark | 27 | dk | dk |
Portugal | 28 | pt | pt |
Sweden | 29 | se | se |
Ghana | 30 | gh | gh |
Turkey | 31 | tr | tr |
Cameroon | 32 | cm | cm |
South Africa | 33 | za | za |
Finland | 34 | fi | fi |
Hungary | 35 | hu | hu |
United Arab Emirates | 36 | ae | ae |
Greece | 37 | gr | gr |
Brazil | 38 | br | br |
Austria | 39 | at | at |
Jordan | 40 | jo | jo |
Belgium | 41 | be | be |
Romania | 42 | ro | ro |
Luxembourg | 43 | lu | lu |
Argentina | 44 | ar | ar |
Uganda | 45 | ug | ug |
Armenia | 46 | am | am |
Tanzania | 47 | tz | tz |
Burundi | 48 | bi | bi |
Uruguay | 49 | uy | uy |
Bulgaria | 50 | bg | bg |
Ukraine | 51 | ua | ua |
Israel | 52 | il | il |
Qatar | 53 | qa | qa |
Iraq | 54 | iq | iq |
Lithuania | 55 | lt | lt |
Moldova | 56 | md | md |
Uzbekistan | 57 | uz | uz |
Slovakia | 58 | sk | sk |
Kazakhstan | 59 | kz | kz |
Croatia | 60 | hr | hr |
Georgia | 61 | ge | ge |
Estonia | 62 | ee | ee |
Gibraltar | 63 | gi | gi |
Latvia | 64 | lv | lv |
Norway | 65 | no | no |
Palestine | 66 | ps | ps |
Cyprus | 67 | cy | cy |
Saudi Arabia | 68 | sa | sa |
Iran | 69 | ir | ir |
Canada | 70 | ca | ca |
American Samoa | 71 | as | as |
Syria | 72 | sy | sy |
Kuwait | 73 | kw | kw |
Bahrain | 74 | bh | bh |
Lebanon | 75 | lb | lb |
Oman | 76 | om | om |
Azerbaijan | 77 | az | az |
Zambia | 78 | zm | zm |
Zimbabwe | 79 | zw | zw |
Democratic Republic of the Congo | 80 | cd | cd |
Serbia | 81 | rs | rs |
Iceland | 82 | is | is |
Slovenia | 83 | si | si |
Macedonia | 84 | mk | mk |
Liechtenstein | 85 | li | li |
Jersey | 86 | je | je |
Bosnia and Herzegovina | 87 | ba | ba |
Chile | 88 | cl | cl |
Peru | 89 | pe | pe |
Kyrgyzstan | 90 | kg | kg |
Reunion | 91 | re | re |
Tajikistan | 92 | tj | tj |
Isle of Man | 93 | im | im |
Guernsey | 94 | gg | gg |
Malta | 95 | mt | mt |
Libya | 96 | ly | ly |
Yemen | 97 | ye | ye |
Belarus | 98 | by | by |
Mayotte | 99 | yt | yt |
Guadeloupe | 100 | gp | gp |
Saint Martin | 101 | mf | mf |
Martinique | 102 | mq | mq |
Guyana | 103 | gy | gy |
Kosovo | 104 | xk | xk |
Indonesia | 105 | id | id |
Northern Mariana Islands | 106 | mp | mp |
Dominican Republic | 107 | do | do |
Mexico | 108 | mx | mx |
Guam | 109 | gu | gu |
Nigeria | 110 | ng | ng |
Venezuela | 111 | ve | ve |
Puerto Rico | 112 | pr | pr |
Mongolia | 113 | mn | mn |
New Zealand | 114 | nz | nz |
Bangladesh | 115 | bd | bd |
Pakistan | 116 | pk | pk |
Papua New Guinea | 117 | pg | pg |
Trinidad and Tobago | 118 | tt | tt |
Lesotho | 119 | ls | ls |
Colombia | 120 | co | co |
Costa Rica | 121 | cr | cr |
Ecuador | 123 | ec | ec |
Sri Lanka | 124 | lk | lk |
Egypt | 125 | eg | eg |
British Virgin Islands | 126 | vg | vg |
Jamaica | 127 | jm | jm |
Saint Lucia | 128 | lc | lc |
Cayman Islands | 129 | ky | ky |
Grenada | 130 | gd | gd |
Curacao | 131 | cw | cw |
Panama | 132 | pa | pa |
Barbados | 133 | bb | bb |
The Bahamas | 134 | bs | bs |
Nepal | 135 | np | np |
Tokelau | 136 | tk | tk |
Maldives | 137 | mv | mv |
Afghanistan | 138 | af | af |
New Caledonia | 139 | nc | nc |
Fiji | 140 | fj | fj |
Wallis and Futuna Islands | 141 | wf | wf |
Albania | 142 | al | al |
San Marino | 143 | sm | sm |
Montenegro | 144 | me | me |
East Timor | 145 | tl | tl |
Monaco | 146 | mc | mc |
Guinea | 147 | gn | gn |
Myanmar | 148 | mm | mm |
Greenland | 149 | gl | gl |
Bermuda | 150 | bm | bm |
Saint Vincent and the Grenadines | 151 | vc | vc |
United States Virgin Islands | 152 | vi | vi |
Suriname | 153 | sr | sr |
Saint Barthelemy | 154 | bl | bl |
Haiti | 155 | ht | ht |
Antigua and Barbuda | 156 | ag | ag |
Liberia | 157 | lr | lr |
Kenya | 158 | ke | ke |
Botswana | 159 | bw | bw |
Mozambique | 160 | mz | mz |
Senegal | 161 | sn | sn |
Madagascar | 162 | mg | mg |
Namibia | 163 | na | na |
Côte d'Ivoire | 164 | ci | ci |
Sudan | 165 | sd | sd |
Malawi | 166 | mw | mw |
Gabon | 167 | ga | ga |
Mali | 168 | ml | ml |
Benin | 169 | bj | bj |
Chad | 170 | td | td |
Cabo Verde | 171 | cv | cv |
Rwanda | 172 | rw | rw |
Republic of the Congo | 173 | cg | cg |
The Gambia | 174 | gm | gm |
Mauritius | 175 | mu | mu |
Algeria | 176 | dz | dz |
Eswatini | 177 | sz | sz |
Burkina Faso | 178 | bf | bf |
Sierra Leone | 179 | sl | sl |
Somalia | 180 | so | so |
Niger | 181 | ne | ne |
Central Africa Republic | 182 | cf | cf |
Togo | 183 | tg | tg |
South Sudan | 184 | ss | ss |
Equatorial Guinea | 185 | gq | gq |
Seychelles | 186 | sc | sc |
Djibouti | 187 | dj | dj |
Morocco | 188 | ma | ma |
Mauritania | 189 | mr | mr |
Comoros | 190 | km | km |
British Indian Ocean Territory | 191 | io | io |
Tunisia | 192 | tn | tn |
Laos | 193 | la | la |
Brunei | 194 | bn | bn |
Bhutan | 195 | bt | bt |
Nauru | 196 | nr | nr |
Vanuatu | 197 | vu | vu |
Federated States of Micronesia | 198 | fm | fm |
French Polynesia | 199 | pf | pf |
Tonga | 200 | to | to |
Honduras | 201 | hn | hn |
Bolivia | 202 | bo | bo |
El Salvador | 203 | sv | sv |
Guatemala | 204 | gt | gt |
Nicaragua | 205 | ni | ni |
Belize | 206 | bz | bz |
Paraguay | 207 | py | py |
French Guiana | 208 | gf | gf |
Andorra | 209 | ad | ad |
Faroe Islands | 210 | fo | fo |
Niue | 211 | nu | nu |
Kiribati | 212 | ki | ki |
Marshall Islands | 213 | mh | mh |
Palau | 214 | pw | pw |
Samoa | 215 | ws | ws |
Solomon Islands | 216 | sb | sb |
Tuvalu | 217 | tv | tv |
North Korea | 218 | kp | kp |
Vatican City | 219 | va | va |
Eritrea | 220 | er | er |
Ethiopia | 221 | et | et |
Guinea-Bissau | 222 | gw | gw |
Sao Tome and Principe | 223 | st | st |
Turkmenistan | 224 | tm | tm |
Cuba | 225 | cu | cu |
Dominica | 226 | dm | dm |
Saint Kitts and Nevis | 227 | kn | kn |
Aruba | 228 | aw | aw |
Falkland Islands | 229 | fk | fk |
Turks and Caicos Islands | 230 | tc | tc |
Caribbean Netherlands | 231 | bq | bq |
Sint Maarten | 232 | sx | sx |
Montserrat | 233 | ms | ms |
Anguilla | 234 | ai | ai |
Saint Pierre and Miquelon | 235 | pm | pm |
Åland Islands | 236 | ax | ax |
Norfolk Island | 237 | nf | nf |
Antarctica | 238 | aq | aq |
Cook Islands | 239 | ck | ck |
Christmas Island | 240 | cx | cx |
Other regions in Europe | 241 | eu | eu |