Domain name for API request: tcss.intl.tencentcloudapi.com.
This API is used to modify an accessed security log object.
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: ModifySecLogJoinObjects. |
| Version | Yes | String | Common Params. The value used for this API: 2020-11-01. |
| Region | No | String | Common Params. This parameter is not required. |
| LogType | Yes | String | Log type Container bash: container_bash Container startup: container_launch K8s API: k8s_api |
| BindList.N | No | Array of String | Bound list |
| UnBindList.N | No | Array of String | List of assets to be unbound. When the node scope involves all nodes, this parameter indicates the list of assets to be excluded. |
| NodeType | No | String | Node type.NORMAL: General node (default)SUPER: Super node |
| RangeType | No | Integer | Log node scope type. 0: specified; 1: all. |
| AutoJoin | No | Boolean | Whether new assets are accessed automatically. This parameter is valid only when the node scope involves all nodes. |
| 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. |
Modify the security log access object.
POST / HTTP/1.1
Host: tcss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifySecLogJoinObjects
<Common request parameters>
{
"LogType": "container_bash",
"BindList": [
"3b6b1bbc-1c7a-47e2-9ca8-e9c27ec9d068"
],
"UnBindList": [],
"NodeType": "NORMAL",
"RangeType": 0,
"AutoJoin": false
}
{
"Response": {
"RequestId": "29b37d86-f63d-43d1-b21a-640e82965198"
}
}
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 |
|---|---|
| InternalError | An internal error occurred. |
| InvalidParameter | The parameter is incorrect. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários