通过


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

ContainerConfiguration Class

The configuration for container-enabled pools.

All required parameters must be populated in order to send to server.

Constructor

ContainerConfiguration(*, type: str | _models.ContainerType, container_image_names: List[str] | None = None, container_registries: List[_models.ContainerRegistry] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
type

The container technology to be used. Required. Known values are: "DockerCompatible" and "CriCompatible".

container_image_names

This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.

Default value: None
container_registries

If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.

Default value: None

Variables

Name Description
type

The container technology to be used. Required. Known values are: "DockerCompatible" and "CriCompatible".

container_image_names

This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.

container_registries

If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.