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

IWithPrivateImageRegistry.WithPrivateImageRegistry 方法

定义

指定容器组的专用容器映像注册表服务器登录名。

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithPrivateImageRegistryOrVolume WithPrivateImageRegistry (string server, string username, string password);
abstract member WithPrivateImageRegistry : string * string * string -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithPrivateImageRegistryOrVolume
Public Function WithPrivateImageRegistry (server As String, username As String, password As String) As IWithPrivateImageRegistryOrVolume

参数

server
String

Docker 映像注册表服务器,没有“http”和“https”等协议。

username
String

专用注册表的用户名。

password
String

专用注册表的密码。

返回

适用于