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
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.ContainerGroupRestartPolicyTypeConverter))]
public struct ContainerGroupRestartPolicy : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.ContainerGroupRestartPolicy>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Support.ContainerGroupRestartPolicyTypeConverter))>]
type ContainerGroupRestartPolicy = struct
interface IArgumentCompleter
Public Structure ContainerGroupRestartPolicy
Implements IArgumentCompleter, IEquatable(Of ContainerGroupRestartPolicy)
- Inheritance
-
ContainerGroupRestartPolicy
- Attributes
- Implements
Fields
Always | |
Never | |
OnFailure |
Methods
CompleteArgument(String, String, String, CommandAst, IDictionary) |
Implementations of this function are called by PowerShell to complete arguments. |
Equals(ContainerGroupRestartPolicy) |
Compares values of enum type ContainerGroupRestartPolicy |
Equals(Object) |
Compares values of enum type ContainerGroupRestartPolicy (override for Object) |
GetHashCode() |
Returns hashCode for enum ContainerGroupRestartPolicy |
ToString() |
Returns string representation for ContainerGroupRestartPolicy |
Operators
Equality(ContainerGroupRestartPolicy, ContainerGroupRestartPolicy) |
Overriding == operator for enum ContainerGroupRestartPolicy |
Implicit(ContainerGroupRestartPolicy to String) |
Implicit operator to convert ContainerGroupRestartPolicy to string |
Implicit(String to ContainerGroupRestartPolicy) |
Implicit operator to convert string to ContainerGroupRestartPolicy |
Inequality(ContainerGroupRestartPolicy, ContainerGroupRestartPolicy) |
Overriding != operator for enum ContainerGroupRestartPolicy |