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

Configuration Class

Non versioned Container App configuration properties that define the mutable settings of a Container app.

Inheritance
azure.mgmt.web._serialization.Model
Configuration

Constructor

Configuration(*, secrets: List[_models.Secret] | None = None, active_revisions_mode: str | _models.ActiveRevisionsMode | None = None, ingress: _models.Ingress | None = None, registries: List[_models.RegistryCredentials] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
secrets

Collection of secrets used by a Container app.

active_revisions_mode

ActiveRevisionsMode controls how active revisions are handled for the Container app:

the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode. Known values are: "multiple" and "single".

ingress

Ingress configurations.

registries

Collection of private container registry credentials for containers used by the Container app.

Variables

Name Description
secrets

Collection of secrets used by a Container app.

active_revisions_mode

ActiveRevisionsMode controls how active revisions are handled for the Container app:

the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode. Known values are: "multiple" and "single".

ingress

Ingress configurations.

registries

Collection of private container registry credentials for containers used by the Container app.