RetentionDescriptionArgs

data class RetentionDescriptionArgs(val cleanupPolicy: Output<Either<String, CleanupPolicyRetentionDescription>>? = null, val retentionTimeInHours: Output<Double>? = null, val tombstoneRetentionTimeInHours: Output<Int>? = null) : ConvertibleToJava<RetentionDescriptionArgs>

Properties to configure retention settings for the eventhub

Constructors

Link copied to clipboard
constructor(cleanupPolicy: Output<Either<String, CleanupPolicyRetentionDescription>>? = null, retentionTimeInHours: Output<Double>? = null, tombstoneRetentionTimeInHours: Output<Int>? = null)

Properties

Link copied to clipboard

Enumerates the possible values for cleanup policy

Link copied to clipboard
val retentionTimeInHours: Output<Double>? = null

Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue

Link copied to clipboard
val tombstoneRetentionTimeInHours: Output<Int>? = null

Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub

Functions

Link copied to clipboard
open override fun toJava(): RetentionDescriptionArgs