UserAccount Class

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

All required parameters must be populated in order to send to Azure.

Inheritance
UserAccount

Constructor

UserAccount(*, name: str, password: str, elevation_level: Optional[Union[str, azure.mgmt.batch.models._batch_management_client_enums.ElevationLevel]] = None, linux_user_configuration: Optional[azure.mgmt.batch.models._models_py3.LinuxUserConfiguration] = None, windows_user_configuration: Optional[azure.mgmt.batch.models._models_py3.WindowsUserConfiguration] = None, **kwargs)

Variables

name
str

Required. The name of the user account.

password
str

Required. The password for the user account.

elevation_level
str or ElevationLevel

nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin. Possible values include: "NonAdmin", "Admin".

linux_user_configuration
LinuxUserConfiguration

This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.

windows_user_configuration
WindowsUserConfiguration

This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.