ContainerGroupRestartPolicy Struct
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
public readonly struct ContainerGroupRestartPolicy : IEquatable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupRestartPolicy>
type ContainerGroupRestartPolicy = struct
Public Structure ContainerGroupRestartPolicy
Implements IEquatable(Of ContainerGroupRestartPolicy)
- Inheritance
-
ContainerGroupRestartPolicy
- Implements
Constructors
ContainerGroupRestartPolicy(String) |
Initializes a new instance of ContainerGroupRestartPolicy. |
Properties
Always |
Always. |
Never |
Never. |
OnFailure |
OnFailure. |
Methods
Equals(ContainerGroupRestartPolicy) |
Indicates whether the current object is equal to another object of the same type. |
ToString() |
Returns the fully qualified type name of this instance. |
Operators
Equality(ContainerGroupRestartPolicy, ContainerGroupRestartPolicy) |
Determines if two ContainerGroupRestartPolicy values are the same. |
Implicit(String to ContainerGroupRestartPolicy) |
Converts a String to a ContainerGroupRestartPolicy. |
Inequality(ContainerGroupRestartPolicy, ContainerGroupRestartPolicy) |
Determines if two ContainerGroupRestartPolicy values are not the same. |
Applies to
Azure SDK for .NET