ContainerGroupRestartPolicyTypeConverter Class

Definition

Restart policy for all containers within the container group.

  • Always Always restart
  • OnFailure Restart on failure
  • Never Never restart
public class ContainerGroupRestartPolicyTypeConverter : System.Management.Automation.PSTypeConverter
type ContainerGroupRestartPolicyTypeConverter = class
    inherit PSTypeConverter
Public Class ContainerGroupRestartPolicyTypeConverter
Inherits PSTypeConverter
Inheritance
ContainerGroupRestartPolicyTypeConverter

Constructors

ContainerGroupRestartPolicyTypeConverter()

Methods

CanConvertFrom(Object, Type)

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

CanConvertTo(Object, Type)

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

ConvertFrom(Object, Type, IFormatProvider, Boolean)

Converts the sourceValue parameter to the destinationType parameter using formatProvider and ignoreCase

ConvertTo(Object, Type, IFormatProvider, Boolean)

NotImplemented -- this will return null

Applies to