Container Class
Container App container definition.
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. Default value: None
|
name
|
Custom container name. Default value: None
|
command
|
Container start command. Default value: None
|
args
|
Container start command arguments. Default value: None
|
env
|
Container environment variables. Default value: None
|
resources
|
Container resource requirements. Default value: None
|
volume_mounts
|
Container volume mounts. Default value: None
|
probes
|
List of probes for the container. Default value: None
|
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. |
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for Python