Updates the log collection configuration for the control plane.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
servicemesh:UpdateControlPlaneLogConfig | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ServiceMeshId | string | Yes | The ID of the Service Mesh instance. | c20667db760fe4ee6910220136624**** |
Enabled | boolean | Yes | Specifies whether to collect control plane logs and send them to SLS. | false |
Project | string | No | The name of the custom SLS project where control plane logs are stored. | aia-asm-deva-sh |
LogTTLInDay | integer | No | The retention period of the collected logs, in days. | 30 |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The request ID. | 488F046B-63D2-5D96-9A70-E00C3685D49F |
Examples
Success response
JSON format
{
"RequestId": "488F046B-63D2-5D96-9A70-E00C3685D49F"
}Error codes
HTTP status code | Error code | Error message | Description |
404 | ERR404 | Not found |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.