Membuat kueri sertifikat certificate authority (CA).
Deskripsi operasi
Untuk menjamin kerahasiaan data, hanya sidik jari dan nama sertifikat yang dikembalikan. Konten sertifikat tidak dikembalikan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
slb:DescribeCACertificates |
list |
*CaCertificate
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
Wilayah sertifikat CA. Anda dapat memanggil operasi DescribeRegions untuk membuat kueri daftar wilayah terbaru. |
cn-hangzhou |
| CACertificateId |
string |
No |
ID sertifikat CA. |
139a00604bd-cn-east-hangzho**** |
| ResourceGroupId |
string |
No |
ID grup sumber daya. |
rg-atstuj3rtop**** |
| Tag |
array<object> |
No |
Tag sertifikat CA. |
|
|
object |
No |
|||
| Key |
string |
No |
Kunci tag N. Nilai N yang valid: 1 hingga 20. Kunci tag tidak boleh berupa string kosong. Kunci tag dapat memiliki panjang hingga 64 karakter, dan tidak boleh mengandung |
test |
| Value |
string |
No |
Nilai tag N. Nilai N yang valid: 1 hingga 20. Nilai tag dapat berupa string kosong. Nilai tag dapat memiliki panjang hingga 128 karakter, dan tidak boleh mengandung |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
365F4154-92F6-4AE4-92F8-7FF****** |
| CACertificates |
object |
||
| CACertificate |
array<object> |
Informasi tentang sertifikat CA. |
|
|
array<object> |
|||
| CreateTimeStamp |
integer |
The timestamp when the CA certificate was created. Unit: milliseconds. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. |
1504147745000 |
| ExpireTime |
string |
The time when the CA certificate expires. The time is in the |
2024-11-21T06:04:25Z |
| CreateTime |
string |
The time when the CA certificate was created. The time is in the |
2021-08-31T02:49:05Z |
| ExpireTimeStamp |
integer |
The timestamp that indicates when the CA certificate expires. Unit: milliseconds. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. |
1732169065000 |
| CACertificateId |
string |
The CA certificate ID. |
139a00604bd-cn-east-hangzho**** |
| RegionId |
string |
The region of the CA certificate. |
cn-hangzhou |
| Fingerprint |
string |
The fingerprint of the CA certificate. |
79:43:fb:7d:a4:7f:44:32:61:16:57:17:e3:e8:b7:36:03:57:f6:89 |
| ResourceGroupId |
string |
The resource group ID. |
rg-atstuj3rtop**** |
| CommonName |
string |
The domain name of the CA certificate. |
www.example.com |
| CACertificateName |
string |
The CA certificate name. |
test |
| Tags |
object |
||
| Tag |
array<object> |
The tag. |
|
|
object |
|||
| TagValue |
string |
The tag value. |
1 |
| TagKey |
string |
The tag key. |
test |
Contoh
Respons sukses
JSONformat
{
"RequestId": "365F4154-92F6-4AE4-92F8-7FF******",
"CACertificates": {
"CACertificate": [
{
"CreateTimeStamp": 1504147745000,
"ExpireTime": "2024-11-21T06:04:25Z",
"CreateTime": "2021-08-31T02:49:05Z",
"ExpireTimeStamp": 1732169065000,
"CACertificateId": "139a00604bd-cn-east-hangzho****",
"RegionId": "cn-hangzhou",
"Fingerprint": "79:43:fb:7d:a4:7f:44:32:61:16:57:17:e3:e8:b7:36:03:57:f6:89",
"ResourceGroupId": "rg-atstuj3rtop****",
"CommonName": "www.example.com",
"CACertificateName": "test",
"Tags": {
"Tag": [
{
"TagValue": "1",
"TagKey": "test"
}
]
}
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Abs.CACertificateIdAndResourceGroupId.MissMatch | CACertificateId or ResourceGroupId miss match. | |
| 400 | LocationServiceTimeout | Location service connection timeout. Please try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.