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

HubRoute Class

RouteTable route.

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

Constructor

HubRoute(*, name: str, destination_type: str, destinations: list[str], next_hop_type: str, next_hop: str, **kwargs: Any)

Keyword-Only Parameters

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.

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.