Queries the domain name types supported by Alibaba Cloud CDN.
Debugging
Run this operation in OpenAPI Explorer. OpenAPI Explorer automatically calculates the request signature and generates SDK code samples.
Authorization information
The following table lists the authorization details for this operation. Use the information in the Operation column to grant a RAM user or RAM role the permissions to call this operation.
Operation: the value to use in the Action element of a RAM policy to specify the operation on a resource.
Access level: the access level of each operation. Levels are read, write, and list.
Resource type: the type of resource on which you can grant permissions. Bold resource types are required. If the resource type is All Resources, permissions cannot be granted at the resource level.
Condition key: condition keys defined by the cloud service.
Associated operation: other operations that the RAM user or RAM role must have permission to perform in order to complete this operation.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| cdn:DescribeCdnTypes | none | *All Resources | none | none |
Request parameters
No request parameters are required for this operation.
Response elements
| Parameter | Type | Description | Example |
|---|---|---|---|
| RequestId | string | The request ID. | BDA62CE4-3477-439A-B52E-D2D7C829D7C1 |
| CdnTypes | array\<object\> | The domain name types. | |
| CdnType | object | A domain name type. | |
| Type | string | The domain name type. | download |
| Desc | string | The description of the domain name type. | Download Acceleration |
Examples
Sample success response in JSON format:
{
"RequestId": "BDA62CE4-3477-439A-B52E-D2D7C829D7C1",
"CdnTypes": {
"CdnType": [
{
"Type": "download",
"Desc": "Download Acceleration"
}
]
}
}Error codes
For a list of error codes, visit the Service error codes.
Release notes
| Change time | Summary | Operation |
|---|---|---|
| 2024-12-18 | API description update | View details |