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

ImportSource interface

属性

credentials

从注册表 URI 导入时使用的凭据。

registryUri

源注册表(例如“mcr.microsoft.com”)的地址。

resourceId

源 Azure 容器注册表的资源标识符。

sourceImage

源映像的存储库名称。 按存储库(“hello-world”)指定映像。 这将使用“latest”标记。 按标记指定图像(“hello-world:latest”)。 按基于 sha256 的清单摘要(“hello-world@sha256:abc123”)指定映像。

属性详细信息

credentials

从注册表 URI 导入时使用的凭据。

credentials?: ImportSourceCredentials

属性值

registryUri

源注册表(例如“mcr.microsoft.com”)的地址。

registryUri?: string

属性值

string

resourceId

源 Azure 容器注册表的资源标识符。

resourceId?: string

属性值

string

sourceImage

源映像的存储库名称。 按存储库(“hello-world”)指定映像。 这将使用“latest”标记。 按标记指定图像(“hello-world:latest”)。 按基于 sha256 的清单摘要(“hello-world@sha256:abc123”)指定映像。

sourceImage: string

属性值

string