BootDiagnosticsInstanceView Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. BootDiagnosticsInstanceView
- com.
Implements
public final class BootDiagnosticsInstanceView
implements JsonSerializable<BootDiagnosticsInstanceView>
The instance view of a virtual machine boot diagnostics.
Constructor Summary
Constructor | Description |
---|---|
BootDiagnosticsInstanceView() |
Creates an instance of Boot |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
consoleScreenshotBlobUri()
Get the console |
static
Boot |
fromJson(JsonReader jsonReader)
Reads an instance of Boot |
String |
serialConsoleLogBlobUri()
Get the serial |
Instance |
status()
Get the status property: The boot diagnostics status information for the VM. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
BootDiagnosticsInstanceView
public BootDiagnosticsInstanceView()
Creates an instance of BootDiagnosticsInstanceView class.
Method Details
consoleScreenshotBlobUri
public String 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:
fromJson
public static BootDiagnosticsInstanceView fromJson(JsonReader jsonReader)
Reads an instance of BootDiagnosticsInstanceView from the JsonReader.
Parameters:
Returns:
Throws:
serialConsoleLogBlobUri
public String 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:
status
public InstanceViewStatus 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:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java