Share via


PeerRoute Class

Definition

Peer routing details.

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

Properties

AsPath

The route's AS path sequence.

LocalAddress

The peer's local address.

Network

The route's network prefix.

NextHop

The route's next hop.

Origin

The source this route was learned from.

SourcePeer

The peer this route was learned from.

Weight

The route's weight.

Explicit Interface Implementations

IJsonModel<PeerRoute>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PeerRoute>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PeerRoute>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PeerRoute>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PeerRoute>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to