Call the ReActivateAudit operation to recreate 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
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 Error Codes for a complete list.
Release notes
See Release Notes for a complete list.