你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BootDiagnosticsInstanceView Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.BootDiagnosticsInstanceView

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 BootDiagnosticsInstanceView class.

Method Summary

Modifier and Type Method and Description
String consoleScreenshotBlobUri()

Get the consoleScreenshotBlobUri property: The console screenshot blob URI.

static BootDiagnosticsInstanceView fromJson(JsonReader jsonReader)

Reads an instance of BootDiagnosticsInstanceView from the JsonReader.

String serialConsoleLogBlobUri()

Get the serialConsoleLogBlobUri property: The serial console log blob Uri.

InstanceViewStatus status()

Get the status property: The boot diagnostics status information for the VM.

JsonWriter 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:

the consoleScreenshotBlobUri value.

fromJson

public static BootDiagnosticsInstanceView fromJson(JsonReader jsonReader)

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.

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:

the serialConsoleLogBlobUri value.

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:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to