Recreates a project that is used to store audit logs.
Before you call this operation, make sure that you understand the billing methods of Log Service. For more information, visit the pricing page.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ReActivateAudit |
The operation that you want to perform. Set the value to ReActivateAudit. |
ServiceMeshId | String | Yes | c5bf9eb05c4424b89985d6536a809**** |
The ID of the Alibaba Cloud Service Mesh (ASM) instance. |
EnableAudit | Boolean | No | true |
Specifies whether to recreate a project that is used to store audit logs. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 17163CE9-CE4B-1B87-9185-1A1AD7E7**** |
The ID of the request. |
Data | String | k8s-log-c0703599f695f4b8fa1c6492a33af**** |
The name of the project that is used to store audit logs. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ReActivateAudit
&ServiceMeshId=c5bf9eb05c4424b89985d6536a809****
&EnableAudit=true
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ReActivateAuditResponse>
<RequestId>17163CE9-CE4B-1B87-9185-1A1AD7E7****</RequestId>
<Data>k8s-log-c0703599f695f4b8fa1c6492a33af****</Data>
</ReActivateAuditResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "17163CE9-CE4B-1B87-9185-1A1AD7E7****",
"Data" : "k8s-log-c0703599f695f4b8fa1c6492a33af****"
}
Error codes
For a list of error codes, visit the API Error Center.