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
System.String

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

username
System.String

The username for the private registry.

password
System.String

The password for the private registry.

Returns

IWithPrivateImageRegistryOrVolume

Applies to