Class BootDiagnosticsInstanceView
java.lang.Object
com.azure.resourcemanager.compute.models.BootDiagnosticsInstanceView
- All Implemented Interfaces:
com.azure.json.JsonSerializable<BootDiagnosticsInstanceView>
public final class BootDiagnosticsInstanceView
extends Object
implements com.azure.json.JsonSerializable<BootDiagnosticsInstanceView>
The instance view of a virtual machine boot diagnostics.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of BootDiagnosticsInstanceView class. -
Method Summary
Modifier and TypeMethodDescriptionGet the consoleScreenshotBlobUri property: The console screenshot blob URI.static BootDiagnosticsInstanceViewfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BootDiagnosticsInstanceView from the JsonReader.Get the serialConsoleLogBlobUri property: The serial console log blob Uri.status()Get the status property: The boot diagnostics status information for the VM.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
BootDiagnosticsInstanceView
public BootDiagnosticsInstanceView()Creates an instance of BootDiagnosticsInstanceView class.
-
-
Method Details
-
consoleScreenshotBlobUri
Get the consoleScreenshotBlobUri property: The console screenshot blob URI. **Note:** This will **not** be set if boot diagnostics is currently enabled with managed storage.- Returns:
- the consoleScreenshotBlobUri value.
-
serialConsoleLogBlobUri
Get the serialConsoleLogBlobUri property: The serial console log blob Uri. **Note:** This will **not** be set if boot diagnostics is currently enabled with managed storage.- Returns:
- the serialConsoleLogBlobUri value.
-
status
Get the status property: The boot diagnostics status information for the VM. **Note:** It will be set only if there are errors encountered in enabling boot diagnostics.- Returns:
- the status value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<BootDiagnosticsInstanceView>- Throws:
IOException
-
fromJson
public static BootDiagnosticsInstanceView fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of BootDiagnosticsInstanceView from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of BootDiagnosticsInstanceView if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the BootDiagnosticsInstanceView.
-