ConnectionStateSnapshot Class

Connection state snapshot.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
ConnectionStateSnapshot

Constructor

ConnectionStateSnapshot(*, connection_state: typing.Union[str, _ForwardRef('ConnectionState'), NoneType] = None, start_time: typing.Union[datetime.datetime, NoneType] = None, end_time: typing.Union[datetime.datetime, NoneType] = None, evaluation_state: typing.Union[str, _ForwardRef('EvaluationState'), NoneType] = None, avg_latency_in_ms: typing.Union[int, NoneType] = None, min_latency_in_ms: typing.Union[int, NoneType] = None, max_latency_in_ms: typing.Union[int, NoneType] = None, probes_sent: typing.Union[int, NoneType] = None, probes_failed: typing.Union[int, NoneType] = None, **kwargs)

Parameters

connection_state
str or ConnectionState

The connection state. Possible values include: "Reachable", "Unreachable", "Unknown".

start_time
datetime

The start time of the connection snapshot.

end_time
datetime

The end time of the connection snapshot.

evaluation_state
str or EvaluationState

Connectivity analysis evaluation state. Possible values include: "NotStarted", "InProgress", "Completed".

avg_latency_in_ms
int

Average latency in ms.

min_latency_in_ms
int

Minimum latency in ms.

max_latency_in_ms
int

Maximum latency in ms.

probes_sent
int

The number of sent probes.

probes_failed
int

The number of failed probes.

Variables

hops
list[ConnectivityHop]

List of hops between the source and the destination.