import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { PollerLike , PollOperationState } from "@azure/core-lro" ; import { BgpConnection , VirtualHubBgpConnectionsListOptionalParams , VirtualHubBgpConnectionsListLearnedRoutesOptionalParams , VirtualHubBgpConnectionsListLearnedRoutesResponse , VirtualHubBgpConnectionsListAdvertisedRoutesOptionalParams , VirtualHubBgpConnectionsListAdvertisedRoutesResponse } from "../models" ; /** Interface representing a VirtualHubBgpConnections. */ export interface VirtualHubBgpConnections { param resourceGroupName param virtualHubName param options list ( resourceGroupName , virtualHubName , options ? ) : PagedAsyncIterableIterator < BgpConnection > ; param resourceGroupName param hubName param connectionName param options beginListLearnedRoutes ( resourceGroupName , hubName , connectionName , options ? ) : Promise < PollerLike < PollOperationState < VirtualHubBgpConnectionsListLearnedRoutesResponse > , VirtualHubBgpConnectionsListLearnedRoutesResponse > > ; param resourceGroupName param hubName param connectionName param options beginListLearnedRoutesAndWait ( resourceGroupName , hubName , connectionName , options ? ) : Promise < VirtualHubBgpConnectionsListLearnedRoutesResponse > ; param resourceGroupName param hubName param connectionName param options beginListAdvertisedRoutes ( resourceGroupName , hubName , connectionName , options ? ) : Promise < PollerLike < PollOperationState < VirtualHubBgpConnectionsListAdvertisedRoutesResponse > , VirtualHubBgpConnectionsListAdvertisedRoutesResponse > > ; param resourceGroupName param hubName param connectionName param options beginListAdvertisedRoutesAndWait ( resourceGroupName , hubName , connectionName , options ? ) : Promise < VirtualHubBgpConnectionsListAdvertisedRoutesResponse > ; }