All Products
Search
Document Center

Alibaba Cloud Service Mesh:UpdateControlPlaneLogConfig

Last Updated:Mar 05, 2024

Modifies the configuration for collecting control plane logs.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceMeshIdstringYes

The ID of the Service Mesh (ASM) instance.

c20667db760fe4ee6910220136624****
EnabledbooleanYes

Specifies whether to collect control plane logs to Simple Log Service.

false
ProjectstringNo

The name of the Simple Log Service project to which control plane logs are collected.

aia-asm-deva-sh
LogTTLInDayintegerNo

The time to live (TTL) period of the collected logs. Unit: day.

30

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

488F046B-63D2-5D96-9A70-E00C3685D49F

Examples

Sample success responses

JSONformat

{
  "RequestId": "488F046B-63D2-5D96-9A70-E00C3685D49F"
}

Error codes

HTTP status codeError codeError message
404ERR404Not found

For a list of error codes, visit the Service error codes.