HubRoute Class

RouteTable route.

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

Inheritance
HubRoute

Constructor

HubRoute(*, name: str, destination_type: str, destinations: typing.List[str], next_hop_type: str, next_hop: str, **kwargs)

Parameters

name
str

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

destination_type
str

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

destinations
list[str]

Required. List of all destinations.

next_hop_type
str

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

next_hop
str

Required. NextHop resource ID.