Share via


ContainerGroupData.RestartPolicy Property

Definition

Restart policy for all containers within the container group.

  • Always Always restart
  • OnFailure Restart on failure
  • Never Never restart
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupRestartPolicy? RestartPolicy { get; set; }
member this.RestartPolicy : Nullable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupRestartPolicy> with get, set
Public Property RestartPolicy As Nullable(Of ContainerGroupRestartPolicy)

Property Value

Applies to