ContainerRestartRulePatch constructor

const ContainerRestartRulePatch({
  1. Input<String>? action,
  2. 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.

Implementation

const ContainerRestartRulePatch({
  this.action,
  this.exitCodes,
});