ContainerRestartRulePatch class

ContainerRestartRule describes how a container exit is handled.

Constructors

ContainerRestartRulePatch({Input<String>? action, Input<ContainerRestartRuleOnExitCodesPatch>? exitCodes})
Creates a new ContainerRestartRulePatch. action Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is "Restart" to restart the container. exitCodes Represents the exit codes to check on container exits.
const
ContainerRestartRulePatch.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<String>?
Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is "Restart" to restart the container.
final
exitCodes → Input<ContainerRestartRuleOnExitCodesPatch>?
Represents the exit codes to check on container exits.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited