다음을 통해 공유


Credentials Constructors

Definition

Overloads

Credentials()

Initializes a new instance of the Credentials class.

Credentials(String, String)

Initializes a new instance of the Credentials class.

Credentials()

Initializes a new instance of the Credentials class.

public Credentials ();
Public Sub New ()

Applies to

Credentials(String, String)

Initializes a new instance of the Credentials class.

public Credentials (string username, string password = default);
new Microsoft.Azure.Management.LabServices.Models.Credentials : string * string -> Microsoft.Azure.Management.LabServices.Models.Credentials
Public Sub New (username As String, Optional password As String = Nothing)

Parameters

username
String

The username to use when signing in to lab VMs.

password
String

The password for the user. This is required for the TemplateVM createOption.

Applies to