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

SessionContainer Class

Container definitions for the sessions of the session pool.

Constructor

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

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.

probes

List of probes for the container.

Attributes

args

Container start command arguments.

args: list[str] | None

command

Container start command.

command: list[str] | None

env

Container environment variables.

env: list['_models.EnvironmentVar'] | None

image

Container image tag.

image: str | None

name

Custom container name.

name: str | None

probes

List of probes for the container.

probes: list['_models.SessionProbe'] | None

resources

Container resource requirements.

resources: _models.SessionContainerResources | None