You can call this operation to query the status of the Dynamic Route for CDN (DCDN) service. The status information includes the current billing method, the service activation time, the next effective billing method, and the current service status.

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 DescribeDcdnService

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

Response parameters

Parameter Type Example Description
ChangingAffectTime String 2018-03-31T16:00:00Z

The time when the change of the billing method starts to take effect. The time must be in GMT.

ChangingChargeType String PayByBandwidth

The next effective billing method. Valid values:

  • PayByTraffic
  • PayByBandwidth
  • PayByBandwidth95
  • PayByBandwidth_monthavg
  • PayByBandwidth_month4th
  • PayByBandwidth_monthday95avg
  • PayByBandwidth_nighthalf95
InstanceId String Eexample ID

The ID of the instance.

InternetChargeType String PayByTraffic

The current billing method. Valid values:

  • PayByTraffic
  • PayByBandwidth
  • PayByBandwidth95
  • PayByBandwidth_monthavg
  • PayByBandwidth_month4th
  • PayByBandwidth_monthday95avg
  • PayByBandwidth_nighthalf95
OpeningTime String 2018-03-19T11:16:11Z

The time when the DCDN service was activated. The time follows the ISO 8601 standard.

OperationLocks

The lock status of the DCDN service.

LockReason String financial

The reason why the service was locked. For example: financial (overdue payment).

RequestId String EF2AEBC2-EDBD-41CF-BF64-7E095D42D6EF

The ID of the request.

WebsocketChangingTime String 2018-03-19T11:16:11Z

The time when the changes of the WebSocket configuration take effect. The value is the same as that of the ChangingAffectTime parameter. This parameter can be displayed on the console if it is later than the current time.

WebsocketChangingType String websocketbps

The next effective billing method of WebSocket. Valid values: websockettraffic and websocketbps.

WebsocketType String websocketbps

The current effective billing method of WebSocket. Valid values: websockettraffic and websocketbps.

Examples

Sample requests

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

Sample success responses

XML format

<DescribeDcdnServiceResponse>
	  <ChangingChargeType>PayByBandwidth</ChangingChargeType>
	  <OpeningTime>2018-03-19T11:16:11Z</OpeningTime>
	  <InstanceId>Eexample ID</InstanceId>
	  <RequestId>EF2AEBC2-EDBD-41CF-BF64-7E095D42D6EF</RequestId>
	  <ChangingAffectTime>2018-03-31T16:00:00Z</ChangingAffectTime>
	  <OperationLocks>
		    <LockReason>
			      <LockReason>financial</LockReason>
		    </LockReason>
	  </OperationLocks>
	  <InternetChargeType>PayByTraffic</InternetChargeType>
</DescribeDcdnServiceResponse>

JSON format

{
	"OpeningTime":"2018-03-19T11:16:11Z",
	"ChangingChargeType":"PayByBandwidth",
	"RequestId":"EF2AEBC2-EDBD-41CF-BF64-7E095D42D6EF",
	"InstanceId":"Eexample ID",
	"ChangingAffectTime":"2018-03-31T16:00:00Z",
	"OperationLocks":{
		"LockReason":[
			{
				"LockReason":"financial"
			}
		]
	},
	"InternetChargeType":"PayByTraffic"
}

Error codes

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