你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

UserAccount interface

用于在 Azure Batch 节点上创建用户的属性。

属性

elevationLevel

nonAdmin - 自动用户是没有提升访问权限的标准用户。 管理员 - 自动用户是具有提升访问权限并具有完全管理员权限的用户。 默认值为 nonAdmin。

linuxUserConfiguration

如果在 Windows 池上指定此属性,则忽略此属性。 如果未指定,则使用默认选项创建用户。

name

用户帐户的名称。 名称可以包含最大长度为 20 的任何 Unicode 字符。

password

用户帐户的密码。

windowsUserConfiguration

只有在用户位于 Windows 池中时,才能指定此属性。 如果未指定且在 Windows 池上,则会使用默认选项创建用户。

属性详细信息

elevationLevel

nonAdmin - 自动用户是没有提升访问权限的标准用户。 管理员 - 自动用户是具有提升访问权限并具有完全管理员权限的用户。 默认值为 nonAdmin。

elevationLevel?: ElevationLevel

属性值

linuxUserConfiguration

如果在 Windows 池上指定此属性,则忽略此属性。 如果未指定,则使用默认选项创建用户。

linuxUserConfiguration?: LinuxUserConfiguration

属性值

name

用户帐户的名称。 名称可以包含最大长度为 20 的任何 Unicode 字符。

name: string

属性值

string

password

用户帐户的密码。

password: string

属性值

string

windowsUserConfiguration

只有在用户位于 Windows 池中时,才能指定此属性。 如果未指定且在 Windows 池上,则会使用默认选项创建用户。

windowsUserConfiguration?: WindowsUserConfiguration

属性值