Interface VirtualHubBgpConnectionsClient


  • public interface VirtualHubBgpConnectionsClient
    An instance of this class provides access to all the operations defined in VirtualHubBgpConnectionsClient.
    • Method Detail

      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<BgpConnectionInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                         String virtualHubName,
                                                                                         String connectionName)
        Retrieves the details of a Virtual Hub Bgp Connection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        Returns:
        virtual Appliance Site resource along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAsync

        Mono<BgpConnectionInner> getAsync​(String resourceGroupName,
                                          String virtualHubName,
                                          String connectionName)
        Retrieves the details of a Virtual Hub Bgp Connection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        Returns:
        virtual Appliance Site resource on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • get

        BgpConnectionInner get​(String resourceGroupName,
                               String virtualHubName,
                               String connectionName)
        Retrieves the details of a Virtual Hub Bgp Connection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        Returns:
        virtual Appliance Site resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<BgpConnectionInner> getWithResponse​(String resourceGroupName,
                                                                              String virtualHubName,
                                                                              String connectionName,
                                                                              com.azure.core.util.Context context)
        Retrieves the details of a Virtual Hub Bgp Connection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        context - The context to associate with this operation.
        Returns:
        virtual Appliance Site resource along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String virtualHubName,
                                                                                                  String connectionName,
                                                                                                  BgpConnectionInner parameters)
        Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        parameters - Parameters of Bgp connection.
        Returns:
        virtual Appliance Site resource along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BgpConnectionInner>,​BgpConnectionInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                   String virtualHubName,
                                                                                                                                                                   String connectionName,
                                                                                                                                                                   BgpConnectionInner parameters)
        Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        parameters - Parameters of Bgp connection.
        Returns:
        the PollerFlux for polling of virtual Appliance Site resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BgpConnectionInner>,​BgpConnectionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                              String virtualHubName,
                                                                                                                                                              String connectionName,
                                                                                                                                                              BgpConnectionInner parameters)
        Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        parameters - Parameters of Bgp connection.
        Returns:
        the SyncPoller for polling of virtual Appliance Site resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BgpConnectionInner>,​BgpConnectionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                              String virtualHubName,
                                                                                                                                                              String connectionName,
                                                                                                                                                              BgpConnectionInner parameters,
                                                                                                                                                              com.azure.core.util.Context context)
        Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        parameters - Parameters of Bgp connection.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of virtual Appliance Site resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateAsync

        Mono<BgpConnectionInner> createOrUpdateAsync​(String resourceGroupName,
                                                     String virtualHubName,
                                                     String connectionName,
                                                     BgpConnectionInner parameters)
        Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        parameters - Parameters of Bgp connection.
        Returns:
        virtual Appliance Site resource on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        BgpConnectionInner createOrUpdate​(String resourceGroupName,
                                          String virtualHubName,
                                          String connectionName,
                                          BgpConnectionInner parameters)
        Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        parameters - Parameters of Bgp connection.
        Returns:
        virtual Appliance Site resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        BgpConnectionInner createOrUpdate​(String resourceGroupName,
                                          String virtualHubName,
                                          String connectionName,
                                          BgpConnectionInner parameters,
                                          com.azure.core.util.Context context)
        Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        parameters - Parameters of Bgp connection.
        context - The context to associate with this operation.
        Returns:
        virtual Appliance Site resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String virtualHubName,
                                                                                          String connectionName)
        Deletes a VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHubBgpConnection.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        Returns:
        the Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDeleteAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteAsync​(String resourceGroupName,
                                                                                                                               String virtualHubName,
                                                                                                                               String connectionName)
        Deletes a VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHubBgpConnection.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        Returns:
        the PollerFlux for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String virtualHubName,
                                                                                                                          String connectionName)
        Deletes a VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHubBgpConnection.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String virtualHubName,
                                                                                                                          String connectionName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHubBgpConnection.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteAsync

        Mono<Void> deleteAsync​(String resourceGroupName,
                               String virtualHubName,
                               String connectionName)
        Deletes a VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHubBgpConnection.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        Returns:
        A Mono that completes when a successful response is received.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String virtualHubName,
                    String connectionName)
        Deletes a VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHubBgpConnection.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String virtualHubName,
                    String connectionName,
                    com.azure.core.util.Context context)
        Deletes a VirtualHubBgpConnection.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHubBgpConnection.
        virtualHubName - The name of the VirtualHub.
        connectionName - The name of the connection.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listAsync

        com.azure.core.http.rest.PagedFlux<BgpConnectionInner> listAsync​(String resourceGroupName,
                                                                         String virtualHubName)
        Retrieves the details of all VirtualHubBgpConnections.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        Returns:
        virtualHubBgpConnections list as paginated response with PagedFlux.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<BgpConnectionInner> list​(String resourceGroupName,
                                                                        String virtualHubName)
        Retrieves the details of all VirtualHubBgpConnections.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        Returns:
        virtualHubBgpConnections list as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<BgpConnectionInner> list​(String resourceGroupName,
                                                                        String virtualHubName,
                                                                        com.azure.core.util.Context context)
        Retrieves the details of all VirtualHubBgpConnections.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        context - The context to associate with this operation.
        Returns:
        virtualHubBgpConnections list as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listLearnedRoutesWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> listLearnedRoutesWithResponseAsync​(String resourceGroupName,
                                                                                                     String hubName,
                                                                                                     String connectionName)
        Retrieves a list of routes the virtual hub bgp connection has learned.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        Returns:
        list of virtual router peer routes along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginListLearnedRoutesAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<PeerRouteListInner>,​PeerRouteListInner> beginListLearnedRoutesAsync​(String resourceGroupName,
                                                                                                                                                                      String hubName,
                                                                                                                                                                      String connectionName)
        Retrieves a list of routes the virtual hub bgp connection has learned.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        Returns:
        the PollerFlux for polling of list of virtual router peer routes.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginListLearnedRoutes

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PeerRouteListInner>,​PeerRouteListInner> beginListLearnedRoutes​(String resourceGroupName,
                                                                                                                                                                 String hubName,
                                                                                                                                                                 String connectionName)
        Retrieves a list of routes the virtual hub bgp connection has learned.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        Returns:
        the SyncPoller for polling of list of virtual router peer routes.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginListLearnedRoutes

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PeerRouteListInner>,​PeerRouteListInner> beginListLearnedRoutes​(String resourceGroupName,
                                                                                                                                                                 String hubName,
                                                                                                                                                                 String connectionName,
                                                                                                                                                                 com.azure.core.util.Context context)
        Retrieves a list of routes the virtual hub bgp connection has learned.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of list of virtual router peer routes.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listLearnedRoutesAsync

        Mono<PeerRouteListInner> listLearnedRoutesAsync​(String resourceGroupName,
                                                        String hubName,
                                                        String connectionName)
        Retrieves a list of routes the virtual hub bgp connection has learned.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        Returns:
        list of virtual router peer routes on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listLearnedRoutes

        PeerRouteListInner listLearnedRoutes​(String resourceGroupName,
                                             String hubName,
                                             String connectionName)
        Retrieves a list of routes the virtual hub bgp connection has learned.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        Returns:
        list of virtual router peer routes.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listLearnedRoutes

        PeerRouteListInner listLearnedRoutes​(String resourceGroupName,
                                             String hubName,
                                             String connectionName,
                                             com.azure.core.util.Context context)
        Retrieves a list of routes the virtual hub bgp connection has learned.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        context - The context to associate with this operation.
        Returns:
        list of virtual router peer routes.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listAdvertisedRoutesWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> listAdvertisedRoutesWithResponseAsync​(String resourceGroupName,
                                                                                                        String hubName,
                                                                                                        String connectionName)
        Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        Returns:
        list of virtual router peer routes along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginListAdvertisedRoutesAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<PeerRouteListInner>,​PeerRouteListInner> beginListAdvertisedRoutesAsync​(String resourceGroupName,
                                                                                                                                                                         String hubName,
                                                                                                                                                                         String connectionName)
        Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        Returns:
        the PollerFlux for polling of list of virtual router peer routes.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginListAdvertisedRoutes

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PeerRouteListInner>,​PeerRouteListInner> beginListAdvertisedRoutes​(String resourceGroupName,
                                                                                                                                                                    String hubName,
                                                                                                                                                                    String connectionName)
        Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        Returns:
        the SyncPoller for polling of list of virtual router peer routes.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginListAdvertisedRoutes

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PeerRouteListInner>,​PeerRouteListInner> beginListAdvertisedRoutes​(String resourceGroupName,
                                                                                                                                                                    String hubName,
                                                                                                                                                                    String connectionName,
                                                                                                                                                                    com.azure.core.util.Context context)
        Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of list of virtual router peer routes.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listAdvertisedRoutesAsync

        Mono<PeerRouteListInner> listAdvertisedRoutesAsync​(String resourceGroupName,
                                                           String hubName,
                                                           String connectionName)
        Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        Returns:
        list of virtual router peer routes on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listAdvertisedRoutes

        PeerRouteListInner listAdvertisedRoutes​(String resourceGroupName,
                                                String hubName,
                                                String connectionName)
        Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        Returns:
        list of virtual router peer routes.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listAdvertisedRoutes

        PeerRouteListInner listAdvertisedRoutes​(String resourceGroupName,
                                                String hubName,
                                                String connectionName,
                                                com.azure.core.util.Context context)
        Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.
        Parameters:
        resourceGroupName - The name of the resource group.
        hubName - The name of the virtual hub.
        connectionName - The name of the virtual hub bgp connection.
        context - The context to associate with this operation.
        Returns:
        list of virtual router peer routes.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.