Container Class

Container App container definition.

Inheritance
azure.mgmt.appcontainers.models._models_py3.BaseContainer
Container

Constructor

Container(*, image: str | None = None, name: str | None = None, command: List[str] | None = None, args: List[str] | None = None, env: List[_models.EnvironmentVar] | None = None, resources: _models.ContainerResources | None = None, volume_mounts: List[_models.VolumeMount] | None = None, probes: List[_models.ContainerAppProbe] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
image
str

Container image tag.

name
str

Custom container name.

command

Container start command.

args

Container start command arguments.

env

Container environment variables.

resources

Container resource requirements.

volume_mounts

Container volume mounts.

probes

List of probes for the container.

Variables

Name Description
image
str

Container image tag.

name
str

Custom container name.

command

Container start command.

args

Container start command arguments.

env

Container environment variables.

resources

Container resource requirements.

volume_mounts

Container volume mounts.

probes

List of probes for the container.