Share via


GatewayRoute Class

Definition

Gateway routing details.

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

Properties

AsPath

The route's AS path sequence.

LocalAddress

The gateway'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<GatewayRoute>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GatewayRoute>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GatewayRoute>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GatewayRoute>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GatewayRoute>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to