Class: Azure::Compute::Mgmt::V2020_06_01::Models::BootDiagnostics
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_06_01::Models::BootDiagnostics
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/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
-
#enabled ⇒ Boolean
Virtual Machine.
-
#storage_uri ⇒ String
console output and screenshot.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BootDiagnostics class as Ruby Hash.
Instance Attribute Details
#enabled ⇒ Boolean
Virtual Machine.
20 21 22 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb', line 20 def enabled @enabled end |
#storage_uri ⇒ String
console output and screenshot.
If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
25 26 27 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb', line 25 def storage_uri @storage_uri end |
Class Method Details
.mapper ⇒ Object
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 58 59 60 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb', line 32 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 |