Allocates the certificate usage quota.
Operation description
Queries the number of CA certificates that you have created, including root CA certificates and subordinate CA certificates.
QPS limit
The QPS limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation as needed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:AssignCertificateCount |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
No |
The ID of the data source to which the certificate belongs. Required: You must specify at least one of this parameter and CaIdentifier. If neither is specified, the API returns MissingParameter.Id/CaIdentifier (400). |
33285 |
| CertTotalCount |
integer |
No |
The total number of certificate records. If this parameter is not specified, the API returns MissingParameter.CertTotalCount (400). |
5 |
| CaIdentifier |
string |
No |
The identifier of the CA certificate. Only end-entity (SUB_ROOT) CA instances are accepted. Call the ListPcaCaCertificate operation to obtain a list of valid CAs that contain IssuerIdentifier. Required: You must specify at least one of this parameter and Id. If neither is specified, the API returns MissingParameter.Id/CaIdentifier (400). |
1f0167b4-ee84-XXX-49bc4d39fa68 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
OpenApiResponse |
||
| CertCount |
integer |
The number of allocated certificates. |
2 |
| CurrentYearFreeCertCount |
integer |
The number of free certificates for the current year. [Deprecated]. |
0 |
| RequestId |
string |
The request ID. |
E77C4794-F24F-58CB-9929-F0F0C0EDE7B2 |
Examples
Success response
JSON format
{
"CertCount": 2,
"CurrentYearFreeCertCount": 0,
"RequestId": "E77C4794-F24F-58CB-9929-F0F0C0EDE7B2"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.