Mengambil detail sertifikat berdasarkan ID sertifikat.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeCdnCertificateDetailById |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CertId |
string |
Yes |
ID sertifikat. |
12345 |
| CertRegion |
string |
No |
Wilayah sertifikat. Nilai yang valid:
Nilai default: cn-hangzhou Valid values:
|
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| CertName |
string |
Nama sertifikat. |
yourCertName |
| Key |
string |
Kunci publik sertifikat. |
587f6db37e3a2f01047b032b739cbe31 |
| Cert |
string |
Konten sertifikat. |
-----BEGINCERTIFICATE-----xxx-----END CERTIFICATE----- |
| CertId |
integer |
ID sertifikat. |
12345 |
| RequestId |
string |
ID permintaan. |
C370DAF1-C838-4288-A1A0-9A87633D248E |
Contoh
Respons sukses
JSONformat
{
"CertName": "yourCertName\n",
"Key": "587f6db37e3a2f01047b032b739cbe31\n",
"Cert": "-----BEGINCERTIFICATE-----xxx-----END CERTIFICATE-----\n",
"CertId": 12345,
"RequestId": "C370DAF1-C838-4288-A1A0-9A87633D248E\n"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidCertId.NotFound | The certId does not exist. | The certificate ID does not exist. |
| 400 | Abs.CertRegion.ValueNotSupported | CertRegion is not supported. | The certificate region is not supported. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.