UserAccount 类

定义

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

public class UserAccount
继承
java.lang.Object
UserAccount

方法

elevationLevel()

Get the default value is nonAdmin. Possible values include: 'nonAdmin', 'admin'.

linuxUserConfiguration()

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

name()

Get the name value.

password()

Get the password value.

windowsUserConfiguration()

Get 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.

withElevationLevel(ElevationLevel elevationLevel)

Set the default value is nonAdmin. Possible values include: 'nonAdmin', 'admin'.

withLinuxUserConfiguration(LinuxUserConfiguration linuxUserConfiguration)

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

withName(String name)

Set the name value.

withPassword(String password)

Set the password value.

withWindowsUserConfiguration(WindowsUserConfiguration windowsUserConfiguration)

Set 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.

适用于