ContainerDefinition<T>.WithDefaultTimeToLive Method
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.
Overloads
WithDefaultTimeToLive(Int32) |
DefaultTimeToLive will be applied to all the items in the container as the default time-to-live policy. The individual item could override the default time-to-live policy by setting its time to live. |
WithDefaultTimeToLive(TimeSpan) |
DefaultTimeToLive will be applied to all the items in the container as the default time-to-live policy. The individual item could override the default time-to-live policy by setting its time to live. |
WithDefaultTimeToLive(Int32)
- Source:
- ContainerDefinition.cs
DefaultTimeToLive will be applied to all the items in the container as the default time-to-live policy. The individual item could override the default time-to-live policy by setting its time to live.
public T WithDefaultTimeToLive (int defaultTtlInSeconds);
member this.WithDefaultTimeToLive : int -> 'T
Public Function WithDefaultTimeToLive (defaultTtlInSeconds As Integer) As T
Parameters
- defaultTtlInSeconds
- Int32
The default Time To Live.
Returns
An instance of the current Fluent builder.
See also
Applies to
WithDefaultTimeToLive(TimeSpan)
- Source:
- ContainerDefinition.cs
DefaultTimeToLive will be applied to all the items in the container as the default time-to-live policy. The individual item could override the default time-to-live policy by setting its time to live.
public T WithDefaultTimeToLive (TimeSpan defaultTtlTimeSpan);
member this.WithDefaultTimeToLive : TimeSpan -> 'T
Public Function WithDefaultTimeToLive (defaultTtlTimeSpan As TimeSpan) As T
Parameters
- defaultTtlTimeSpan
- TimeSpan
The default Time To Live.
Returns
An instance of the current Fluent builder.
See also
Applies to
Azure SDK for .NET