VirtualHubBgpConnectionsOperations Class    
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<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[PeerRoute]]]Parameters
| Name | Description | 
|---|---|
| resource_group_name 
				Required
			 | The name of the resource group. Required. | 
| hub_name 
				Required
			 | The name of the virtual hub. Required. | 
| connection_name 
				Required
			 | The name of the virtual hub bgp connection. Required. | 
Returns
| Type | Description | 
|---|---|
| An instance of LROPoller that returns either dict mapping str to list of PeerRoute or the result of cls(response) | 
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[PeerRoute]]]Parameters
| Name | Description | 
|---|---|
| resource_group_name 
				Required
			 | The name of the resource group. Required. | 
| hub_name 
				Required
			 | The name of the virtual hub. Required. | 
| connection_name 
				Required
			 | The name of the virtual hub bgp connection. Required. | 
Returns
| Type | Description | 
|---|---|
| An instance of LROPoller that returns either dict mapping str to list of PeerRoute or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
list
Retrieves the details of all VirtualHubBgpConnections.
list(resource_group_name: str, virtual_hub_name: str, **kwargs: Any) -> Iterable[BgpConnection]Parameters
| Name | Description | 
|---|---|
| resource_group_name 
				Required
			 | The resource group name of the VirtualHub. Required. | 
| virtual_hub_name 
				Required
			 | The name of the VirtualHub. Required. | 
Returns
| Type | Description | 
|---|---|
| An iterator like instance of either BgpConnection or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
Attributes
models
models = <module 'azure.mgmt.network.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv177\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>