# 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::Compute::Mgmt::V2019_03_01
  module Models
    #
    # The instance view of a virtual machine boot diagnostics.
    #
    class BootDiagnosticsInstanceView

      include MsRestAzure

      # @return [String] The console screenshot blob URI.
      attr_accessor :console_screenshot_blob_uri

      # @return [String] The Linux serial console log blob Uri.
      attr_accessor :serial_console_log_blob_uri

      # @return [InstanceViewStatus] The boot diagnostics status information
      # for the VM. <br><br> NOTE: It will be set only if there are errors
      # encountered in enabling boot diagnostics.
      attr_accessor :status


      #
      # Mapper for BootDiagnosticsInstanceView class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'BootDiagnosticsInstanceView',
          type: {
            name: 'Composite',
            class_name: 'BootDiagnosticsInstanceView',
            model_properties: {
              console_screenshot_blob_uri: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'consoleScreenshotBlobUri',
                type: {
                  name: 'String'
                }
              },
              serial_console_log_blob_uri: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'serialConsoleLogBlobUri',
                type: {
                  name: 'String'
                }
              },
              status: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'status',
                type: {
                  name: 'Composite',
                  class_name: 'InstanceViewStatus'
                }
              }
            }
          }
        }
      end
    end
  end
end
