Domain name for API request: teo.tencentcloudapi.com.
This API is used to modify a shipping task.
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: ModifyLogTopicTask. |
Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
ZoneId | Yes | String | ID of the site. |
LogSetRegion | Yes | String | Region of the logset. |
LogSetId | Yes | String | ID of the logset. |
TopicId | Yes | String | ID of the log topic. |
EntityType | No | String | Type of the shipping entity. Values:domain : L7 acceleration logs;application : L4 acceleration logs;web-rateLiming : Rate limiting logs;web-attack : Web security logs;web-rule : Custom rule logs;web-bot : Bot management logs. |
TaskName | No | String | Name of the shipping task. |
TopicName | No | String | The new topic name. If you do not specify this field, no changes will be made. |
LogSetName | No | String | The new logset name. |
Period | No | Integer | The retention period of the updated logset. |
DropEntityList.N | No | Array of String | List of shipping entities to be deleted. |
AddedEntityList.N | No | Array of String | List of shipping entities to be added. |
Parameter Name | Type | Description |
---|---|---|
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: teo.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyLogTopicTask
<Common request parameters>
{
"TopicId": "0a396698-d589-42b6-a6a2-701777d3afe0",
"LogSetId": "33a900b2-9860-4da0-be91-bcce94c290ce",
"EntityType": "application",
"Period": 11,
"ZoneId": "zone-28569s6od5na",
"LogSetRegion": "ap-guangzhou",
"LogSetName": "new_log_set",
"TopicName": "new_topic_name"
}
{
"Response": {
"RequestId": "952c708d-abaf-464c-84cf-d1447887cf65"
}
}
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. |
LimitExceeded | The quota limit has been reached. |
本页内容是否解决了您的问题?