class Azure::Compute::Mgmt::V2015_06_15::Models::BootDiagnostics

Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.

Attributes

enabled[RW]

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

storage_uri[RW]

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

Public Class Methods

mapper() click to toggle source

Mapper for BootDiagnostics class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb, line 31
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