# 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::Labservices::Mgmt::V2018_10_15
  module Models
    #
    # Details of the backing virtual machine.
    #
    class VirtualMachineDetails

      include MsRestAzure

      # @return [String] Provisioning state of the Dtl VM
      attr_accessor :provisioning_state

      # @return [String] Connection information for Windows
      attr_accessor :rdp_authority

      # @return [String] Connection information for Linux
      attr_accessor :ssh_authority

      # @return [String] PrivateIp address of the compute VM
      attr_accessor :private_ip_address

      # @return [String] Compute VM login user name
      attr_accessor :user_name

      # @return [String] Last known compute power state captured in DTL
      attr_accessor :last_known_power_state


      #
      # Mapper for VirtualMachineDetails class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VirtualMachineDetails',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineDetails',
            model_properties: {
              provisioning_state: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'provisioningState',
                type: {
                  name: 'String'
                }
              },
              rdp_authority: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'rdpAuthority',
                type: {
                  name: 'String'
                }
              },
              ssh_authority: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'sshAuthority',
                type: {
                  name: 'String'
                }
              },
              private_ip_address: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'privateIpAddress',
                type: {
                  name: 'String'
                }
              },
              user_name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'userName',
                type: {
                  name: 'String'
                }
              },
              last_known_power_state: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'lastKnownPowerState',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
