NetworkVirtualApplianceBootDiagnosticParameters Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. NetworkVirtualApplianceBootDiagnosticParameters
- com.
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 Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
consoleScreenshotStorageSasUrl()
Get the console |
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
| Integer |
instanceId()
Get the instance |
| String |
serialConsoleStorageSasUrl()
Get the serial |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withConsoleScreenshotStorageSasUrl(String consoleScreenshotStorageSasUrl)
Set the console |
|
Network |
withInstanceId(Integer instanceId)
Set the instance |
|
Network |
withSerialConsoleStorageSasUrl(String serialConsoleStorageSasUrl)
Set the serial |
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:
fromJson
public static NetworkVirtualApplianceBootDiagnosticParameters fromJson(JsonReader jsonReader)
Reads an instance of NetworkVirtualApplianceBootDiagnosticParameters from the JsonReader.
Parameters:
Returns:
Throws:
instanceId
public Integer instanceId()
Get the instanceId property: The network virtual appliance instance id for which boot diagnostic logs is being requested.
Returns:
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:
toJson
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:
Returns:
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:
Returns:
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:
Returns: