Queries the supported specifications for routines. The private preview supports the following CPU time slice specifications: 5 ms, 50 ms, and 100 ms.

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 parameters

Parameter Type Required Example Description
Action String Yes DescribeRoutineSpec

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

Response parameters

Parameter Type Example Description
Content Map 5 ms, 50 ms, and 100 ms

The specification of the CPU time slice. Valid values: 5 ms, 50 ms, and 100 ms.

RequestId String AE4E1B80-D5F3-47DB-824A-DA98A21854C8

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

<RequestId>AE4E1B80-D5F3-47DB-824A-DA98A21854C8</RequestId>
<Content>
    <Specs>5ms</Specs>
    <Specs>50ms</Specs>
    <Specs>100ms</Specs>
</Content>

JSON format

{
    "RequestId": "AE4E1B80-D5F3-47DB-824A-DA98A21854C8",
    "Content": {
        "Specs": [
            "5ms",
            "50ms",
            "100ms"
        ]
    }
}

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.