IContainerGroupPropertiesAutoGenerated.RestartPolicy 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.
Restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
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