IContainerGroupProperties.RestartPolicy Property

Definition

Restart policy for all containers within the container group.

  • Always Always restart
  • OnFailure Restart on failure
  • Never Never restart
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(Description="Restart policy for all containers within the container group.\r\n        - `Always` Always restart\r\n        - `OnFailure` Restart on failure\r\n        - `Never` Never restart\r\n        ", PossibleTypes=new System.Type[] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.ContainerGroupRestartPolicy) }, ReadOnly=false, Required=false, SerializedName="restartPolicy")]
public Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.ContainerGroupRestartPolicy? RestartPolicy { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(Description="Restart policy for all containers within the container group.\r\n        - `Always` Always restart\r\n        - `OnFailure` Restart on failure\r\n        - `Never` Never restart\r\n        ", PossibleTypes=new System.Type[] { typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.ContainerGroupRestartPolicy) }, ReadOnly=false, Required=false, SerializedName="restartPolicy")>]
member this.RestartPolicy : Nullable<Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.ContainerGroupRestartPolicy> with get, set
Public Property RestartPolicy As Nullable(Of ContainerGroupRestartPolicy)

Property Value

Attributes

Applies to