Sha256: 95bd15ea9f340170355638442107bd99ba234e70e684f9e9dbd384417fc05085

Contents?: true

Size: 1.87 KB

Versions: 3

Compression:

Stored size: 1.87 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::V2020_06_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. <br><br>If storageUri is not specified
      # while enabling boot diagnostics, managed storage will be used.
      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

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb
azure_mgmt_compute-0.21.1 lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb
azure_mgmt_compute-0.20.0 lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb