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.

Constructor

Template()

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[<xref:"InitContainer">]

List of specialized containers that run before app containers.

containers
list[<xref:"Container">]

List of container definitions for the Container App.

scale
<xref:<xref:"Scale">>

Scaling properties for the Container App.

volumes
list[<xref:"Volume">]

List of volume definitions for the Container App.

service_binds
list[<xref:"ServiceBind">]

List of container app services bound to the app.

Attributes

containers

List of container definitions for the Container App.

containers: list[azure.mgmt.appcontainers.types.Container]

initContainers

List of specialized containers that run before app containers.

initContainers: list[azure.mgmt.appcontainers.types.InitContainer]

revisionSuffix

User friendly suffix that is appended to the revision name.

revisionSuffix: str

scale

Scaling properties for the Container App.

scale: Scale

serviceBinds

List of container app services bound to the app.

serviceBinds: list[azure.mgmt.appcontainers.types.ServiceBind]

terminationGracePeriodSeconds

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.

terminationGracePeriodSeconds: int

volumes

List of volume definitions for the Container App.

volumes: list[azure.mgmt.appcontainers.types.Volume]