Skip to content

AuditLogConfigProps

Properties for defining a AuditLogConfig.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-redis-auditlogconfig

Initializer

using AlibabaCloud.SDK.ROS.CDK.Redis;
new AuditLogConfigProps {
    object InstanceId,
    object Retention
};

Properties

Name Type Description
InstanceId object Property instanceId: The ID of the instance.
Retention object Property retention: The retention period of audit logs.

InstanceIdRequired

public object InstanceId { get; set; }
  • Type: object

Property instanceId: The ID of the instance.

You can call the DescribeInstances operation to query the ID of the instance.


RetentionRequired

public object Retention { get; set; }
  • Type: object

Property retention: The retention period of audit logs.

Valid values: 1 to 365. Unit: days. Note: The value of this parameter takes effect for all ApsaraDB for Redis instances in the current region.