Scale Class

Container App scaling configurations.

Constructor

Scale()

Variables

Name Description
minReplicas
int

Optional. Minimum number of container replicas.

maxReplicas
int

Optional. Maximum number of container replicas. Defaults to 10 if not set.

cooldownPeriod
int

Optional. KEDA Cooldown Period in seconds. Defaults to 300 seconds if not set.

pollingInterval
int

Optional. KEDA Polling Interval in seconds. Defaults to 30 seconds if not set.

allowScalingRuleOverride

Optional. Whether custom scale rules can override the automatic scale rules. This property is only applicable to Function Apps.

rules
list[<xref:"ScaleRule">]

Scaling rules.

Attributes

allowScalingRuleOverride

Optional. Whether custom scale rules can override the automatic scale rules. This property is only applicable to Function Apps.

allowScalingRuleOverride: bool

cooldownPeriod

Optional. KEDA Cooldown Period in seconds. Defaults to 300 seconds if not set.

cooldownPeriod: int

maxReplicas

Optional. Maximum number of container replicas. Defaults to 10 if not set.

maxReplicas: int

minReplicas

Optional. Minimum number of container replicas.

minReplicas: int

pollingInterval

Optional. KEDA Polling Interval in seconds. Defaults to 30 seconds if not set.

pollingInterval: int

rules

Scaling rules.

rules: list[azure.mgmt.appcontainers.types.ScaleRule]