All Products
Search
Document Center

DescribeDcdnService

Last Updated: Mar 18, 2019

Description

You can call this operation to query the detailed information about the DCDN service, including the current billing method, billing method to be used, activation time, and current status.

Request parameters

Name Type Required Description
Action String Yes The operation that you want to perform.
Set the value to DescribeDcdnService.

Response parameters

Name Type Description
InternetChargeType String The current billing method. Valid values:
PayByTraffic
PayByBandwidth
PayByBandwidth95
PayByBandwidth_monthavg
PayByBandwidth_month4th
PayByBandwidth_monthday95avg
PayByBandwidth_nighthalf95
OpeningTime String The time when the DCDN service is enabled.
The time format follows the ISO8601 standard.
ChangingChargeType String The billing method to be used.
PayByTraffic
PayByBandwidth
PayByBandwidth95
PayByBandwidth_monthavg
PayByBandwidth_month4th
PayByBandwidth_monthday95avg
PayByBandwidth_nighthalf95
ChangingAffectTime Date The time when the change of billing method starts to take effect, using the GMT time.
OperationLocks Struct The list of reasons why the resource package has been suspended, such as overdue payments and security risks.

For example, the value “financial” indicates that the user has overdue payments.

Examples

Sample requests

  1. https://dcdn.aliyuncs.com?&Action=DescribeDcdnService&<Common request parameters>

Sample responses

JSON format

  1. {
  2. "ChangingChargeType": "PayByBandwidth",
  3. "OpeningTime": "2018-03-19T11:16:11Z",
  4. "InstanceId": "Eexample ID",
  5. "RequestId": "EF2AEBC2-EDBD-41CF-BF64-7E095D42D6EF",
  6. "ChangingAffectTime": "2018-03-31T16:00:00Z",
  7. "OperationLocks": {
  8. "LockReason": [
  9. {
  10. "LockReason": "financial"
  11. }
  12. ]
  13. },
  14. "InternetChargeType": "PayByTraffic"
  15. }

Error codes

Error code Error message HTTP status code
OperationDenied Your account does not open dcdn service yet 403