VirtualHubBgpConnectionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:virtual_hub_bgp_connections> attribute.

Constructor

VirtualHubBgpConnectionsOperations(*args, **kwargs)

Methods

begin_list_advertised_routes

Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.

begin_list_learned_routes

Retrieves a list of routes the virtual hub bgp connection has learned.

list

Retrieves the details of all VirtualHubBgpConnections.

begin_list_advertised_routes

Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.

begin_list_advertised_routes(resource_group_name: str, hub_name: str, connection_name: str, **kwargs: Any) -> LROPoller[dict[str, list[azure.mgmt.network.models._models.PeerRoute]]]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

hub_name
Required
str

The name of the virtual hub. Required.

connection_name
Required
str

The name of the bgp connection. Required.

Returns

Type Description

An instance of LROPoller that returns dict mapping str to list of PeerRoute

Exceptions

Type Description

begin_list_learned_routes

Retrieves a list of routes the virtual hub bgp connection has learned.

begin_list_learned_routes(resource_group_name: str, hub_name: str, connection_name: str, **kwargs: Any) -> LROPoller[dict[str, list[azure.mgmt.network.models._models.PeerRoute]]]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

hub_name
Required
str

The name of the virtual hub. Required.

connection_name
Required
str

The name of the bgp connection. Required.

Returns

Type Description

An instance of LROPoller that returns dict mapping str to list of PeerRoute

Exceptions

Type Description

list

Retrieves the details of all VirtualHubBgpConnections.

list(resource_group_name: str, virtual_hub_name: str, **kwargs: Any) -> ItemPaged[BgpConnection]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

virtual_hub_name
Required
str

The name of the VirtualHub. Required.

Returns

Type Description

An iterator like instance of BgpConnection

Exceptions

Type Description