Container Class
Container App container definition.
- Inheritance
-
azure.mgmt.appcontainers.models._models_py3.BaseContainerContainer
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
|
Container image tag. |
name
|
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
|
Container image tag. |
name
|
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. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python