PeerRoute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compatibility type for peer routes.
public class PeerRoute : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.PeerRoute>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.PeerRoute>
type PeerRoute = class
interface IJsonModel<PeerRoute>
interface IPersistableModel<PeerRoute>
Public Class PeerRoute
Implements IJsonModel(Of PeerRoute), IPersistableModel(Of PeerRoute)
- Inheritance
-
PeerRoute
- Implements
Constructors
| Name | Description |
|---|---|
| PeerRoute() |
Initializes a new instance of PeerRoute. |
Properties
| Name | Description |
|---|---|
| AsPath |
The AS path. |
| LocalAddress |
The local address. |
| Network |
The peer route network. |
| NextHop |
The next hop. |
| Origin |
The origin. |
| SourcePeer |
The source peer. |
| Weight |
The route weight. |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model as JSON. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| 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. |