Credentials 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
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for