Mengaktifkan atau menonaktifkan Sertifikat ShangMi (SM) untuk suatu domain.
Deskripsi operasi
Anda dapat memanggil operasi ini hingga 30 kali per detik per akun.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:SetCdnDomainSMCertificate |
none |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
Nama domain yang dipercepat untuk mana Anda ingin mengonfigurasi Sertifikat SM. Catatan
Nama domain harus menggunakan akselerasi HTTPS. |
example.com |
| CertIdentifier |
string |
Yes |
ID Sertifikat SM yang ingin Anda konfigurasikan. Pengenal sertifikat tersebut. Nilainya berupa Certificate ID-cn-hangzhou. Misalnya, jika ID sertifikat adalah 123, atur nilai parameter ini menjadi 123-cn-hangzhou. |
1234****-cn-hangzhou |
| SSLProtocol |
string |
Yes |
Menentukan apakah akan mengaktifkan sertifikat SSL. Nilai yang valid:
|
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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.