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

Container Class

Container App container definition.

Constructor

Container()

Variables

Name Description
image
str

Container image tag.

name
str

Custom container name.

command

Container start command.

args

Container start command arguments.

env
list[<xref:"EnvironmentVar">]

Container environment variables.

resources
<xref:<xref:"ContainerResources">>

Container resource requirements.

volumeMounts
list[<xref:"VolumeMount">]

Container volume mounts.

probes
list[<xref:"ContainerAppProbe">]

List of probes for the container.

Attributes

probes

List of probes for the container.

probes: list[azure.mgmt.appcontainers.types.ContainerAppProbe]

args

args: list[str]

command

command: list[str]

env

env: list[azure.mgmt.appcontainers.types.EnvironmentVar]

image

image: str

name

name: str

resources

resources: ContainerResources

volumeMounts

volumeMounts: list[azure.mgmt.appcontainers.types.VolumeMount]