DescribeCertificates
1. API Description
This API is used to query the list of certificates.
2. Request Parameters
The following list includes the request parameters required by the API:
Parameter Name | Required | Type | Description |
---|---|---|---|
certificateIds | No | Array of String | Certificate IDs. Supports querying up to 100 IDs. |
certificateLabel | No | String | Custom certificate label |
san | No | String | Subject Alternative Name (domain associated with the certificate) |
resourceGroupId | No | String | ID of the resource group. If not provided, returns instances from all visible resource groups for the user. |
expired | No | Boolean | Whether the certificate is expired |
pageSize | No | Integer | Page size of the results. Defaults to 20, maximum is 1000. |
pageNum | No | Integer | Page number of the results. Defaults to 1. |
3. Output Parameters
Parameter Name | Type | Description |
---|---|---|
requestId | String | Unique request ID. Returned with every request. This request's requestId is needed when troubleshooting. |
totalCount | Integer | Total number of items that match the criteria. |
dataSet | Array of CertificateInfo | Result set |
4. Code Example
Paginate query for certificate list
5. Error Codes
The following includes error codes encountered in business logic. For other error codes, see Common Error Codes.
Last updated