JobScale Class

Scaling configurations for event driven jobs.

Constructor

JobScale(*args: Any, **kwargs: Any)

Variables

Name Description
polling_interval
int

Interval to check each event source in seconds. Defaults to 30s.

min_executions
int

Minimum number of job executions that are created for a trigger, default 0.

max_executions
int

Maximum number of job executions that are created for a trigger, default 100.

rules

Scaling rules.

Attributes

max_executions

Maximum number of job executions that are created for a trigger, default 100.

max_executions: int | None

min_executions

Minimum number of job executions that are created for a trigger, default 0.

min_executions: int | None

polling_interval

Interval to check each event source in seconds. Defaults to 30s.

polling_interval: int | None

rules

Scaling rules.

rules: list['_models.JobScaleRule'] | None