你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Criterion Class

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

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.

Default value: None
community

List of BGP communities which this criteria matches.

Default value: None
as_path

List of AS paths which this criteria matches.

Default value: None
match_condition

Match condition to apply RouteMap rules. Known values are: "Unknown", "Contains", "Equals", "NotContains", and "NotEquals".

Default value: None

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