Class BootDiagnostics
java.lang.Object
com.microsoft.azure.management.compute.BootDiagnostics
Boot Diagnostics is a debugging feature which allows you to view Console
Output and Screenshot to diagnose VM status. <br><br> You can
easily view the output of your console log. <br><br> Azure also
enables you to see a screenshot of the VM from the hypervisor.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenabled()
Get whether boot diagnostics should be enabled on the Virtual Machine.Get uri of the storage account to use for placing the console output and screenshot.withEnabled
(Boolean enabled) Set whether boot diagnostics should be enabled on the Virtual Machine.withStorageUri
(String storageUri) Set uri of the storage account to use for placing the console output and screenshot.
-
Constructor Details
-
BootDiagnostics
public BootDiagnostics()
-
-
Method Details
-
enabled
Get whether boot diagnostics should be enabled on the Virtual Machine.- Returns:
- the enabled value
-
withEnabled
Set whether boot diagnostics should be enabled on the Virtual Machine.- Parameters:
enabled
- the enabled value to set- Returns:
- the BootDiagnostics object itself.
-
storageUri
Get uri of the storage account to use for placing the console output and screenshot. <br><br>If storageUri is not specified while enabling boot diagnostics, managed storage will be used.- Returns:
- the storageUri value
-
withStorageUri
Set uri of the storage account to use for placing the console output and screenshot. <br><br>If storageUri is not specified while enabling boot diagnostics, managed storage will be used.- Parameters:
storageUri
- the storageUri value to set- Returns:
- the BootDiagnostics object itself.
-