Anda dapat memanggil operasi SetDcdnDomainSMCertificate untuk mengonfigurasi Sertifikat SM pada nama domain yang dipercepat tertentu.
Deskripsi operasi
Frekuensi pemanggilan dibatasi hingga 30 kali per detik per pengguna.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:SetDcdnDomainSMCertificate |
update |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
Nama domain yang dipercepat tempat Anda ingin mengonfigurasi Sertifikat SM. Catatan
Nama domain harus menggunakan akselerasi HTTPS. |
example.com |
| CertIdentifier |
string |
Yes |
ID sertifikat diikuti dengan "-cn-hangzhou". Misalnya, jika ID sertifikat adalah `123`, nilai CertIdentifier adalah `123-cn-hangzhou`. |
123-cn-hangzhou |
| SSLProtocol |
string |
Yes |
Menentukan apakah akan mengaktifkan Sertifikat SM.
|
on |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
0AEDAF20-4DDF-4165-8750-47FF9C1929C8 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C8"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidCertIdentifier.ValueNotSupported | The specified value of parameter CertIdentifier is not valid. | The CertIdentifier parameter is set to an invalid value. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.