Interface ServiceSpecUpdateConfig

Specification for the update strategy of the service. ServiceSpecUpdateConfig

interface ServiceSpecUpdateConfig {
    Delay?: number;
    FailureAction?: ServiceSpecUpdateConfigFailureActionEnum;
    MaxFailureRatio?: number;
    Monitor?: number;
    Order?: ServiceSpecUpdateConfigOrderEnum;
    Parallelism?: number;
}

Properties

Delay?: number

Amount of time between updates, in nanoseconds.

Action to take if an updated task fails to run, or stops running during the update.

MaxFailureRatio?: number

The fraction of tasks that may fail during an update before the failure action is invoked, specified as a floating point number between 0 and 1.

Monitor?: number

Amount of time to monitor each updated task for failures, in nanoseconds.

The order of operations when rolling out an updated task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down.

Parallelism?: number

Maximum number of tasks to be updated in one iteration (0 means unlimited parallelism).