ImageRegistryCredential Constructors
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.
Overloads
ImageRegistryCredential() |
Initializes a new instance of the ImageRegistryCredential class. |
ImageRegistryCredential(String, String, String) |
Initializes a new instance of the ImageRegistryCredential class. |
ImageRegistryCredential()
Initializes a new instance of the ImageRegistryCredential class.
public ImageRegistryCredential ();
Public Sub New ()
Applies to
ImageRegistryCredential(String, String, String)
Initializes a new instance of the ImageRegistryCredential class.
public ImageRegistryCredential (string server, string username, string password = default);
new Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ImageRegistryCredential : string * string * string -> Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ImageRegistryCredential
Public Sub New (server As String, username As String, Optional password As String = Nothing)
Parameters
- server
- String
The Docker image registry server without a protocol such as "http" and "https".
- username
- String
The username for the private registry.
- password
- String
The password for the private registry.
Applies to
Azure SDK for .NET