Interface VirtualHubBgpConnectionsClient
public interface VirtualHubBgpConnectionsClient
An instance of this class provides access to all the operations defined in VirtualHubBgpConnectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.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.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.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.beginDelete(String resourceGroupName, String virtualHubName, String connectionName) Deletes a VirtualHubBgpConnection.beginDelete(String resourceGroupName, String virtualHubName, String connectionName, com.azure.core.util.Context context) Deletes a VirtualHubBgpConnection.beginDeleteAsync(String resourceGroupName, String virtualHubName, String connectionName) Deletes a VirtualHubBgpConnection.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Map<String, List<PeerRoute>>>, Map<String, List<PeerRoute>>> beginListAdvertisedRoutes(String resourceGroupName, String hubName, String connectionName) Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Map<String, List<PeerRoute>>>, Map<String, List<PeerRoute>>> 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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Map<String, List<PeerRoute>>>, Map<String, List<PeerRoute>>> beginListAdvertisedRoutesAsync(String resourceGroupName, String hubName, String connectionName) Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Map<String, List<PeerRoute>>>, Map<String, List<PeerRoute>>> beginListLearnedRoutes(String resourceGroupName, String hubName, String connectionName) Retrieves a list of routes the virtual hub bgp connection has learned.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Map<String, List<PeerRoute>>>, Map<String, List<PeerRoute>>> 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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Map<String, List<PeerRoute>>>, Map<String, List<PeerRoute>>> beginListLearnedRoutesAsync(String resourceGroupName, String hubName, String connectionName) Retrieves a list of routes the virtual hub bgp connection has learned.createOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, BgpConnectionInner parameters) Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.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.createOrUpdateAsync(String resourceGroupName, String virtualHubName, String connectionName, BgpConnectionInner parameters) Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.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.voidDeletes a VirtualHubBgpConnection.voiddelete(String resourceGroupName, String virtualHubName, String connectionName, com.azure.core.util.Context context) Deletes a VirtualHubBgpConnection.deleteAsync(String resourceGroupName, String virtualHubName, String connectionName) Deletes a VirtualHubBgpConnection.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName) Deletes a VirtualHubBgpConnection.Retrieves the details of a Virtual Hub Bgp Connection.Retrieves the details of a Virtual Hub Bgp Connection.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.Mono<com.azure.core.http.rest.Response<BgpConnectionInner>> getWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName) Retrieves the details of a Virtual Hub Bgp Connection.com.azure.core.http.rest.PagedIterable<BgpConnectionInner> Retrieves the details of all VirtualHubBgpConnections.com.azure.core.http.rest.PagedIterable<BgpConnectionInner> Retrieves the details of all VirtualHubBgpConnections.listAdvertisedRoutes(String resourceGroupName, String hubName, String connectionName) Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.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.listAdvertisedRoutesAsync(String resourceGroupName, String hubName, String connectionName) Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.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.com.azure.core.http.rest.PagedFlux<BgpConnectionInner> Retrieves the details of all VirtualHubBgpConnections.listLearnedRoutes(String resourceGroupName, String hubName, String connectionName) Retrieves a list of routes the virtual hub bgp connection has learned.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.listLearnedRoutesAsync(String resourceGroupName, String hubName, String connectionName) Retrieves a list of routes the virtual hub bgp connection has learned.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.
-
Method Details
-
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
Responseon successful completion ofMono. - 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.
-
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.
-
get
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.
-
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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
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
Monothat 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
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:
- map from virtual router instance to list of peer routes along with
Responseon successful completion ofMono. - 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<Map<String,List<PeerRoute>>>, beginListLearnedRoutesAsyncMap<String, List<PeerRoute>>> (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
PollerFluxfor polling of map from virtual router instance to list of 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<Map<String,List<PeerRoute>>>, beginListLearnedRoutesMap<String, List<PeerRoute>>> (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
SyncPollerfor polling of map from virtual router instance to list of 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<Map<String,List<PeerRoute>>>, beginListLearnedRoutesMap<String, List<PeerRoute>>> (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
SyncPollerfor polling of map from virtual router instance to list of 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<Map<String,List<PeerRoute>>> 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:
- map from virtual router instance to list of 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
Map<String,List<PeerRoute>> 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:
- map from virtual router instance to list of 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
Map<String,List<PeerRoute>> 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:
- map from virtual router instance to list of 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:
- map from virtual router instance to list of peer routes along with
Responseon successful completion ofMono. - 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<Map<String,List<PeerRoute>>>, beginListAdvertisedRoutesAsyncMap<String, List<PeerRoute>>> (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
PollerFluxfor polling of map from virtual router instance to list of 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<Map<String,List<PeerRoute>>>, beginListAdvertisedRoutesMap<String, List<PeerRoute>>> (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
SyncPollerfor polling of map from virtual router instance to list of 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<Map<String,List<PeerRoute>>>, beginListAdvertisedRoutesMap<String, List<PeerRoute>>> (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
SyncPollerfor polling of map from virtual router instance to list of 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<Map<String,List<PeerRoute>>> 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:
- map from virtual router instance to list of 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
Map<String,List<PeerRoute>> 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:
- map from virtual router instance to list of 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
Map<String,List<PeerRoute>> 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:
- map from virtual router instance to list of 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.
-