Template Class

Container App versioned application definition. Defines the desired state of an immutable revision. Any changes to this section Will result in a new revision being created.

Inheritance
azure.mgmt.appcontainers._serialization.Model
Template

Constructor

Template(*, revision_suffix: str | None = None, termination_grace_period_seconds: int | None = None, init_containers: List[_models.InitContainer] | None = None, containers: List[_models.Container] | None = None, scale: _models.Scale | None = None, volumes: List[_models.Volume] | None = None, service_binds: List[_models.ServiceBind] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
revision_suffix
str

User friendly suffix that is appended to the revision name.

termination_grace_period_seconds
int

Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.

init_containers

List of specialized containers that run before app containers.

containers

List of container definitions for the Container App.

scale

Scaling properties for the Container App.

volumes

List of volume definitions for the Container App.

service_binds

List of container app services bound to the app.

Variables

Name Description
revision_suffix
str

User friendly suffix that is appended to the revision name.

termination_grace_period_seconds
int

Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.

init_containers

List of specialized containers that run before app containers.

containers

List of container definitions for the Container App.

scale

Scaling properties for the Container App.

volumes

List of volume definitions for the Container App.

service_binds

List of container app services bound to the app.