다음을 통해 공유


HciVmNetworkingRoute Class

Definition

Route - Route resource.

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

Constructors

HciVmNetworkingRoute()

Initializes a new instance of HciVmNetworkingRoute.

Properties

AddressPrefix

The destination CIDR to which the route applies.

Name

Name - name of the subnet.

NextHopIPAddress

The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HciVmNetworkingRoute>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HciVmNetworkingRoute>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HciVmNetworkingRoute>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HciVmNetworkingRoute>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HciVmNetworkingRoute>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to