Freigeben über


IRetentionDescription.RetentionTimeInHour Property

Definition

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

[Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info(Create=true, Description="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 ", PossibleTypes=new System.Type[] { typeof(System.Int64) }, Read=true, ReadOnly=false, Required=false, SerializedName="retentionTimeInHours", Update=true)]
public long? RetentionTimeInHour { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info(Create=true, Description="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 ", PossibleTypes=new System.Type[] { typeof(System.Int64) }, Read=true, ReadOnly=false, Required=false, SerializedName="retentionTimeInHours", Update=true)>]
member this.RetentionTimeInHour : Nullable<int64> with get, set
Public Property RetentionTimeInHour As Nullable(Of Long)

Property Value

Attributes

Applies to