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

Scale Class

Container App scaling configurations.

Inheritance
azure.mgmt.web._serialization.Model
Scale

Constructor

Scale(*, min_replicas: int | None = None, max_replicas: int | None = None, rules: List[_models.ScaleRule] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
min_replicas
int

Optional. Minimum number of container replicas.

max_replicas
int

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

rules

Scaling rules.

Variables

Name Description
min_replicas
int

Optional. Minimum number of container replicas.

max_replicas
int

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

rules

Scaling rules.