ImportSource interface
属性
| credentials | 从注册表 URI 导入时使用的凭据。 |
| registry |
源注册表(例如“mcr.microsoft.com”)的地址。 |
| resource |
源 Azure 容器注册表的资源标识符。 |
| source |
源映像的存储库名称。 按存储库(“hello-world”)指定映像。 这将使用“latest”标记。 按标记指定图像(“hello-world:latest”)。 按基于 sha256 的清单摘要(“hello-world@sha256:abc123”)指定映像。 |
属性详细信息
credentials
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