Class: Azure::ARM::Compute::Models::BootDiagnostics

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/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



22
23
24
# File 'lib/generated/azure_mgmt_compute/models/boot_diagnostics.rb', line 22

def enabled
  @enabled
end

#storage_uriString

console output and screenshot.

Returns:

  • (String)

    Uri of the storage account to use for placing the



26
27
28
# File 'lib/generated/azure_mgmt_compute/models/boot_diagnostics.rb', line 26

def storage_uri
  @storage_uri
end

Class Method Details

.mapperObject

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



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
58
# File 'lib/generated/azure_mgmt_compute/models/boot_diagnostics.rb', line 33

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