你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BatchUserAccount 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于在Azure Batch节点上创建用户的属性。
public class BatchUserAccount
type BatchUserAccount = class
Public Class BatchUserAccount
- 继承
-
BatchUserAccount
构造函数
BatchUserAccount(String, String) |
初始化 BatchUserAccount 的新实例。 |
属性
ElevationLevel |
nonAdmin - 自动用户是没有提升访问权限的标准用户。 admin - 自动用户是具有提升访问权限的用户,使用完全的管理员权限进行操作。 默认值为 nonAdmin。 |
LinuxUserConfiguration |
如果在 Windows 池上指定此属性,则忽略此属性。 如果未指定,则使用默认选项创建用户。 |
Name |
用户帐户的名称。 名称可以包含最大长度为 20 的任何 Unicode 字符。 |
Password |
用户帐户的密码。 |
WindowsUserLoginMode |
指定用户的登录模式。 VirtualMachineConfiguration 池的默认值为交互模式,对于 CloudServiceConfiguration 池,默认值为批处理模式。 |