Method: Inspec::Resources::AzureVirtualMachine#has_boot_diagnostics?
- Defined in:
- lib/resources/azure/azure_virtual_machine.rb
#has_boot_diagnostics? ⇒ Boolean
Does the machine have boot diagnostics enabled
215 216 217 218 219 220 221 |
# File 'lib/resources/azure/azure_virtual_machine.rb', line 215 def has_boot_diagnostics? if defined?(properties.diagnosticsProfile) properties.diagnosticsProfile.bootDiagnostics.enabled else false end end |