ServiceUpdateConfig class
Constructors
-
ServiceUpdateConfig({Input<String?>? delay, Input<String?>? failureAction, Input<String?>? maxFailureRatio, Input<String?>? monitor, Input<String?>? order, 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
const
-
ServiceUpdateConfig.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
delay
→ Input<String?>?
-
Delay between task updates
(ns|us|ms|s|m|h). Defaults to 0s.
final
-
failureAction
→ Input<String?>?
-
Action on update failure:
pause, continue or rollback. Defaults to pause.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
maxFailureRatio
→ Input<String?>?
-
Failure rate to tolerate during an update. Defaults to
0.0.
final
-
monitor
→ Input<String?>?
-
Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to
5s.
final
-
order
→ Input<String?>?
-
Update order: either 'stop-first' or 'start-first'. Defaults to
stop-first.
final
-
parallelism
→ Input<int?>?
-
Maximum number of tasks to be updated in one iteration. Defaults to
1
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited