Skip to content

AuditPolicyProps

Properties for defining a AuditPolicy.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mongodb-auditpolicy

Initializer

using AlibabaCloud.SDK.ROS.CDK.Mongodb;
new AuditPolicyProps {
    object AuditStatus,
    object DbInstanceId,
    object StoragePeriod = null
};

Properties

Name Type Description
AuditStatus object Property auditStatus: Audit state, Valid values: enable, disabled.
DbInstanceId object Property dbInstanceId: Database Instance Id.
StoragePeriod object Property storagePeriod: Audit log retention duration.

AuditStatusRequired

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

Property auditStatus: Audit state, Valid values: enable, disabled.


DbInstanceIdRequired

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

Property dbInstanceId: Database Instance Id.


StoragePeriodOptional

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

Property storagePeriod: Audit log retention duration.

The value range is 1 to 365 days. The default value is 30 days.