共用方式為


VirtualHubRouteV2 Class

Definition

VirtualHubRouteTableV2 route.

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

Constructors

VirtualHubRouteV2()

Initializes a new instance of VirtualHubRouteV2.

Properties

Destinations

List of all destinations.

DestinationType

The type of destinations.

NextHops

NextHops ip address.

NextHopType

The type of next hops.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualHubRouteV2>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualHubRouteV2>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualHubRouteV2>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualHubRouteV2>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualHubRouteV2>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to