SourcePortStats Class

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

Implements

public final class SourcePortStats
implements JsonSerializable<SourcePortStats>

Statistics from the source port before migration.

Method Summary

Modifier and Type Method and Description
static SourcePortStats fromJson(JsonReader jsonReader)

Reads an instance of SourcePortStats from the JsonReader.

List<PeeringHealth> peerings()

Get the peerings property: The peering health information from the source port.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static SourcePortStats fromJson(JsonReader jsonReader)

Reads an instance of SourcePortStats from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

peerings

public List<PeeringHealth> peerings()

Get the peerings property: The peering health information from the source port.

Returns:

the peerings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to