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

ImportSource 类

定义

public class ImportSource
type ImportSource = class
Public Class ImportSource
继承
ImportSource

构造函数

ImportSource()

初始化 ImportSource 类的新实例。

ImportSource(String, String, String, ImportSourceCredentials)

初始化 ImportSource 类的新实例。

属性

Credentials

获取或设置从注册表 URI 导入时使用的凭据。

RegistryUri

获取或设置源注册表 (的地址,例如“mcr.microsoft.com”) 。

ResourceId

获取或设置源Azure 容器注册表的资源标识符。

SourceImage

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

方法

Validate()

验证 对象。

适用于