Compartir a través de


ContainerGroupRestartPolicy Struct

Definition

Restart policy for all containers within the container group.

  • Always Always restart
  • OnFailure Restart on failure
  • Never 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

Applies to