Domain name for API request: ssl.tencentcloudapi.com.
This API is used to create an async task for querying the cloud resources associated with a certificate. If such a task already exists under the certificate ID, the ID of this task is returned as the result. The following types of cloud resources are supported: CLB, CDN, WAF, LIVE, VOD, DDOS, TKE, APIGATEWAY, TCB, and TEO (EDGEONE). You can query the result of this task using the DescribeCertificateBindResourceTaskResult
API.
A maximum of 20 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: CreateCertificateBindResourceSyncTask. |
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. |
CertificateIds.N | Yes | Array of String | The list of certificate IDs, 100 IDs at most. |
IsCache | Yes | Integer | Whether to use the cached results. Valid values: 1 (default) for yes and 0 for no. If any task completed within last 30 minutes exists under the current certificate ID, and the cache is used, the query result of the last task completed within 30 minutes will be read. |
Parameter Name | Type | Description |
---|---|---|
CertTaskIds | Array of CertTaskId | The IDs of async tasks for querying cloud resources associated with a certificate. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: ssl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateCertificateBindResourceSyncTask
<Common request parameters>
{
"CertificateIds": [
"abc"
],
"IsCache": 1
}
{
"Response": {
"CertTaskIds": [
{
"CertId": "abc",
"TaskId": "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.CertificateHostResourceInnerInterrupt | Unable to use the deployment feature because the login account is an internal account with too many instance resources. Please contact us to handle it. |
FailedOperation.CertificateNotFound | The certificate does not exist. |
Was this page helpful?