ConnectionStateSnapshot Class

Definition

Compatibility type for connection state snapshots.

public class ConnectionStateSnapshot : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.ConnectionStateSnapshot>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.ConnectionStateSnapshot>
type ConnectionStateSnapshot = class
    interface IJsonModel<ConnectionStateSnapshot>
    interface IPersistableModel<ConnectionStateSnapshot>
Public Class ConnectionStateSnapshot
Implements IJsonModel(Of ConnectionStateSnapshot), IPersistableModel(Of ConnectionStateSnapshot)
Inheritance
ConnectionStateSnapshot
Implements

Constructors

Name Description
ConnectionStateSnapshot()

Initializes a new instance of ConnectionStateSnapshot.

Properties

Name Description
AvgLatencyInMs

Average latency in milliseconds.

EndOn

End time.

EvaluationState

Evaluation state.

Hops

Connectivity hops.

MaxLatencyInMs

Maximum latency in milliseconds.

MinLatencyInMs

Minimum latency in milliseconds.

NetworkConnectionState

Connection state.

ProbesFailed

Probes failed.

ProbesSent

Probes sent.

StartOn

Start time.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model as JSON.

Explicit Interface Implementations

Name Description
IJsonModel<ConnectionStateSnapshot>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ConnectionStateSnapshot>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConnectionStateSnapshot>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConnectionStateSnapshot>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ConnectionStateSnapshot>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to