Class UserAccount
java.lang.Object
com.microsoft.azure.management.batch.UserAccount
Properties used to create a user on an Azure Batch node.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet nonAdmin - The auto user is a standard user without elevated access.Get this property is ignored if specified on a Windows pool.name()
Get the name value.password()
Get the password value.Get this property can only be specified if the user is on a Windows pool.withElevationLevel
(ElevationLevel elevationLevel) Set nonAdmin - The auto user is a standard user without elevated access.withLinuxUserConfiguration
(LinuxUserConfiguration linuxUserConfiguration) Set this property is ignored if specified on a Windows pool.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.
-
Constructor Details
-
UserAccount
public UserAccount()
-
-
Method Details
-
name
Get the name value.- Returns:
- the name value
-
withName
Set the name value.- Parameters:
name
- the name value to set- Returns:
- the UserAccount object itself.
-
password
Get the password value.- Returns:
- the password value
-
withPassword
Set the password value.- Parameters:
password
- the password value to set- Returns:
- the UserAccount object itself.
-
elevationLevel
Get 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'.- Returns:
- the elevationLevel value
-
withElevationLevel
Set 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'.- Parameters:
elevationLevel
- the elevationLevel value to set- Returns:
- the UserAccount object itself.
-
linuxUserConfiguration
Get this property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.- Returns:
- the linuxUserConfiguration value
-
withLinuxUserConfiguration
Set this property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.- Parameters:
linuxUserConfiguration
- the linuxUserConfiguration value to set- Returns:
- the UserAccount object itself.
-
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.- Returns:
- the windowsUserConfiguration value
-
withWindowsUserConfiguration
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.- Parameters:
windowsUserConfiguration
- the windowsUserConfiguration value to set- Returns:
- the UserAccount object itself.
-