# DescribeAnalysisRegions

## 1. 接口描述

本接口(DescribeAnalysisRegions)用于查询数据统计支持的区域列表。

## 2. 响应结果

| 参数名称      | 类型                                                                                                          | 描述                                         |
| --------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
| regionSet | Array of [AnalysisRegion](https://docs.console.zenlayer.com/api/cn/networking/datastructure#analysisregion) | 区域信息集合。                                    |
| requestId | String                                                                                                      | 唯一请求 ID，每次请求都会返回。定位问题时需要提供该次请求的 requestId。 |

## 3. 代码示例

{% tabs %}
{% tab title="示例" %}

1. **查询数据统计支持的区域列表。**

```json
POST / HTTP/1.1
Host: console.zenlayer.com/api/v2/cdn
Content-Type: application/json
X-TC-Action: DescribeAnalysisRegions
<Common Request Params>

Request:
{
}

Response:
{
    "requestId": "TECDB2BC5-XXXX-XXXX-XXXX-492DC9E7848E",
    "response": {
        "regionSet": [
            {
                "continent": "africa",
                "countries": [
                    "rwanda",
                    "somalia",
                    "libya",
                    "angola",
                    "tanzania",
                    "kenya",
                    "congo",
                    "djibouti",
                    "uganda",
                    "centralafricanrepublic",
                    "seychelles",
                    "chad",
                    "ethiopia",
                    "eritrea",
                    "egypt",
                    "sudan",
                    "southsudan",
                    "burundi",
                    "namibia",
                    "zimbabwe",
                    "zambia",
                    "comoros",
                    "mayotte",
                    "malawi",
                    "lesotho",
                    "botswana",
                    "mauritius",
                    "swaziland",
                    "reunion",
                    "southafrica",
                    "mozambique",
                    "madagascar",
                    "cameroon",
                    "senegal",
                    "congoking",
                    "congo",
                    "liberia",
                    "ivorycoast",
                    "ghana",
                    "equatorialguinea",
                    "nigeria",
                    "burkinafaso",
                    "togo",
                    "guineabissau",
                    "mauritania",
                    "benin",
                    "gabon",
                    "sierraleone",
                    "saotomeandprincipe",
                    "sainthelena",
                    "gambia",
                    "guinea",
                    "papuanewguinea",
                    "guineabissau",
                    "equatorialguinea",
                    "niger",
                    "mali",
                    "somalia",
                    "westernsahara",
                    "tunisia",
                    "algeria",
                    "morocco",
                    "capeverde",
                    "africa-other"
                ]
            },
            {
                "continent": "antarctica",
                "countries": [
                    "frenchsouthernterritories",
                    "australia",
                    "bouvetisland",
                    "southgeorgiaandthesouthsandwichislands",
                    "antarctica-other"
                ]
            },
            {
                "continent": "asia",
                "countries": [
                    "china",
                    "yemen",
                    "iraq",
                    "saudiarabia",
                    "iran",
                    "azerbaijan",
                    "turkmenistan",
                    "syria",
                    "israel",
                    "armenia",
                    "jordan",
                    "lebanon",
                    "palestine",
                    "kuwait",
                    "oman",
                    "qatar",
                    "bahrain",
                    "unitedarabemirates",
                    "turkey",
                    "uzbekistan",
                    "kazakhstan",
                    "georgia",
                    "pakistan",
                    "thailand",
                    "afghanistan",
                    "bangladesh",
                    "indonesia",
                    "tajikistan",
                    "malaysia",
                    "srilanka",
                    "bhutan",
                    "india",
                    "maldives",
                    "britishindianoceanterritory",
                    "nepal",
                    "burma",
                    "mongolia",
                    "kyrgyzstan",
                    "cocosislands",
                    "vietnam",
                    "laos",
                    "taiwan",
                    "philippines",
                    "hongkong",
                    "brunei",
                    "macau",
                    "kampuchea",
                    "southkorea",
                    "japan",
                    "korea",
                    "singapore",
                    "cn2",
                    "asia-other",
                    "asia-vodafone",
                    "asia-softbank",
                    "asia-ntt",
                    "asia-kddi"
                ]
            },
            {
                "continent": "europe",
                "countries": [
                    "cyprus",
                    "greece",
                    "albania",
                    "re",
                    "estonia",
                    "latvia",
                    "ukraine",
                    "lithuania",
                    "sweden",
                    "svalbardandjanmayen",
                    "belarus",
                    "moldova",
                    "finland",
                    "romania",
                    "poland",
                    "hungary",
                    "macedonia",
                    "slovakia",
                    "bulgaria",
                    "norway",
                    "kosovo",
                    "bosnaihercegovina",
                    "serbia",
                    "montenegro",
                    "portugal",
                    "gibraltar",
                    "spain",
                    "italy",
                    "malta",
                    "austria",
                    "denmark",
                    "thefaroeislands",
                    "iceland",
                    "unitedkingdom",
                    "isleofman",
                    "ireland",
                    "switzerland",
                    "netherlands",
                    "belgium",
                    "germany",
                    "luxemburg",
                    "france",
                    "monaco",
                    "andorra",
                    "liechtenstein",
                    "jersey",
                    "isleofman",
                    "guernsey",
                    "czechrepublic",
                    "vatican",
                    "sanmarino",
                    "croatia",
                    "bosniaandherzegovina",
                    "slovenia",
                    "europe-other",
                    "europe-wireless",
                    "europe-firstmedia",
                    "europe-vodafone"
                ]
            },
            {
                "continent": "northamerica",
                "countries": [
                    "barbados",
                    "greenland",
                    "saintpierreandmiquelon",
                    "mexico",
                    "jamaica",
                    "dominicanrepublic",
                    "curacao",
                    "bonairesinteustatiusandsaba",
                    "sintmaarten",
                    "cuba",
                    "martinique",
                    "bahamas",
                    "bermuda",
                    "anguilla",
                    "trinidadandtobago",
                    "saintkittsandnevis",
                    "dominica",
                    "antiguaandbarbuda",
                    "saintlucia",
                    "turksandcaicosislands",
                    "aruba",
                    "britishvirginislands",
                    "saintvincentandgrenadines",
                    "montserrat",
                    "guadeloupe",
                    "saintmartin",
                    "sintmaarten",
                    "saintbarthelemy",
                    "grenada",
                    "caymanislands",
                    "belize",
                    "elsalvador",
                    "guatemala",
                    "honduras",
                    "nicaragua",
                    "costarica",
                    "panama",
                    "haiti",
                    "unitedstates",
                    "puertorico",
                    "unitedstatesvirginislands",
                    "canada",
                    "northamerica-other"
                ]
            },
            {
                "continent": "oceania",
                "countries": [
                    "palau",
                    "easttimor",
                    "thecookislands",
                    "australia",
                    "christmasisland",
                    "themarshallislands",
                    "micronesia",
                    "papuanewguinea",
                    "solomonislands",
                    "kiribati",
                    "tuvalu",
                    "nauru",
                    "vanuatu",
                    "newcaledonia",
                    "norfolkisland",
                    "newzealand",
                    "fiji",
                    "northernmarianaislands",
                    "frenchpolynesia",
                    "pitcairnislands",
                    "tokelau",
                    "tonga",
                    "wallisandfutunaislands",
                    "americansamoa",
                    "samoa",
                    "niue",
                    "guam",
                    "northernmarianaislands",
                    "americansamoa",
                    "oceania-other"
                ]
            },
            {
                "continent": "southamerica",
                "countries": [
                    "columbia",
                    "frenchguiana",
                    "guyana",
                    "frenchguiana",
                    "suriname",
                    "brazil",
                    "falklandislands",
                    "argentina",
                    "paraguay",
                    "uruguay",
                    "venezuela",
                    "ecuador",
                    "peru",
                    "chile",
                    "bolivia"
                ]
            }
        ],
        "requestId": "TECDB2BC5-XXXX-XXXX-XXXX-492DC9E7848E"
    }
}
```

{% endtab %}
{% endtabs %}

## 4. 错误码

下面包含业务逻辑中遇到的错误码，其他错误码见[公共错误码](https://docs.console.zenlayer.com/api/cn/api-introduction/instruction/commonerrorcode)
