Recreates a project that is used to store audit logs. After you enable the mesh audit feature, a project that is used to store audit logs is created. If you accidentally delete the project, you can call the ReActivateAudit operation to recreate a project.

Note Before you call this operation, make sure that you understand the billing methods of Log Service. For more information, see Billable items.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
ServiceMeshId String Yes c5bf9eb05c4424b89985d6536a809****

The ID of the Alibaba Cloud Service Mesh (ASM) instance for which you want to recreate a project that is used to store audit logs.

EnableAudit Boolean No true

Specifies whether to recreate a project that is used to store audit logs. Valid values:

  • true: yes
  • false: no

Response parameters

Parameter Type Example Description
Data String mesh-log-c112aa96648664dd7a086b95bbe26****

The name of the project that is used to store audit logs.

RequestId String 17163CE9-CE4B-1B87-9185-1A1AD7E7****

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ReActivateAudit
&ServiceMeshId=c5bf9eb05c4424b89985d6536a809****
&<Common request parameters>

Sample success responses

XML format

<RequestId>17163CE9-CE4B-1B87-9185-1A1AD7E7****</RequestId>
<Data>mesh-log-c112aa96648664dd7a086b95bbe26****</Data>

JSON format

{"RequestId":"17163CE9-CE4B-1B87-9185-1A1AD7E7****","Data":"17163CE9-CE4B-1B87-9185-1A1AD7E7****"}

Error codes

For a list of error codes, visit the API Error Center.