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

ContainerRegistry Class

A private container registry.

Constructor

ContainerRegistry(*, user_name: str | None = None, password: str | None = None, registry_server: str | None = None, identity_reference: _models.ComputeNodeIdentityReference | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
user_name
str

The user name to log into the registry server.

password
str

The password to log into the registry server.

registry_server
str

If omitted, the default is "docker.io".

identity_reference

The reference to a user assigned identity associated with the Batch pool which a compute node will use.

Variables

Name Description
user_name
str

The user name to log into the registry server.

password
str

The password to log into the registry server.

registry_server
str

If omitted, the default is "docker.io".

identity_reference

The reference to a user assigned identity associated with the Batch pool which a compute node will use.