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

RegistryCredentials 构造函数

定义

重载

RegistryCredentials()

初始化 RegistryCredentials 类的新实例。

RegistryCredentials(String, String, String)

初始化 RegistryCredentials 类的新实例。

RegistryCredentials()

初始化 RegistryCredentials 类的新实例。

public RegistryCredentials ();
Public Sub New ()

适用于

RegistryCredentials(String, String, String)

初始化 RegistryCredentials 类的新实例。

public RegistryCredentials (string server = default, string username = default, string passwordSecretRef = default);
new Microsoft.Azure.Management.WebSites.Models.RegistryCredentials : string * string * string -> Microsoft.Azure.Management.WebSites.Models.RegistryCredentials
Public Sub New (Optional server As String = Nothing, Optional username As String = Nothing, Optional passwordSecretRef As String = Nothing)

参数

server
String

容器注册表服务器

username
String

容器注册表用户名

passwordSecretRef
String

包含注册表登录密码的机密的名称

适用于