class Azure::Batch::Mgmt::V2019_04_01::Models::UserAccount
Attributes
@return [ElevationLevel] The elevation level of the user account. 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'
@return [LinuxUserConfiguration] The Linux-specific user configuration for the user account. This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
@return [String] The name of the user account.
@return [String] The password for the user account.
@return [WindowsUserConfiguration] The Windows-specific user configuration for the user account. 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.
Public Class Methods
Mapper for UserAccount
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-04-01/generated/azure_mgmt_batch/models/user_account.rb, line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UserAccount', type: { name: 'Composite', class_name: 'UserAccount', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, password: { client_side_validation: true, required: true, serialized_name: 'password', type: { name: 'String' } }, elevation_level: { client_side_validation: true, required: false, serialized_name: 'elevationLevel', type: { name: 'Enum', module: 'ElevationLevel' } }, linux_user_configuration: { client_side_validation: true, required: false, serialized_name: 'linuxUserConfiguration', type: { name: 'Composite', class_name: 'LinuxUserConfiguration' } }, windows_user_configuration: { client_side_validation: true, required: false, serialized_name: 'windowsUserConfiguration', type: { name: 'Composite', class_name: 'WindowsUserConfiguration' } } } } } end