Mengaktifkan atau menonaktifkan Sertifikat ShangMi (SM) untuk Nama domain.
Deskripsi operasi
Each account can call this operation up to 30 times per second.
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 akselerasi yang ingin Anda konfigurasikan dengan Sertifikat SM. Catatan
Nama domain harus menggunakan akselerasi HTTPS. |
example.com |
| CertIdentifier |
string |
Yes |
ID Sertifikat SM yang ingin Anda konfigurasikan. Nilai dalam format ID Sertifikat-cn-hangzhou. Misalnya, jika ID Sertifikat adalah 123, atur parameter ini ke 123-cn-hangzhou. |
1234****-cn-hangzhou |
| SSLProtocol |
string |
Yes |
Apakah akan mengaktifkan Sertifikat SSL. Nilai valid:
|
on |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
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.