Condividi tramite


VnetRoute Class

Definition

List of routes that control routing from VirtualHub into a virtual network connection.

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

Constructors

VnetRoute()

Initializes a new instance of VnetRoute.

Properties

BgpConnections

The list of references to HubBgpConnection objects.

StaticRoutes

List of all Static Routes.

StaticRoutesConfig

Configuration for static routes on this HubVnetConnection.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VnetRoute>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VnetRoute>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VnetRoute>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VnetRoute>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VnetRoute>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to