UserAccount 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
UserAccount() |
Initializes a new instance of the UserAccount class. |
UserAccount(String, String, Nullable<ElevationLevel>, LinuxUserConfiguration, WindowsUserConfiguration) |
Initializes a new instance of the UserAccount class. |
UserAccount()
Initializes a new instance of the UserAccount class.
public UserAccount ();
Public Sub New ()
Applies to
UserAccount(String, String, Nullable<ElevationLevel>, LinuxUserConfiguration, WindowsUserConfiguration)
Initializes a new instance of the UserAccount class.
public UserAccount (string name, string password, Microsoft.Azure.Management.Batch.Models.ElevationLevel? elevationLevel = default, Microsoft.Azure.Management.Batch.Models.LinuxUserConfiguration linuxUserConfiguration = default, Microsoft.Azure.Management.Batch.Models.WindowsUserConfiguration windowsUserConfiguration = default);
new Microsoft.Azure.Management.Batch.Models.UserAccount : string * string * Nullable<Microsoft.Azure.Management.Batch.Models.ElevationLevel> * Microsoft.Azure.Management.Batch.Models.LinuxUserConfiguration * Microsoft.Azure.Management.Batch.Models.WindowsUserConfiguration -> Microsoft.Azure.Management.Batch.Models.UserAccount
Public Sub New (name As String, password As String, Optional elevationLevel As Nullable(Of ElevationLevel) = Nothing, Optional linuxUserConfiguration As LinuxUserConfiguration = Nothing, Optional windowsUserConfiguration As WindowsUserConfiguration = Nothing)
Parameters
- name
- String
The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.
- password
- String
The password for the user account.
- elevationLevel
- Nullable<ElevationLevel>
The elevation level of the user account.
- linuxUserConfiguration
- LinuxUserConfiguration
The Linux-specific user configuration for the user account.
- windowsUserConfiguration
- WindowsUserConfiguration
The Windows-specific user configuration for the user account.
Applies to
Azure SDK for .NET