Class: Azure::Compute::Mgmt::V2017_03_30::Models::DiagnosticsProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb

Overview

Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#boot_diagnosticsBootDiagnostics

allows you to view Console Output and Screenshot to diagnose VM status.
For Linux Virtual Machines, you can easily view the output of your console log.
For both Windows and Linux virtual machines, Azure also enables you to see a screenshot of the VM from the hypervisor.

Returns:



22
23
24
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb', line 22

def boot_diagnostics
  @boot_diagnostics
end

Class Method Details

.mapperObject

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



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb', line 29

def self.mapper()
  {
    required: false,
    serialized_name: 'DiagnosticsProfile',
    type: {
      name: 'Composite',
      class_name: 'DiagnosticsProfile',
      model_properties: {
        boot_diagnostics: {
          required: false,
          serialized_name: 'bootDiagnostics',
          type: {
            name: 'Composite',
            class_name: 'BootDiagnostics'
          }
        }
      }
    }
  }
end