PortMigrationInfo Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. PortMigrationInfo
- com.
Implements
public final class PortMigrationInfo
implements JsonSerializable<PortMigrationInfo>
Information about a port migration status.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
failureReason()
Get the failure |
|
static
Port |
fromJson(JsonReader jsonReader)
Reads an instance of Port |
|
List<Peering |
peerings()
Get the peerings property: The peering health details for the port. |
| String |
phase()
Get the phase property: The current migration phase for the port. |
| String |
portId()
Get the port |
| String |
sourcePortId()
Get the source |
|
Source |
sourcePortStats()
Get the source |
| String |
status()
Get the status property: The migration status for the port. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
failureReason
public String failureReason()
Get the failureReason property: The reason for failure if migration failed for the port.
Returns:
fromJson
public static PortMigrationInfo fromJson(JsonReader jsonReader)
Reads an instance of PortMigrationInfo from the JsonReader.
Parameters:
Returns:
Throws:
peerings
public List<PeeringHealth> peerings()
Get the peerings property: The peering health details for the port.
Returns:
phase
public String phase()
Get the phase property: The current migration phase for the port.
Returns:
portId
public String portId()
Get the portId property: The identifier of the port being migrated.
Returns:
sourcePortId
public String sourcePortId()
Get the sourcePortId property: The source port identifier before migration.
Returns:
sourcePortStats
public SourcePortStats sourcePortStats()
Get the sourcePortStats property: The source port statistics before migration.
Returns:
status
public String status()
Get the status property: The migration status for the port.
Returns:
toJson
validate
public void validate()
Validates the instance.