Criterion Class
A matching criteria which matches routes based on route prefix, community, and AS path.
- Inheritance
-
azure.mgmt.network._serialization.ModelCriterion
Constructor
Criterion(*, route_prefix: List[str] | None = None, community: List[str] | None = None, as_path: List[str] | None = None, match_condition: str | _models.RouteMapMatchCondition | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
route_prefix
|
List of route prefixes which this criteria matches. |
community
|
List of BGP communities which this criteria matches. |
as_path
|
List of AS paths which this criteria matches. |
match_condition
|
Match condition to apply RouteMap rules. Known values are: "Unknown", "Contains", "Equals", "NotContains", and "NotEquals". |
Variables
Name | Description |
---|---|
route_prefix
|
List of route prefixes which this criteria matches. |
community
|
List of BGP communities which this criteria matches. |
as_path
|
List of AS paths which this criteria matches. |
match_condition
|
Match condition to apply RouteMap rules. Known values are: "Unknown", "Contains", "Equals", "NotContains", and "NotEquals". |
Azure SDK for Python