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

ContainerRegistryCredential Class

Key for ACR associated with given workspace.

Constructor

ContainerRegistryCredential(*, ___location: str | None = None, username: str | None = None, passwords: List[str] | None = None)

Parameters

Name Description
___location
Required
str

Location of the ACR

username
Required
str

Username of the ACR

passwords
Required

Passwords to access the ACR

Keyword-Only Parameters

Name Description
___location
Default value: None
username
Default value: None
passwords
Default value: None