你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PSUserAccount 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
PSUserAccount(String, String, Nullable<ElevationLevel>, PSLinuxUserConfiguration) | |
PSUserAccount(String, String, Nullable<ElevationLevel>, PSLinuxUserConfiguration, PSWindowsUserConfiguration) |
PSUserAccount(String, String, Nullable<ElevationLevel>, PSLinuxUserConfiguration)
public PSUserAccount (string name, string password, Microsoft.Azure.Batch.Common.ElevationLevel? elevationLevel = default, Microsoft.Azure.Commands.Batch.Models.PSLinuxUserConfiguration linuxUserConfiguration = default);
new Microsoft.Azure.Commands.Batch.Models.PSUserAccount : string * string * Nullable<Microsoft.Azure.Batch.Common.ElevationLevel> * Microsoft.Azure.Commands.Batch.Models.PSLinuxUserConfiguration -> Microsoft.Azure.Commands.Batch.Models.PSUserAccount
Public Sub New (name As String, password As String, Optional elevationLevel As Nullable(Of ElevationLevel) = Nothing, Optional linuxUserConfiguration As PSLinuxUserConfiguration = Nothing)
Parameters
- name
- String
- password
- String
- elevationLevel
- Nullable<ElevationLevel>
- linuxUserConfiguration
- PSLinuxUserConfiguration
Applies to
PSUserAccount(String, String, Nullable<ElevationLevel>, PSLinuxUserConfiguration, PSWindowsUserConfiguration)
public PSUserAccount (string name, string password, Microsoft.Azure.Batch.Common.ElevationLevel? elevationLevel = default, Microsoft.Azure.Commands.Batch.Models.PSLinuxUserConfiguration linuxUserConfiguration = default, Microsoft.Azure.Commands.Batch.Models.PSWindowsUserConfiguration windowsUserConfiguration = default);
new Microsoft.Azure.Commands.Batch.Models.PSUserAccount : string * string * Nullable<Microsoft.Azure.Batch.Common.ElevationLevel> * Microsoft.Azure.Commands.Batch.Models.PSLinuxUserConfiguration * Microsoft.Azure.Commands.Batch.Models.PSWindowsUserConfiguration -> Microsoft.Azure.Commands.Batch.Models.PSUserAccount
Public Sub New (name As String, password As String, Optional elevationLevel As Nullable(Of ElevationLevel) = Nothing, Optional linuxUserConfiguration As PSLinuxUserConfiguration = Nothing, Optional windowsUserConfiguration As PSWindowsUserConfiguration = Nothing)
Parameters
- name
- String
- password
- String
- elevationLevel
- Nullable<ElevationLevel>
- linuxUserConfiguration
- PSLinuxUserConfiguration
- windowsUserConfiguration
- PSWindowsUserConfiguration