DiagnosticsProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DiagnosticsProfile
- com.
Implements
public final class DiagnosticsProfile
implements JsonSerializable<DiagnosticsProfile>
Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
Constructor Summary
Constructor | Description |
---|---|
DiagnosticsProfile() |
Creates an instance of Diagnostics |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boot |
bootDiagnostics()
Get the boot |
static
Diagnostics |
fromJson(JsonReader jsonReader)
Reads an instance of Diagnostics |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Diagnostics |
withBootDiagnostics(BootDiagnostics bootDiagnostics)
Set the boot |
Methods inherited from java.lang.Object
Constructor Details
DiagnosticsProfile
public DiagnosticsProfile()
Creates an instance of DiagnosticsProfile class.
Method Details
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. **NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
Returns:
fromJson
public static DiagnosticsProfile fromJson(JsonReader jsonReader)
Reads an instance of DiagnosticsProfile from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
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. **NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
Parameters:
Returns:
Applies to
Azure SDK for Java