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, 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, String, String)
Initializes a new instance of the ImageRegistryCredential class.
public ImageRegistryCredential (string server, string username, string password = default, string identity = default, string identityUrl = default);
new Microsoft.Azure.Management.ContainerInstance.Models.ImageRegistryCredential : string * string * string * string * string -> Microsoft.Azure.Management.ContainerInstance.Models.ImageRegistryCredential
Public Sub New (server As String, username As String, Optional password As String = Nothing, Optional identity As String = Nothing, Optional identityUrl 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.
- identity
- String
The identity for the private registry.
- identityUrl
- String
The identity URL for the private registry.
Applies to
Azure SDK for .NET