RetentionDescriptionResponse

data class RetentionDescriptionResponse(val cleanupPolicy: String? = null, val retentionTimeInHours: Double? = null, val tombstoneRetentionTimeInHours: Int? = null)

Properties to configure retention settings for the eventhub

Constructors

Link copied to clipboard
constructor(cleanupPolicy: String? = null, retentionTimeInHours: Double? = null, tombstoneRetentionTimeInHours: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cleanupPolicy: String? = null

Enumerates the possible values for cleanup policy

Link copied to clipboard

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

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