Sdílet prostřednictvím


RouteData Class

Definition

A class representing the Route data model. Route resource.

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

Constructors

RouteData()

Initializes a new instance of RouteData.

Properties

AddressPrefix

The destination CIDR to which the route applies.

ETag

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

HasBgpOverride

A value indicating whether this route overrides overlapping BGP routes regardless of LPM.

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.

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)

Explicit Interface Implementations

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<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