共用方式為


ImageRepositoryCredential Constructors

Definition

Overloads

ImageRepositoryCredential()

Initializes a new instance of the ImageRepositoryCredential class.

ImageRepositoryCredential(String, String, AsymmetricEncryptedSecret)

Initializes a new instance of the ImageRepositoryCredential class.

ImageRepositoryCredential()

Initializes a new instance of the ImageRepositoryCredential class.

public ImageRepositoryCredential ();
Public Sub New ()

Applies to

ImageRepositoryCredential(String, String, AsymmetricEncryptedSecret)

Initializes a new instance of the ImageRepositoryCredential class.

public ImageRepositoryCredential (string imageRepositoryUrl, string userName, Microsoft.Azure.Management.DataBoxEdge.Models.AsymmetricEncryptedSecret password = default);
new Microsoft.Azure.Management.DataBoxEdge.Models.ImageRepositoryCredential : string * string * Microsoft.Azure.Management.DataBoxEdge.Models.AsymmetricEncryptedSecret -> Microsoft.Azure.Management.DataBoxEdge.Models.ImageRepositoryCredential
Public Sub New (imageRepositoryUrl As String, userName As String, Optional password As AsymmetricEncryptedSecret = Nothing)

Parameters

imageRepositoryUrl
String

Image repository url (e.g.: mcr.microsoft.com).

userName
String

Repository user name.

password
AsymmetricEncryptedSecret

Repository user password.

Applies to