IEventhub.RetentionTimeInHour Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Number of hours to retain the events for this Event Hub. This should be positive value upto namespace SKU max. -1 is a special case where retention time is infinite, but the size of an entity is restricted and its size depends on namespace SKU type.
[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 should be positive value upto namespace SKU max. -1 is a special case where retention time is infinite, but the size of an entity is restricted and its size depends on namespace SKU type.", 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
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.Info(Create=true, Description="Number of hours to retain the events for this Event Hub. This should be positive value upto namespace SKU max. -1 is a special case where retention time is infinite, but the size of an entity is restricted and its size depends on namespace SKU type.", 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