Skip to content

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 AuditHistoryRetentionSelection

objectAuditHistoryRetentionSelection

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

AuditHistoryRetentionSelection(bool?, int?, int?, bool?, int?)

Section titled “ AuditHistoryRetentionSelection(bool?, int?, int?, bool?, int?)”

Initializes a new instance of the class.

[JsonConstructor]
public AuditHistoryRetentionSelection(bool? enabled = null, int? maxAgeDays = null, int? deleteBatchSize = null, bool? applyOnStartup = null, int? runIntervalMinutes = null)

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.

Gets a value indicating whether one retention pass should run during host startup.

public bool? ApplyOnStartup { get; }

bool?

Gets the maximum number of rows deleted per retention batch.

public int? DeleteBatchSize { get; }

int?

Gets an empty audit-history retention selection instance.

public static AuditHistoryRetentionSelection Empty { get; }

AuditHistoryRetentionSelection

Gets a value indicating whether retention was explicitly enabled.

public bool? Enabled { get; }

bool?

Gets a value indicating whether any durable audit-history retention inputs were explicitly supplied.

public bool HasValues { get; }

bool

Gets the maximum age, in days, to retain durable audit rows.

public int? MaxAgeDays { get; }

int?

Gets the optional recurring retention interval in minutes.

public int? RunIntervalMinutes { get; }

int?