History
Introduction
API Category
Making API Requests
Region APIs
Instance APIs
Cloud Hosting Cluster APIs
Image APIs
Instance Launch Template APIs
Placement Group APIs
Key APIs
Security Group APIs
Network APIs
Data Types
Error Codes
Domain name for API request: wedata.intl.tencentcloudapi.com.
Associate a project cluster.
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: AddCalcEnginesToProject. |
| Version | Yes | String | Common Params. The value used for this API: 2025-08-06. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| ProjectId | Yes | String | Modified project ID. |
| DLCInfo.N | Yes | Array of DLCClusterInfo | DLC cluster information. |
| Parameter Name | Type | Description |
|---|---|---|
| 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. |
POST / HTTP/1.1
Host: wedata.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: AddCalcEnginesToProject
<Common request parameters>
{
"ProjectId": "2916098084817846272",
"DLCInfo": [
{
"ComputeResources": [
"dlc_linau6d4bu8bd5u52ffu52a8"
],
"Region": "ap-guangzhou",
"DefaultDatabase": "lgx_test_0825"
}
]
}{
"Response": {
"RequestId": "eacab638-a5bc-4f23-8284-ac09cde185e5"
}
}
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. |
| InvalidParameter | Parameter error. |
| InvalidParameter.WorkspaceNotExist | Workspace does not exist. |
フィードバック