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

UserAccount Class

Properties used to create a user on an Azure Batch node.

Constructor

UserAccount(*args: Any, **kwargs: Any)

Variables

Name Description
name
str

The name of the user account. Names can contain any Unicode characters up to a maximum length of 20. Required.

password
str

The password for the user account. Required.

elevation_level

The elevation level of the user. Known values are: "NonAdmin" and "Admin".

linux_user_configuration

The Linux-specific user configuration for the user account.

windows_user_configuration

The Windows-specific user configuration for the user account.

Attributes

elevation_level

"NonAdmin" and "Admin".

elevation_level: str | _models.ElevationLevel | None

linux_user_configuration

The Linux-specific user configuration for the user account.

linux_user_configuration: _models.LinuxUserConfiguration | None

name

The name of the user account. Names can contain any Unicode characters up to a maximum length of 20. Required.

name: str

password

The password for the user account. Required.

password: str

windows_user_configuration

The Windows-specific user configuration for the user account.

windows_user_configuration: _models.WindowsUserConfiguration | None