Class: Azure::Compute::Mgmt::V2017_03_30::Models::BootDiagnostics

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

Overview

Boot Diagnostics is a debugging feature which 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.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enabledBoolean

Virtual Machine.

Returns:

  • (Boolean)

    Whether boot diagnostics should be enabled on the



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

def enabled
  @enabled
end

#storage_uriString

console output and screenshot.

Returns:

  • (String)

    Uri of the storage account to use for placing the



25
26
27
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb', line 25

def storage_uri
  @storage_uri
end

Class Method Details

.mapperObject

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



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb', line 32

def self.mapper()
  {
    required: false,
    serialized_name: 'BootDiagnostics',
    type: {
      name: 'Composite',
      class_name: 'BootDiagnostics',
      model_properties: {
        enabled: {
          required: false,
          serialized_name: 'enabled',
          type: {
            name: 'Boolean'
          }
        },
        storage_uri: {
          required: false,
          serialized_name: 'storageUri',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end