你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

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]