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

RoutingPolicy Class

The routing policy object used in a RoutingIntent resource.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.network._serialization.Model
RoutingPolicy

Constructor

RoutingPolicy(*, name: str, destinations: List[str], next_hop: str, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The unique name for the routing policy. Required.

destinations

List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic). Required.

next_hop
str

The next hop resource id on which this routing policy is applicable to. Required.

Variables

Name Description
name
str

The unique name for the routing policy. Required.

destinations

List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic). Required.

next_hop
str

The next hop resource id on which this routing policy is applicable to. Required.