Queries the canary release environments that are supported by an edge routine.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameter

Parameter Type Required Example Description
Action String Yes DescribeRoutineCanaryEnvs

The operation that you want to perform. Set the value to DescribeRoutineCanaryEnvs.

Response parameters

Parameter Type Example Description
Content Map Preset_Canary_***

The canary release environments that are supported by the edge routine.

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

The ID of the request.

Examples

Sample requests

http://dcdn.aliyuncs.com/?Action=DescribeRoutineCanaryEnvs&<Common request parameters>

Sample success responses

XML format

<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 format

{
    "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"
        ]
    }
}

Error codes

HttpCode Error code Error message Description
400 EdgeRoutine.GeneralError A server error occurred: %s The error message returned because an error %s occurred on the server. If the problem persists, submit a ticket.

For a list of error codes, visit the API Error Center.