class Azure::Batch::Mgmt::V2017_09_01::Models::UserAccount
Attributes
elevation_level[RW]
@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'
linux_user_configuration[RW]
@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.
name[RW]
@return [String] The name of the user account.
password[RW]
@return [String] The password for the user account.
Public Class Methods
mapper()
click to toggle source
Mapper for UserAccount
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-09-01/generated/azure_mgmt_batch/models/user_account.rb, line 40 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' } } } } } end