Domain name for API request: cls.intl.tencentcloudapi.com.
Cloud product integration uses internal APIs
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: DeleteCloudProductLogCollection. |
| Version | Yes | String | Common Params. The value used for this API: 2020-10-16. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| InstanceId | Yes | String | Instance ID. |
| AssumerName | Yes | String | Cloud product identifier, support enumerate: CDS, CWP, CDB, TDSQL-C, MongoDB, TDStore, DCDB, MariaDB, PostgreSQL, BH, APIS |
| LogType | Yes | String | Log type, supports enumerate: CDS-AUDIT, CDS-RISK, CDB-AUDIT, TDSQL-C-AUDIT, MongoDB-AUDIT, MongoDB-SlowLog, MongoDB-ErrorLog, TDMYSQL-SLOW, DCDB-AUDIT, DCDB-SLOW, DCDB-ERROR, MariaDB-AUDIT, MariaDB-SLOW, MariaDB-ERROR, PostgreSQL-SLOW, PostgreSQL-ERROR, PostgreSQL-AUDIT, BH-FILELOG, BH-COMMANDLOG, APIS-ACCESS |
| CloudProductRegion | Yes | String | Product region. Input parameter format varies for different log types (LogType). Refer to the following example:
|
| IsDeleteTopic | No | Boolean | Whether to delete the associated topic |
| IsDeleteLogset | No | Boolean | Whether to delete the associated logset. If the logset still has topics, deletion will not be performed. |
| Parameter Name | Type | Description |
|---|---|---|
| Status | Integer | Enumeration value, 0 creating 1 creation completed 2 deleting 3 deletion completed |
| 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: cls.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DeleteCloudProductLogCollection
<Common request parameters>
{
"InstanceId": "cdb-9edkkbdc",
"AssumerName": "CDB",
"LogType": "CDB-AUDIT",
"CloudProductRegion": "qy"
}
{
"Response": {
"Status": 3,
"RequestId": "f1f5a8e7-51ab-4a3e-8268-a0dc4aac8923"
}
}
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 |
|---|---|
| AuthFailure | CAM signature/authentication error. |
| FailedOperation | Operation failed. |
| FailedOperation.CloudProductInvocationError | Cloud product interface call exception |
| FailedOperation.Timeout | Operation timed out |
| InternalError | Internal error. |
| InvalidParameter | Incorrect parameter. |
| InvalidParameter.ParamError | Parameter error. |
| InvalidParameterValue | Incorrect parameter value. |
| MissingParameter | Missing parameter. |
| OperationDenied | Operation denied. |
| UnsupportedOperation | Unsupported operation. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan