Queries end-entity instances.
Operation description
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 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 Certificate Management Service 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.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:ListAllEndEntityInstance |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ParentId |
integer |
No |
The ID of the parent instance. |
37633 |
| RecursiveChildren |
integer |
No |
Specifies whether to return information about the billing type in the response. Valid values: -0: The information is not returned. -1: The information is returned. |
9 |
| CurrentPage |
integer |
No |
The page number of the instance list. |
1 |
| ShowSize |
integer |
No |
The maximum number of entries to display on each page for a paged query. |
20 |
| MaxResults |
integer |
No |
The maximum number of entries to return for this call. |
20 |
| NextToken |
string |
No |
The token that is used to retrieve the next page of results. You can get this token from the `NextToken` response parameter of the previous query. |
1d2db86sca4384811e0b5e8707e68181f |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
OpenApiResponse<PagedResultData<Map<String, Object>>> |
||
| 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 |
Examples
Success response
JSON format
{
"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
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.