Anda dapat memanggil operasi OpenDcdnService untuk mengaktifkan DCDN.
Deskripsi operasi
Anda hanya dapat mengaktifkan DCDN satu kali per Akun Alibaba Cloud. Akun Anda harus telah menyelesaikan autentikasi nama asli.
Frekuensi pemanggilan dibatasi hingga 5 kali per detik per pengguna.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:OpenDcdnService |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BillType |
string |
Yes |
Metode penagihan untuk layanan ini. Nilai yang valid:
|
PayByTraffic |
| WebsocketBillType |
string |
Yes |
Metode penagihan untuk layanan WebSocket. Nilai yang valid:
|
websockettraffic |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
97C68796-EB7F-4D41-9D5B-12B909D76503 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "97C68796-EB7F-4D41-9D5B-12B909D76503"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DcdnService.HasOpened | Your DCDN service has been activated. | DCDN is activated. |
| 400 | InvalidComponent | The specified value of parameter BillType is not valid. | The specified metering method is invalid. Specify another metering method and try again. |
| 400 | NoRealNameAuthentication | Real name authentication is needed. | Your account has not passed real-time verification. |
| 400 | IncompleteInformation | Your information is incomplete. Complete your information before the operation. | You must provide all the required information. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.