IContainerGroupProfileProperties1.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.
AlwaysAlways restartOnFailureRestart on failureNeverNever restart
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.PSArgumentCompleter(new System.String[] { "Always", "OnFailure", "Never" })]
[Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(Create=true, 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(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="restartPolicy", Update=true)]
public string RestartPolicy { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.PSArgumentCompleter(new System.String[] { "Always", "OnFailure", "Never" })>]
[<Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.Info(Create=true, 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(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="restartPolicy", Update=true)>]
member this.RestartPolicy : string with get, set
Public Property RestartPolicy As String
Property Value
- Attributes