Share via


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