Compartilhar via


EffectiveRoute Class

Effective Route.

Inheritance
azure.mgmt.network._serialization.Model
EffectiveRoute

Constructor

EffectiveRoute(*, name: str | None = None, disable_bgp_route_propagation: bool | None = None, source: str | _models.EffectiveRouteSource | None = None, state: str | _models.EffectiveRouteState | None = None, address_prefix: List[str] | None = None, next_hop_ip_address: List[str] | None = None, next_hop_type: str | _models.RouteNextHopType | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The name of the user defined route. This is optional.

disable_bgp_route_propagation

If true, on-premises routes are not propagated to the network interfaces in the subnet.

source

Who created the route. Known values are: "Unknown", "User", "VirtualNetworkGateway", and "Default".

state

The value of effective route. Known values are: "Active" and "Invalid".

address_prefix

The address prefixes of the effective routes in CIDR notation.

next_hop_ip_address

The IP address of the next hop of the effective route.

next_hop_type

The type of Azure hop the packet should be sent to. Known values are: "VirtualNetworkGateway", "VnetLocal", "Internet", "VirtualAppliance", and "None".

Variables

Name Description
name
str

The name of the user defined route. This is optional.

disable_bgp_route_propagation

If true, on-premises routes are not propagated to the network interfaces in the subnet.

source

Who created the route. Known values are: "Unknown", "User", "VirtualNetworkGateway", and "Default".

state

The value of effective route. Known values are: "Active" and "Invalid".

address_prefix

The address prefixes of the effective routes in CIDR notation.

next_hop_ip_address

The IP address of the next hop of the effective route.

next_hop_type

The type of Azure hop the packet should be sent to. Known values are: "VirtualNetworkGateway", "VnetLocal", "Internet", "VirtualAppliance", and "None".