ContainerRestartRule class
ContainerRestartRule describes how a container exit is handled.
Constructors
-
ContainerRestartRule({required Input<
String> action, Input<ContainerRestartRuleOnExitCodes> ? exitCodes}) -
Creates a new ContainerRestartRule.
actionSpecifies the action taken on a container exit if the requirements are satisfied. The only possible value is "Restart" to restart the container.exitCodesRepresents the exit codes to check on container exits.const -
ContainerRestartRule.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<
ContainerRestartRuleOnExitCodes> ? -
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