# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::MachineLearningServices::Mgmt::V2018_11_19
  module Models
    #
    # Settings for user account that gets created on each on the nodes of a
    # compute.
    #
    class UserAccountCredentials

      include MsRestAzure

      # @return [String] User name. Name of the administrator user account
      # which can be used to SSH to nodes.
      attr_accessor :admin_user_name

      # @return [String] SSH public key. SSH public key of the administrator
      # user account.
      attr_accessor :admin_user_ssh_public_key

      # @return [String] Password. Password of the administrator user account.
      attr_accessor :admin_user_password


      #
      # Mapper for UserAccountCredentials class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'UserAccountCredentials',
          type: {
            name: 'Composite',
            class_name: 'UserAccountCredentials',
            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
    end
  end
end
