Delen via


IWithPrivateImageRegistry.WithPrivateImageRegistry Method

Definition

Specifies the private container image registry server login for the container group.

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

Parameters

server
String

Docker image registry server, without protocol such as "http" and "https".

username
String

The username for the private registry.

password
String

The password for the private registry.

Returns

Applies to