Condividi tramite


ContainerGroupRestartPolicy Struct

Definition

Restart policy for all containers within the container group.

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