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.
You can easily view the output of your console log.
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



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

def enabled
  @enabled
end

#storage_uriString

console output and screenshot.

Returns:

  • (String)

    Uri of the storage account to use for placing the



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

def storage_uri
  @storage_uri
end

Class Method Details

.mapperObject

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



31
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
58
59
# File 'lib/2017-03-30/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