Domain name for API request: csip.intl.tencentcloudapi.com.
Bind RASP or Flagship Edition Authorization to a specified order. Execute asynchronously and return TaskId to query progress. LicenseType=rasp binds RASP, LicenseType=enterprise_hp binds flagship host authorization. AssetType is case-sensitive for host/container node/EKS.
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: ModifyCSIPRaspLicenseBinds. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| ResourceId | Yes | String | Resource ID (designated binding to which order) |
| LicenseType | Yes | String | Authorization type. Enumeration values: rasp (RASP) / enterprise_hp (flagship edition). Defaults to rasp if empty. |
| AssetType | Yes | String | Asset type. Enumeration values: host / cluster (container node) / eks (EKS super node). Defaults to host when empty. |
| InstanceIDs.N | No | Array of String | List of instance IDs to be bound (optional when IsAll=true) |
| IsAll | No | Boolean | Whether to bind all unbound machines (when true, the difference is automatically calculated) |
| Parameter Name | Type | Description |
|---|---|---|
| TaskId | Integer | Asynchronous task ID, used for calling DescribeCSIPLicenseBindSchedule to poll the progress |
| 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: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyCSIPRaspLicenseBinds
<Common request parameters>
{
"ResourceId": "csip-****-res-***",
"LicenseType": "RASP",
"AssetType": "host",
"InstanceIDs": [
"ins-78ip****"
],
"IsAll": false
}
{
"Response": {
"TaskId": 7527,
"RequestId": "ef316618-7588-4db9-b951-9ec75bd79d34"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
文档反馈