ServiceUpdateConfig constructor

const ServiceUpdateConfig({
  1. Input<String?>? delay,
  2. Input<String?>? failureAction,
  3. Input<String?>? maxFailureRatio,
  4. Input<String?>? monitor,
  5. Input<String?>? order,
  6. Input<int?>? parallelism,
})

Creates a new ServiceUpdateConfig. delay Delay between task updates (ns|us|ms|s|m|h). Defaults to 0s. failureAction Action on update failure: pause, continue or rollback. Defaults to pause. maxFailureRatio Failure rate to tolerate during an update. Defaults to 0.0. monitor Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to 5s. order Update order: either 'stop-first' or 'start-first'. Defaults to stop-first. parallelism Maximum number of tasks to be updated in one iteration. Defaults to 1

Implementation

const ServiceUpdateConfig({
  this.delay,
  this.failureAction,
  this.maxFailureRatio,
  this.monitor,
  this.order,
  this.parallelism,
});