Share via


ContainerGroupInner.RestartPolicy Property

Definition

Gets or sets restart policy for all containers within the container group.

  • Always Always restart
  • OnFailure Restart on failure
  • Never Never restart . Possible values include: 'Always', 'OnFailure', 'Never'
[Newtonsoft.Json.JsonProperty(PropertyName="properties.restartPolicy")]
public string RestartPolicy { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.restartPolicy")>]
member this.RestartPolicy : string with get, set
Public Property RestartPolicy As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to