DurationLimits

DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows users to control how long an operation can run before being cancelled by the system.

JSON representation
{
  "unitOperationTimeout": string
}
Fields
unitOperationTimeout

string (Duration format)

Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state.

  • Minimum value: 60 seconds (1 minute)
  • Maximum value: 604800 seconds (7 days)

If this field is not set, or if the provided value falls outside the allowed range, the system will use a default timeout of 10800 seconds (3 hours).

Upon exceeding this time limit, the UnitOperation will be best-effort cancelled, and its state will be set to FAILED.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".