public class UserAccount extends Object
| Constructor and Description |
|---|
UserAccount() |
| Modifier and Type | Method and Description |
|---|---|
ElevationLevel |
elevationLevel()
Get nonAdmin - The auto user is a standard user without elevated access.
|
LinuxUserConfiguration |
linuxUserConfiguration()
Get this property is ignored if specified on a Windows pool.
|
String |
name()
Get the name value.
|
String |
password()
Get the password value.
|
WindowsUserConfiguration |
windowsUserConfiguration()
Get this property can only be specified if the user is on a Windows pool.
|
UserAccount |
withElevationLevel(ElevationLevel elevationLevel)
Set nonAdmin - The auto user is a standard user without elevated access.
|
UserAccount |
withLinuxUserConfiguration(LinuxUserConfiguration linuxUserConfiguration)
Set this property is ignored if specified on a Windows pool.
|
UserAccount |
withName(String name)
Set the name value.
|
UserAccount |
withPassword(String password)
Set the password value.
|
UserAccount |
withWindowsUserConfiguration(WindowsUserConfiguration windowsUserConfiguration)
Set this property can only be specified if the user is on a Windows pool.
|
public String name()
public UserAccount withName(String name)
name - the name value to setpublic String password()
public UserAccount withPassword(String password)
password - the password value to setpublic ElevationLevel elevationLevel()
public UserAccount withElevationLevel(ElevationLevel elevationLevel)
elevationLevel - the elevationLevel value to setpublic LinuxUserConfiguration linuxUserConfiguration()
public UserAccount withLinuxUserConfiguration(LinuxUserConfiguration linuxUserConfiguration)
linuxUserConfiguration - the linuxUserConfiguration value to setpublic WindowsUserConfiguration windowsUserConfiguration()
public UserAccount withWindowsUserConfiguration(WindowsUserConfiguration windowsUserConfiguration)
windowsUserConfiguration - the windowsUserConfiguration value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/