Modifies the configuration for collecting control plane logs.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ServiceMeshId | string | Yes | The ID of the Service Mesh (ASM) instance. | c20667db760fe4ee6910220136624**** |
Enabled | boolean | Yes | Specifies whether to collect control plane logs to Simple Log Service. | false |
Project | string | No | The name of the Simple Log Service project to which control plane logs are collected. | aia-asm-deva-sh |
LogTTLInDay | integer | No | The time to live (TTL) period of the collected logs. Unit: day. | 30 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "488F046B-63D2-5D96-9A70-E00C3685D49F"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
404 | ERR404 | Not found |
For a list of error codes, visit the Service error codes.