IWithPrivateImageRegistry.WithPrivateImageRegistry Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET