Share via


Configuration Class

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

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, runtime: _models.Runtime | None = None, max_inactive_revisions: int | None = None, service: _models.Service | None = None, identity_settings: List[_models.IdentitySettings] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
secrets

Collection of secrets used by a Container app.

Default value: None
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.

Default value: None
registries

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

Default value: None
dapr

Dapr configuration for the Container App.

Default value: None
runtime

App runtime configuration for the Container App.

Default value: None
max_inactive_revisions
int

Optional. Max inactive revisions a Container App can have.

Default value: None
service

Container App to be a dev Container App Service.

Default value: None
identity_settings

Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.

Default value: None

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.

runtime

App runtime 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.

identity_settings

Optional settings for Managed Identities that are assigned to the Container App. If a Managed Identity is not specified here, default settings will be used.