Condividi tramite


RouteCriterion Class

Definition

A matching criteria which matches routes based on route prefix, community, and AS path.

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

Constructors

RouteCriterion()

Initializes a new instance of RouteCriterion.

Properties

AsPath

List of AS paths which this criteria matches.

Community

List of BGP communities which this criteria matches.

MatchCondition

Match condition to apply RouteMap rules.

RoutePrefix

List of route prefixes which this criteria matches.

Explicit Interface Implementations

IJsonModel<RouteCriterion>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RouteCriterion>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RouteCriterion>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RouteCriterion>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RouteCriterion>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to