调用DescribeRoutineCanaryEnvs获取边缘程序ER支持的Canary环境列表。

调试

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

请求参数

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

系统规定参数。取值:DescribeRoutineCanaryEnvs

返回数据

名称 类型 示例值 描述
Content Map Preset_Canary_***

目前支持的Canary环境列表。

RequestId String CDCD94C0-F7FE-412F-B8F8-7E3C610C78E5

请求ID。

示例

请求示例

http://dcdn.aliyuncs.com/?Action=DescribeRoutineCanaryEnvs&<公共请求参数>

正常返回示例

XML格式

<RequestId>CDCD94C0-F7FE-412F-B8F8-7E3C610C78E5</RequestId>
<Content>
    <CanaryEnvs>Preset_Canary_Guangdong</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Sichuan</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Overseas</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Beijing</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Neimenggu</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Hunan</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Hainan</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Guizhou</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Liaoning</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Zhejiang</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Hubei</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Macau</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Shanghai</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Anhui</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Taiwan</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Shandong</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Ningxia</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Chongqing</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Jilin</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Jiangsu</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Yunnan</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Hong-Kong</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Hebei</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Shanxi</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Jiangxi</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Heilongjiang</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Xizang</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Guangxi</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Shaanxi</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Gansu</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Qinghai</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Xinjiang</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Tianjin</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Fujian</CanaryEnvs>
    <CanaryEnvs>Preset_Canary_Henan</CanaryEnvs>
</Content>

JSON格式

{
    "RequestId": "CDCD94C0-F7FE-412F-B8F8-7E3C610C78E5",
    "Content": {
        "CanaryEnvs": [
            "Preset_Canary_Guangdong",
            "Preset_Canary_Sichuan",
            "Preset_Canary_Overseas",
            "Preset_Canary_Beijing",
            "Preset_Canary_Neimenggu",
            "Preset_Canary_Hunan",
            "Preset_Canary_Hainan",
            "Preset_Canary_Guizhou",
            "Preset_Canary_Liaoning",
            "Preset_Canary_Zhejiang",
            "Preset_Canary_Hubei",
            "Preset_Canary_Macau",
            "Preset_Canary_Shanghai",
            "Preset_Canary_Anhui",
            "Preset_Canary_Taiwan",
            "Preset_Canary_Shandong",
            "Preset_Canary_Ningxia",
            "Preset_Canary_Chongqing",
            "Preset_Canary_Jilin",
            "Preset_Canary_Jiangsu",
            "Preset_Canary_Yunnan",
            "Preset_Canary_Hong-Kong",
            "Preset_Canary_Hebei",
            "Preset_Canary_Shanxi",
            "Preset_Canary_Jiangxi",
            "Preset_Canary_Heilongjiang",
            "Preset_Canary_Xizang",
            "Preset_Canary_Guangxi",
            "Preset_Canary_Shaanxi",
            "Preset_Canary_Gansu",
            "Preset_Canary_Qinghai",
            "Preset_Canary_Xinjiang",
            "Preset_Canary_Tianjin",
            "Preset_Canary_Fujian",
            "Preset_Canary_Henan"
        ]
    }
}

错误码

HttpCode 错误码 错误信息 描述
400 EdgeRoutine.GeneralError A server error occurred: %s 后端服务器发生错误:%s 。如果重试多次依然报错,请提交工单。

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