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

HubRoute Class

RouteTable route.

Constructor

HubRoute(*args: Any, **kwargs: Any)

Variables

Name Description
name
str

The name of the Route that is unique within a RouteTable. This name can be used to access this route. Required.

destination_type
str

The type of destinations (eg: CIDR, ResourceId, Service). Required.

destinations

List of all destinations. Required.

next_hop_type
str

The type of next hop (eg: ResourceId). Required.

next_hop
str

NextHop resource ID. Required.

Attributes

destination_type

CIDR, ResourceId, Service). Required.

destination_type: str

destinations

List of all destinations. Required.

destinations: list[str]

name

The name of the Route that is unique within a RouteTable. This name can be used to access this route. Required.

name: str

next_hop

NextHop resource ID. Required.

next_hop: str

next_hop_type

ResourceId). Required.

next_hop_type: str