Interface ConnectivityCheck
- All Superinterfaces:
Executable<ConnectivityCheck>,HasParent<NetworkWatcher>,Indexable
A client-side representation allowing user to verify the possibility of establishing a direct TCP connection from a
virtual machine to a given endpoint including another VM or an arbitrary remote server.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of connectivity check parameters definition.static interfaceGrouping of connectivity check parameters definition stages. -
Method Summary
Modifier and TypeMethodDescriptionintGets average latency in milliseconds.Gets the connection status.hops()Gets list of hops between the source and the destination.intGets maximum latency in milliseconds.intGets minimum latency in milliseconds.intGets number of failed probes.intGets total number of probes sent.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Executable
execute, executeAsync
-
Method Details
-
hops
List<ConnectivityHop> hops()Gets list of hops between the source and the destination.- Returns:
- list of hops between the source and the destination
-
connectionStatus
ConnectionStatus connectionStatus()Gets the connection status.- Returns:
- the connection status
-
avgLatencyInMs
int avgLatencyInMs()Gets average latency in milliseconds.- Returns:
- average latency in milliseconds
-
minLatencyInMs
int minLatencyInMs()Gets minimum latency in milliseconds.- Returns:
- minimum latency in milliseconds
-
maxLatencyInMs
int maxLatencyInMs()Gets maximum latency in milliseconds.- Returns:
- maximum latency in milliseconds
-
probesSent
int probesSent()Gets total number of probes sent.- Returns:
- total number of probes sent
-
probesFailed
int probesFailed()Gets number of failed probes.- Returns:
- number of failed probes
-