Configuration Class

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

Inheritance
azure.mgmt.appcontainers._serialization.Model
Configuration

Constructor

Configuration(*, secrets: List[_models.Secret] | None = None, active_revisions_mode: str | _models.ActiveRevisionsMode = 'Single', ingress: _models.Ingress | None = None, registries: List[_models.RegistryCredentials] | None = None, dapr: _models.Dapr | None = None, max_inactive_revisions: int | None = None, service: _models.Service | 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:

revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.. Known values are: "Multiple" and "Single".

Default value: Single
ingress

Ingress configurations.

registries

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

dapr

Dapr configuration for the Container App.

max_inactive_revisions
int

Optional. Max inactive revisions a Container App can have.

service

Container App to be a dev Container App Service.

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:

revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.. Known values are: "Multiple" and "Single".

ingress

Ingress configurations.

registries

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

dapr

Dapr configuration for the Container App.

max_inactive_revisions
int

Optional. Max inactive revisions a Container App can have.

service

Container App to be a dev Container App Service.