# 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 about the state of the reference virtual machine.
    #
    class VmStateDetails

      include MsRestAzure

      # @return [String] The RdpAuthority property is a server DNS host name or
      # IP address followed by the service port number for RDP (Remote Desktop
      # Protocol).
      attr_accessor :rdp_authority

      # @return [String] The SshAuthority property is a server DNS host name or
      # IP address followed by the service port number for SSH.
      attr_accessor :ssh_authority

      # @return [String] The power state of the reference virtual machine.
      attr_accessor :power_state

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


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