Class AuditHistoryRetentionSelection
Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll
Describes the durable audit-history retention inputs resolved for a Cephalon app.
public sealed class AuditHistoryRetentionSelectionInheritance
Section titled “Inheritance”object ← AuditHistoryRetentionSelection
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”AuditHistoryRetentionSelection(bool?, int?, int?, bool?, int?)
Section titled “ AuditHistoryRetentionSelection(bool?, int?, int?, bool?, int?)”Initializes a new instance of the
[JsonConstructor]public AuditHistoryRetentionSelection(bool? enabled = null, int? maxAgeDays = null, int? deleteBatchSize = null, bool? applyOnStartup = null, int? runIntervalMinutes = null)Parameters
Section titled “Parameters”enabled bool?
Whether retention was explicitly enabled.
maxAgeDays int?
The maximum age, in days, to retain durable audit rows.
deleteBatchSize int?
The maximum number of rows deleted per retention batch.
applyOnStartup bool?
Whether one retention pass should run during host startup.
runIntervalMinutes int?
The optional recurring retention interval in minutes.
Properties
Section titled “Properties”ApplyOnStartup
Section titled “ ApplyOnStartup”Gets a value indicating whether one retention pass should run during host startup.
public bool? ApplyOnStartup { get; }Property Value
Section titled “Property Value”bool?
DeleteBatchSize
Section titled “ DeleteBatchSize”Gets the maximum number of rows deleted per retention batch.
public int? DeleteBatchSize { get; }Property Value
Section titled “Property Value”int?
Gets an empty audit-history retention selection instance.
public static AuditHistoryRetentionSelection Empty { get; }Property Value
Section titled “Property Value”AuditHistoryRetentionSelection
Enabled
Section titled “ Enabled”Gets a value indicating whether retention was explicitly enabled.
public bool? Enabled { get; }Property Value
Section titled “Property Value”bool?
HasValues
Section titled “ HasValues”Gets a value indicating whether any durable audit-history retention inputs were explicitly supplied.
public bool HasValues { get; }Property Value
Section titled “Property Value”MaxAgeDays
Section titled “ MaxAgeDays”Gets the maximum age, in days, to retain durable audit rows.
public int? MaxAgeDays { get; }Property Value
Section titled “Property Value”int?
RunIntervalMinutes
Section titled “ RunIntervalMinutes”Gets the optional recurring retention interval in minutes.
public int? RunIntervalMinutes { get; }Property Value
Section titled “Property Value”int?