RouteData Class

Definition

Compatibility declaration for the RouteData type.

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

Constructors

Name Description
RouteData()

Initializes a new instance of RouteData.

Properties

Name Description
AddressPrefix

The destination CIDR to which the route applies.

ETag

A unique read-only string that changes whenever the resource is updated.

HasBgpOverride

Gets or sets the HasBgpOverride compatibility property.

Id

Resource ID.

(Inherited from NetworkWritableResourceData)
Name

Resource name.

(Inherited from NetworkWritableResourceData)
NextHopIPAddress

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

NextHopIpAddresses

List of next hop IP addresses for ECMP routing. Must contain between 2 and 64 IP addresses.

NextHopType

The type of Azure hop the packet should be sent to.

ProvisioningState

The provisioning state of the route resource.

ResourceType

Resource type.

(Inherited from NetworkWritableResourceData)

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<NetworkSubResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from NetworkSubResource)
IJsonModel<NetworkSubResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkSubResource)
IJsonModel<NetworkWritableResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from NetworkWritableResourceData)
IJsonModel<NetworkWritableResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkWritableResourceData)
IJsonModel<RouteData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RouteData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkSubResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkSubResource)
IPersistableModel<NetworkSubResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from NetworkSubResource)
IPersistableModel<NetworkSubResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkSubResource)
IPersistableModel<NetworkWritableResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkWritableResourceData)
IPersistableModel<NetworkWritableResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from NetworkWritableResourceData)
IPersistableModel<NetworkWritableResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkWritableResourceData)
IPersistableModel<RouteData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RouteData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RouteData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to