PeeringHealth Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. PeeringHealth
- com.
Implements
public final class PeeringHealth
implements JsonSerializable<PeeringHealth>
Health information for a peering connection.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Peering |
fromJson(JsonReader jsonReader)
Reads an instance of Peering |
|
Peering |
statsAtPrepare()
Get the stats |
|
Peering |
statsCurrent()
Get the stats |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of peering (for example, Private, Microsoft, Public). |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static PeeringHealth fromJson(JsonReader jsonReader)
Reads an instance of PeeringHealth from the JsonReader.
Parameters:
Returns:
Throws:
statsAtPrepare
public PeeringStats statsAtPrepare()
Get the statsAtPrepare property: The peering statistics captured at prepare phase.
Returns:
statsCurrent
public PeeringStats statsCurrent()
Get the statsCurrent property: The current peering statistics.
Returns:
toJson
type
public String type()
Get the type property: The type of peering (for example, Private, Microsoft, Public).
Returns:
validate
public void validate()
Validates the instance.