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

JobTemplate Class

Container Apps Job 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

JobTemplate(*args: Any, **kwargs: Any)

Variables

Name Description
init_containers

List of specialized containers that run before app containers.

containers

List of container definitions for the Container App.

volumes

List of volume definitions for the Container App.

Attributes

containers

List of container definitions for the Container App.

containers: list['_models.Container'] | None

init_containers

List of specialized containers that run before app containers.

init_containers: list['_models.InitContainer'] | None

volumes

List of volume definitions for the Container App.

volumes: list['_models.Volume'] | None