Partilhar via


NetworkVirtualApplianceBootDiagnosticParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.NetworkVirtualApplianceBootDiagnosticParameters

Implements

public final class NetworkVirtualApplianceBootDiagnosticParameters
implements JsonSerializable<NetworkVirtualApplianceBootDiagnosticParameters>

Specifies input parameters required to retrieve the boot diagnostic logs for an NVA instance.

Constructor Summary

Constructor Description
NetworkVirtualApplianceBootDiagnosticParameters()

Creates an instance of NetworkVirtualApplianceBootDiagnosticParameters class.

Method Summary

Modifier and Type Method and Description
String consoleScreenshotStorageSasUrl()

Get the consoleScreenshotStorageSasUrl property: Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written.

static NetworkVirtualApplianceBootDiagnosticParameters fromJson(JsonReader jsonReader)

Reads an instance of NetworkVirtualApplianceBootDiagnosticParameters from the JsonReader.

Integer instanceId()

Get the instanceId property: The network virtual appliance instance id for which boot diagnostic logs is being requested.

String serialConsoleStorageSasUrl()

Get the serialConsoleStorageSasUrl property: Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkVirtualApplianceBootDiagnosticParameters withConsoleScreenshotStorageSasUrl(String consoleScreenshotStorageSasUrl)

Set the consoleScreenshotStorageSasUrl property: Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written.

NetworkVirtualApplianceBootDiagnosticParameters withInstanceId(Integer instanceId)

Set the instanceId property: The network virtual appliance instance id for which boot diagnostic logs is being requested.

NetworkVirtualApplianceBootDiagnosticParameters withSerialConsoleStorageSasUrl(String serialConsoleStorageSasUrl)

Set the serialConsoleStorageSasUrl property: Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written.

Methods inherited from java.lang.Object

Constructor Details

NetworkVirtualApplianceBootDiagnosticParameters

public NetworkVirtualApplianceBootDiagnosticParameters()

Creates an instance of NetworkVirtualApplianceBootDiagnosticParameters class.

Method Details

consoleScreenshotStorageSasUrl

public String consoleScreenshotStorageSasUrl()

Get the consoleScreenshotStorageSasUrl property: Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written.

Returns:

the consoleScreenshotStorageSasUrl value.

fromJson

public static NetworkVirtualApplianceBootDiagnosticParameters fromJson(JsonReader jsonReader)

Reads an instance of NetworkVirtualApplianceBootDiagnosticParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkVirtualApplianceBootDiagnosticParameters 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 NetworkVirtualApplianceBootDiagnosticParameters.

instanceId

public Integer instanceId()

Get the instanceId property: The network virtual appliance instance id for which boot diagnostic logs is being requested.

Returns:

the instanceId value.

serialConsoleStorageSasUrl

public String serialConsoleStorageSasUrl()

Get the serialConsoleStorageSasUrl property: Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written.

Returns:

the serialConsoleStorageSasUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withConsoleScreenshotStorageSasUrl

public NetworkVirtualApplianceBootDiagnosticParameters withConsoleScreenshotStorageSasUrl(String consoleScreenshotStorageSasUrl)

Set the consoleScreenshotStorageSasUrl property: Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written.

Parameters:

consoleScreenshotStorageSasUrl - the consoleScreenshotStorageSasUrl value to set.

Returns:

the NetworkVirtualApplianceBootDiagnosticParameters object itself.

withInstanceId

public NetworkVirtualApplianceBootDiagnosticParameters withInstanceId(Integer instanceId)

Set the instanceId property: The network virtual appliance instance id for which boot diagnostic logs is being requested.

Parameters:

instanceId - the instanceId value to set.

Returns:

the NetworkVirtualApplianceBootDiagnosticParameters object itself.

withSerialConsoleStorageSasUrl

public NetworkVirtualApplianceBootDiagnosticParameters withSerialConsoleStorageSasUrl(String serialConsoleStorageSasUrl)

Set the serialConsoleStorageSasUrl property: Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written.

Parameters:

serialConsoleStorageSasUrl - the serialConsoleStorageSasUrl value to set.

Returns:

the NetworkVirtualApplianceBootDiagnosticParameters object itself.

Applies to