ContainerGroup.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.
Gets or sets restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET