Class: Azure::BatchAI::Mgmt::V2018_03_01::Models::UserAccountSettings

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-03-01/generated/azure_mgmt_batchai/models/user_account_settings.rb

Overview

Settings for user account that gets created on each on the nodes of a cluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#admin_user_nameString

Returns Specifies the name of the administrator account.

Returns:

  • (String)

    Specifies the name of the administrator account.



17
18
19
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/user_account_settings.rb', line 17

def admin_user_name
  @admin_user_name
end

#admin_user_passwordString

returned in a GET response body.

Returns:

  • (String)

    Admin user Password (linux only). This does not get



25
26
27
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/user_account_settings.rb', line 25

def admin_user_password
  @admin_user_password
end

#admin_user_ssh_public_keyString

VMs. This does not get returned in a GET response body.

Returns:

  • (String)

    SSH public keys used to authenticate with linux based



21
22
23
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/user_account_settings.rb', line 21

def admin_user_ssh_public_key
  @admin_user_ssh_public_key
end

Class Method Details

.mapperObject

Mapper for UserAccountSettings class as Ruby Hash. This will be used for serialization/deserialization.



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/user_account_settings.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UserAccountSettings',
    type: {
      name: 'Composite',
      class_name: 'UserAccountSettings',
      model_properties: {
        admin_user_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'adminUserName',
          type: {
            name: 'String'
          }
        },
        admin_user_ssh_public_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'adminUserSshPublicKey',
          type: {
            name: 'String'
          }
        },
        admin_user_password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'adminUserPassword',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end