AssignCertificateCount
Allocates the number of certificates to use.
Operation description
This operation queries the number of CA certificates (including root CA certificates and subordinate CA certificates) that you have created.
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 services. Make API calls at a reasonable rate.
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 Id 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. You can call the ListPcaCaCertificate operation to obtain a list of valid CAs that contain IssuerIdentifier. Required: You must specify at least one of Id and CaIdentifier. If neither is specified, the API returns MissingParameter.Id/CaIdentifier (400). |
1f0167b4-ee84-XXX-49bc4d39fa68 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
OpenApiResponse |
||
| RequestId |
string |
The request ID. |
E77C4794-F24F-58CB-9929-F0F0C0EDE7B2 |
| CertCount |
integer |
The number of allocated certificates. |
2 |
| CurrentYearFreeCertCount |
integer |
The number of free certificates for the current year. [Deprecated] |
0 |
Examples
Success response
JSON format
{
"RequestId": "E77C4794-F24F-58CB-9929-F0F0C0EDE7B2",
"CertCount": 2,
"CurrentYearFreeCertCount": 0
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.