# 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_03_01_preview
  module Models
    #
    # Secrets related to a Machine Learning compute based on AKS.
    #
    class VirtualMachineSecrets < ComputeSecrets

      include MsRestAzure


      def initialize
        @computeType = "VirtualMachine"
      end

      attr_accessor :computeType

      # @return [VirtualMachineSshCredentials] Admin credentials for virtual
      # machine.
      attr_accessor :administrator_account


      #
      # Mapper for VirtualMachineSecrets class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VirtualMachine',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineSecrets',
            model_properties: {
              computeType: {
                client_side_validation: true,
                required: true,
                serialized_name: 'computeType',
                type: {
                  name: 'String'
                }
              },
              administrator_account: {
                client_side_validation: true,
                required: false,
                serialized_name: 'administratorAccount',
                type: {
                  name: 'Composite',
                  class_name: 'VirtualMachineSshCredentials'
                }
              }
            }
          }
        }
      end
    end
  end
end
