Class DiagnosticsProfile
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.DiagnosticsProfile
-
public final class DiagnosticsProfile extends Object
Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.
-
-
Constructor Summary
Constructors Constructor Description DiagnosticsProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BootDiagnosticsbootDiagnostics()Get the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.voidvalidate()Validates the instance.DiagnosticsProfilewithBootDiagnostics(BootDiagnostics bootDiagnostics)Set the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
-
-
-
Method Detail
-
bootDiagnostics
public BootDiagnostics bootDiagnostics()
Get the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br>**NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. <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.- Returns:
- the bootDiagnostics value.
-
withBootDiagnostics
public DiagnosticsProfile withBootDiagnostics(BootDiagnostics bootDiagnostics)
Set the bootDiagnostics property: Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br>**NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. <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.- Parameters:
bootDiagnostics- the bootDiagnostics value to set.- Returns:
- the DiagnosticsProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-