### YamlMime:JavaType
uid: "com.microsoft.azure.batch.protocol.models.UserAccount"
fullName: "com.microsoft.azure.batch.protocol.models.UserAccount"
name: "UserAccount"
nameWithType: "UserAccount"
summary: "Properties used to create a user used to execute Tasks on an Azure Batch Compute Node."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public class **UserAccount**"
constructors:
- uid: "com.microsoft.azure.batch.protocol.models.UserAccount.UserAccount()"
fullName: "com.microsoft.azure.batch.protocol.models.UserAccount.UserAccount()"
name: "UserAccount()"
nameWithType: "UserAccount.UserAccount()"
syntax: "public UserAccount()"
methods:
- uid: "com.microsoft.azure.batch.protocol.models.UserAccount.elevationLevel()"
fullName: "com.microsoft.azure.batch.protocol.models.UserAccount.elevationLevel()"
name: "elevationLevel()"
nameWithType: "UserAccount.elevationLevel()"
summary: "Get the default value is nonAdmin."
syntax: "public ElevationLevel elevationLevel()"
desc: "Get the default value is nonAdmin. Possible values include: 'nonAdmin', 'admin'."
returns:
description: "the elevationLevel value"
type: ""
- uid: "com.microsoft.azure.batch.protocol.models.UserAccount.linuxUserConfiguration()"
fullName: "com.microsoft.azure.batch.protocol.models.UserAccount.linuxUserConfiguration()"
name: "linuxUserConfiguration()"
nameWithType: "UserAccount.linuxUserConfiguration()"
summary: "Get this property is ignored if specified on a Windows Pool."
syntax: "public LinuxUserConfiguration linuxUserConfiguration()"
desc: "Get this property is ignored if specified on a Windows Pool. If not specified, the user is created with the default options."
returns:
description: "the linuxUserConfiguration value"
type: ""
- uid: "com.microsoft.azure.batch.protocol.models.UserAccount.name()"
fullName: "com.microsoft.azure.batch.protocol.models.UserAccount.name()"
name: "name()"
nameWithType: "UserAccount.name()"
summary: "Get the name value."
syntax: "public String name()"
desc: "Get the name value."
returns:
description: "the name value"
type: "String"
- uid: "com.microsoft.azure.batch.protocol.models.UserAccount.password()"
fullName: "com.microsoft.azure.batch.protocol.models.UserAccount.password()"
name: "password()"
nameWithType: "UserAccount.password()"
summary: "Get the password value."
syntax: "public String password()"
desc: "Get the password value."
returns:
description: "the password value"
type: "String"
- uid: "com.microsoft.azure.batch.protocol.models.UserAccount.windowsUserConfiguration()"
fullName: "com.microsoft.azure.batch.protocol.models.UserAccount.windowsUserConfiguration()"
name: "windowsUserConfiguration()"
nameWithType: "UserAccount.windowsUserConfiguration()"
summary: "Get this property can only be specified if the user is on a Windows Pool."
syntax: "public WindowsUserConfiguration windowsUserConfiguration()"
desc: "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:
description: "the windowsUserConfiguration value"
type: ""
- uid: "com.microsoft.azure.batch.protocol.models.UserAccount.withElevationLevel(com.microsoft.azure.batch.protocol.models.ElevationLevel)"
fullName: "com.microsoft.azure.batch.protocol.models.UserAccount.withElevationLevel(ElevationLevel elevationLevel)"
name: "withElevationLevel(ElevationLevel elevationLevel)"
nameWithType: "UserAccount.withElevationLevel(ElevationLevel elevationLevel)"
summary: "Set the default value is nonAdmin."
parameters:
- description: "the elevationLevel value to set"
name: "elevationLevel"
type: ""
syntax: "public UserAccount withElevationLevel(ElevationLevel elevationLevel)"
desc: "Set the default value is nonAdmin. Possible values include: 'nonAdmin', 'admin'."
returns:
description: "the UserAccount object itself."
type: ""
- uid: "com.microsoft.azure.batch.protocol.models.UserAccount.withLinuxUserConfiguration(com.microsoft.azure.batch.protocol.models.LinuxUserConfiguration)"
fullName: "com.microsoft.azure.batch.protocol.models.UserAccount.withLinuxUserConfiguration(LinuxUserConfiguration linuxUserConfiguration)"
name: "withLinuxUserConfiguration(LinuxUserConfiguration linuxUserConfiguration)"
nameWithType: "UserAccount.withLinuxUserConfiguration(LinuxUserConfiguration linuxUserConfiguration)"
summary: "Set this property is ignored if specified on a Windows Pool."
parameters:
- description: "the linuxUserConfiguration value to set"
name: "linuxUserConfiguration"
type: ""
syntax: "public UserAccount withLinuxUserConfiguration(LinuxUserConfiguration linuxUserConfiguration)"
desc: "Set this property is ignored if specified on a Windows Pool. If not specified, the user is created with the default options."
returns:
description: "the UserAccount object itself."
type: ""
- uid: "com.microsoft.azure.batch.protocol.models.UserAccount.withName(java.lang.String)"
fullName: "com.microsoft.azure.batch.protocol.models.UserAccount.withName(String name)"
name: "withName(String name)"
nameWithType: "UserAccount.withName(String name)"
summary: "Set the name value."
parameters:
- description: "the name value to set"
name: "name"
type: "String"
syntax: "public UserAccount withName(String name)"
desc: "Set the name value."
returns:
description: "the UserAccount object itself."
type: ""
- uid: "com.microsoft.azure.batch.protocol.models.UserAccount.withPassword(java.lang.String)"
fullName: "com.microsoft.azure.batch.protocol.models.UserAccount.withPassword(String password)"
name: "withPassword(String password)"
nameWithType: "UserAccount.withPassword(String password)"
summary: "Set the password value."
parameters:
- description: "the password value to set"
name: "password"
type: "String"
syntax: "public UserAccount withPassword(String password)"
desc: "Set the password value."
returns:
description: "the UserAccount object itself."
type: ""
- uid: "com.microsoft.azure.batch.protocol.models.UserAccount.withWindowsUserConfiguration(com.microsoft.azure.batch.protocol.models.WindowsUserConfiguration)"
fullName: "com.microsoft.azure.batch.protocol.models.UserAccount.withWindowsUserConfiguration(WindowsUserConfiguration windowsUserConfiguration)"
name: "withWindowsUserConfiguration(WindowsUserConfiguration windowsUserConfiguration)"
nameWithType: "UserAccount.withWindowsUserConfiguration(WindowsUserConfiguration windowsUserConfiguration)"
summary: "Set this property can only be specified if the user is on a Windows Pool."
parameters:
- description: "the windowsUserConfiguration value to set"
name: "windowsUserConfiguration"
type: ""
syntax: "public UserAccount withWindowsUserConfiguration(WindowsUserConfiguration windowsUserConfiguration)"
desc: "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."
returns:
description: "the UserAccount object itself."
type: ""
type: "class"
desc: "Properties used to create a user used to execute Tasks on an Azure Batch Compute Node."
metadata: {}
package: "com.microsoft.azure.batch.protocol.models"
artifact: com.microsoft.azure:azure-batch:11.2.0