Share via


AvsAssessedNetworkAdapter Class

  • java.lang.Object
    • com.azure.resourcemanager.migration.assessment.models.AvsAssessedNetworkAdapter

Implements

public final class AvsAssessedNetworkAdapter
implements JsonSerializable<AvsAssessedNetworkAdapter>

Second level object returned as part of AVS AssessedMachine REST resource.

Constructor Summary

Constructor Description
AvsAssessedNetworkAdapter()

Creates an instance of AvsAssessedNetworkAdapter class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Gets the display name of the network adapter.

static AvsAssessedNetworkAdapter fromJson(JsonReader jsonReader)

Reads an instance of AvsAssessedNetworkAdapter from the JsonReader.

List<String> ipAddresses()

Get the ipAddresses property: IP V4 addresses for the machine.

String macAddress()

Get the macAddress property: Mac address of the NIC.

Float megabytesPerSecondReceived()

Get the megabytesPerSecondReceived property: Gets the Received data for Network Adapter in MB/s.

Float megabytesPerSecondTransmitted()

Get the megabytesPerSecondTransmitted property: Gets the Transmitted data for Network Adapter in MB/s.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

AvsAssessedNetworkAdapter

public AvsAssessedNetworkAdapter()

Creates an instance of AvsAssessedNetworkAdapter class.

Method Details

displayName

public String displayName()

Get the displayName property: Gets the display name of the network adapter.

Returns:

the displayName value.

fromJson

public static AvsAssessedNetworkAdapter fromJson(JsonReader jsonReader)

Reads an instance of AvsAssessedNetworkAdapter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ipAddresses

public List<String> ipAddresses()

Get the ipAddresses property: IP V4 addresses for the machine.

Returns:

the ipAddresses value.

macAddress

public String macAddress()

Get the macAddress property: Mac address of the NIC.

Returns:

the macAddress value.

megabytesPerSecondReceived

public Float megabytesPerSecondReceived()

Get the megabytesPerSecondReceived property: Gets the Received data for Network Adapter in MB/s. This value is the percentile of historical data based on options selected in Assessment.

Returns:

the megabytesPerSecondReceived value.

megabytesPerSecondTransmitted

public Float megabytesPerSecondTransmitted()

Get the megabytesPerSecondTransmitted property: Gets the Transmitted data for Network Adapter in MB/s. This value is the percentile of historical data based on options selected in Assessment.

Returns:

the megabytesPerSecondTransmitted value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to