Sha256: 7a9d45f89a2073c9e5e045ffbf85f5684d44ca2d67463166cf08dbc78e820fc8

Contents?: true

Size: 1.76 KB

Versions: 7

Compression:

Stored size: 1.76 KB

Contents

# 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_07_01
  module Models
    #
    # Boot Diagnostics is a debugging feature which allows you to view Console
    # Output and Screenshot to diagnose VM status. <br><br> You can easily view
    # the output of your console log. <br><br> Azure also enables you to see a
    # screenshot of the VM from the hypervisor.
    #
    class BootDiagnostics

      include MsRestAzure

      # @return [Boolean] Whether boot diagnostics should be enabled on the
      # Virtual Machine.
      attr_accessor :enabled

      # @return [String] Uri of the storage account to use for placing the
      # console output and screenshot.
      attr_accessor :storage_uri


      #
      # Mapper for BootDiagnostics class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'BootDiagnostics',
          type: {
            name: 'Composite',
            class_name: 'BootDiagnostics',
            model_properties: {
              enabled: {
                client_side_validation: true,
                required: false,
                serialized_name: 'enabled',
                type: {
                  name: 'Boolean'
                }
              },
              storage_uri: {
                client_side_validation: true,
                required: false,
                serialized_name: 'storageUri',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2019-07-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb
azure_mgmt_compute-0.21.1 lib/2019-07-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb
azure_mgmt_compute-0.20.0 lib/2019-07-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb
azure_mgmt_compute-0.19.3 lib/2019-07-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb
azure_mgmt_compute-0.19.2 lib/2019-07-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb
azure_mgmt_compute-0.19.1 lib/2019-07-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb
azure_mgmt_compute-0.19.0 lib/2019-07-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb