Partilhar via


IContainerAppProperties.TemplateTerminationGracePeriodSecond Property

Definition

Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.

[Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Info(Create=true, Description="Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", PossibleTypes=new System.Type[] { typeof(System.Int64) }, Read=true, ReadOnly=false, Required=false, SerializedName="terminationGracePeriodSeconds", Update=true)]
public long? TemplateTerminationGracePeriodSecond { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Info(Create=true, Description="Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", PossibleTypes=new System.Type[] { typeof(System.Int64) }, Read=true, ReadOnly=false, Required=false, SerializedName="terminationGracePeriodSeconds", Update=true)>]
member this.TemplateTerminationGracePeriodSecond : Nullable<int64> with get, set
Public Property TemplateTerminationGracePeriodSecond As Nullable(Of Long)

Property Value

Attributes

Applies to