Mengkueri instans entitas akhir di bawah otoritas sertifikat pribadi (CA).
Deskripsi operasi
This operation queries the status of a private Certificate Authority (CA) instance by its ID. It returns details for a private CA instance that you purchased in the Certificate Management Service (CAS) console. These details include the instance status, the number of certificates it contains, and the number of issued certificates.
Before calling this operation, purchase a private CA from the CAS console. For more information, see Purchase a private CA.
QPS limits
The queries per second (QPS) limit for this operation is 10 calls per second for each user. If you exceed the limit, API calls are throttled, which may affect your business. Plan your calls accordingly.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:ListAllEndEntityInstance |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ParentId |
integer |
No |
ID instans induk. |
37633 |
| RecursiveChildren |
integer |
No |
Apakah akan mengembalikan informasi tentang tipe penagihan di tanggapan. Nilai valid: -0: Informasi tidak dikembalikan. -1: Informasi dikembalikan. |
9 |
| CurrentPage |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| ShowSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 20. |
20 |
| MaxResults |
integer |
No |
Jumlah entri maksimum yang dikembalikan untuk panggilan ini. |
20 |
| NextToken |
string |
No |
Token yang digunakan untuk mengambil halaman hasil berikutnya. Anda bisa mendapatkan token ini dari parameter respons NextToken pada kueri sebelumnya. |
1d2db86sca4384811e0b5e8707e68181f |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
443C05A8-6C16-52B5-BB97-5D8798F7A49A |
| TotalCount |
integer |
The total number of records. |
23 |
| PageCount |
integer |
The total number of pages. |
1 |
| CurrentPage |
integer |
The page number of the instance list. |
1 |
| ShowSize |
integer |
The maximum number of entries displayed on each page of a paged query. |
10 |
| List |
array<object> |
The list of instances. |
|
|
object |
The list of instances. |
||
|
any |
The details of the end-entity instance. |
{ "CurrentYearFreeCertCount": 0, "ParentId": 36739, "Trial": false, "InstanceId": "cas_deposit-cn-XXX", "IssuedCertCount": 29, "Algorithm": "RSA", "Gift": true, "AliasName": "pca-subordinate-XXX", "CertCount": 60, "CurrentYearIssuedFreeCertCount": 0, "Id": 36740, "HistoricalIssuedFreeCertCount": 0, "Detail": { "Identifier": "1f0d426f-8645-62ef-9bd1-XXX", "Organization": "a", "SerialNumber": "XXX", "OrganizationUnit": "a", "SubjectDN": "C=AE,ST=a,L=a,O=a,OU=a,CN=a", "CommonName": "a" } } |
|
| NextToken |
string |
The token that you can use to retrieve the next page of results. If this parameter is empty, all results have been returned. |
1d2db86sca4384811e0b5e8707e68181f |
| MaxResults |
integer |
The maximum number of entries returned in this call. |
20 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "443C05A8-6C16-52B5-BB97-5D8798F7A49A",
"TotalCount": 23,
"PageCount": 1,
"CurrentPage": 1,
"ShowSize": 10,
"List": [
{
"key": "\n {\n \"CurrentYearFreeCertCount\": 0,\n \"ParentId\": 36739,\n \"Trial\": false,\n \"InstanceId\": \"cas_deposit-cn-XXX\",\n \"IssuedCertCount\": 29,\n \"Algorithm\": \"RSA\",\n \"Gift\": true,\n \"AliasName\": \"pca-subordinate-XXX\",\n \"CertCount\": 60,\n \"CurrentYearIssuedFreeCertCount\": 0,\n \"Id\": 36740,\n \"HistoricalIssuedFreeCertCount\": 0,\n \"Detail\": {\n \"Identifier\": \"1f0d426f-8645-62ef-9bd1-XXX\",\n \"Organization\": \"a\",\n \"SerialNumber\": \"XXX\",\n \"OrganizationUnit\": \"a\",\n \"SubjectDN\": \"C=AE,ST=a,L=a,O=a,OU=a,CN=a\",\n \"CommonName\": \"a\"\n }\n }\n "
}
],
"NextToken": "1d2db86sca4384811e0b5e8707e68181f",
"MaxResults": 20
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.