다음을 통해 공유


HubRoute Class

Definition

RouteTable route.

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

Constructors

HubRoute(String, String, IEnumerable<String>, String, String)

Initializes a new instance of HubRoute.

Properties

Destinations

List of all destinations.

DestinationType

The type of destinations (eg: CIDR, ResourceId, Service).

Name

The name of the Route that is unique within a RouteTable. This name can be used to access this route.

NextHop

NextHop resource ID.

NextHopType

The type of next hop (eg: ResourceId).

Explicit Interface Implementations

IJsonModel<HubRoute>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HubRoute>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HubRoute>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HubRoute>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HubRoute>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to