Queries the CDN service status for your account, including whether the service is active, available, and whether your account has overdue payments.
Debugging
Run this operation in OpenAPI Explorer to debug it and generate SDK code samples automatically.
Authorization information
The following table lists the authorization details for this operation. Use the Action policy element to grant a RAM user or RAM role permission to call this operation.
Operation: the value to use in the
Actionelement to specify the operation on a resource.Access level: the access level of the operation. Valid values: read, write, and list.
Resource type: the type of resource on which you can grant permissions to a RAM user or RAM role. Bold resource types are required. If the operation cannot be granted at the resource level, All Resources appears in the Resource type column.
Condition key: the condition key 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:DescribeUserCdnStatus | none | *All Resources* | none | none |
Request parameters
This operation has no request parameters.
Response parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| InDebt | boolean | Specifies whether your account has overdue payments. Valid values: true, false. | false |
| OnService | boolean | Specifies whether the CDN service is available. Valid values: true, false. | true |
| RequestId | string | The request ID. | 39B1DC7F-9D25-5D54-8F02-6EE26A7F48CA |
| InDebtOverdue | boolean | Specifies whether the grace period for overdue payments has expired. Valid values: true, false. | false |
| Enabled | boolean | Specifies whether Alibaba Cloud CDN is activated for your account. Valid values: true, false. | true |
Examples
Sample success responses
JSON format
{
"InDebt": false,
"OnService": true,
"RequestId": "39B1DC7F-9D25-5D54-8F02-6EE26A7F48CA",
"InDebtOverdue": false,
"Enabled": true
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2024-12-18 | API description update | View change details |