ReActivateAudit
Recreates a mesh audit log. If you accidentally delete the SLS project that stores audit logs after enabling mesh audit, you can call this operation to recreate an empty mesh audit log.
Operation description
Before you call this operation, make sure you understand the billing methods and pricing of SLS.
Try it now
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
servicemesh:ReActivateAudit | update | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ServiceMeshId | string | Yes | The ID of the ASM instance. | c5bf9eb05c4424b89985d6536a809**** |
EnableAudit | boolean | No | Specifies whether to recreate the ASM audit log. Valid values:
| true |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The request ID. | 17163CE9-CE4B-1B87-9185-1A1AD7E7**** |
Data | string | The name of the SLS project for the mesh audit. | k8s-log-c0703599f695f4b8fa1c6492a33af**** |
Examples
Success response
JSON format
{
"RequestId": "17163CE9-CE4B-1B87-9185-1A1AD7E7****",
"Data": "k8s-log-c0703599f695f4b8fa1c6492a33af****"
}Error codes
See for a complete list.
Release notes
See 变更详情 for a complete list.