Domain name for API request: ssl.intl.tencentcloudapi.com.
This API is used to query the result of an async task created with CreateCertificateBindResourceSyncTask
to query cloud resources associated with a certificate. The following types of cloud resources are supported: CLB, CDN, WAF, LIVE, VOD, DDOS, TKE, APIGATEWAY, TCB, and TEO (EDGEONE).
A maximum of 10 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeCertificateBindResourceTaskResult. |
Version | Yes | String | Common Params. The value used for this API: 2019-12-05. |
Region | No | String | Common Params. This parameter is not required for this API. |
TaskIds.N | Yes | Array of String | The task IDs, which are used to query the results of associated cloud resources, 100 IDs at most. |
Parameter Name | Type | Description |
---|---|---|
SyncTaskBindResourceResult | Array of SyncTaskBindResourceResult | The results of the async tasks for querying associated cloud resources. Note: This field may return null, indicating that no valid values can be obtained. |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to query the total number of cloud resources associated with a certificate.
POST / HTTP/1.1
Host: ssl.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeCertificateBindResourceTaskResult
<Common request parameters>
{
"TaskIds": [
"abc"
]
}
{
"Response": {
"SyncTaskBindResourceResult": [
{
"TaskId": "abc",
"BindResourceResult": [
{
"ResourceType": "abc",
"BindResourceRegionResult": [
{
"Region": "abc",
"TotalCount": 1
}
]
}
],
"Status": 1,
"Error": {
"Code": "abc",
"Message": "abc"
},
"CacheTime": "abc"
}
],
"RequestId": "abc"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation | Operation failed. |
FailedOperation.CertificateSyncTaskIdInvalid |
Was this page helpful?