VirtualHubBgpConnectionsClient Interface

public interface VirtualHubBgpConnectionsClient

An instance of this class provides access to all the operations defined in VirtualHubBgpConnectionsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<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.

abstract SyncPoller<PollResult<BgpConnectionInner>,BgpConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, BgpConnectionInner parameters, Context context)

Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.

abstract PollerFlux<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.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualHubName, String connectionName)

Deletes a VirtualHubBgpConnection.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualHubName, String connectionName, Context context)

Deletes a VirtualHubBgpConnection.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String virtualHubName, String connectionName)

Deletes a VirtualHubBgpConnection.

abstract SyncPoller<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.

abstract SyncPoller<PollResult<Map<String,List<PeerRoute>>>,Map<String,List<PeerRoute>>> beginListAdvertisedRoutes(String resourceGroupName, String hubName, String connectionName, Context context)

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

abstract PollerFlux<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.

abstract SyncPoller<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.

abstract SyncPoller<PollResult<Map<String,List<PeerRoute>>>,Map<String,List<PeerRoute>>> beginListLearnedRoutes(String resourceGroupName, String hubName, String connectionName, Context context)

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

abstract PollerFlux<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.

abstract BgpConnectionInner createOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, BgpConnectionInner parameters)

Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.

abstract BgpConnectionInner createOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, BgpConnectionInner parameters, Context context)

Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.

abstract 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.

abstract Mono<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.

abstract void delete(String resourceGroupName, String virtualHubName, String connectionName)

Deletes a VirtualHubBgpConnection.

abstract void delete(String resourceGroupName, String virtualHubName, String connectionName, Context context)

Deletes a VirtualHubBgpConnection.

abstract Mono<Void> deleteAsync(String resourceGroupName, String virtualHubName, String connectionName)

Deletes a VirtualHubBgpConnection.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName)

Deletes a VirtualHubBgpConnection.

abstract BgpConnectionInner get(String resourceGroupName, String virtualHubName, String connectionName)

Retrieves the details of a Virtual Hub Bgp Connection.

abstract Mono<BgpConnectionInner> getAsync(String resourceGroupName, String virtualHubName, String connectionName)

Retrieves the details of a Virtual Hub Bgp Connection.

abstract Response<BgpConnectionInner> getWithResponse(String resourceGroupName, String virtualHubName, String connectionName, Context context)

Retrieves the details of a Virtual Hub Bgp Connection.

abstract Mono<Response<BgpConnectionInner>> getWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName)

Retrieves the details of a Virtual Hub Bgp Connection.

abstract PagedIterable<BgpConnectionInner> list(String resourceGroupName, String virtualHubName)

Retrieves the details of all VirtualHubBgpConnections.

abstract PagedIterable<BgpConnectionInner> list(String resourceGroupName, String virtualHubName, Context context)

Retrieves the details of all VirtualHubBgpConnections.

abstract 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.

abstract Map<String,List<PeerRoute>> listAdvertisedRoutes(String resourceGroupName, String hubName, String connectionName, Context context)

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

abstract 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.

abstract Mono<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.

abstract PagedFlux<BgpConnectionInner> listAsync(String resourceGroupName, String virtualHubName)

Retrieves the details of all VirtualHubBgpConnections.

abstract Map<String,List<PeerRoute>> listLearnedRoutes(String resourceGroupName, String hubName, String connectionName)

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

abstract Map<String,List<PeerRoute>> listLearnedRoutes(String resourceGroupName, String hubName, String connectionName, Context context)

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

abstract Mono<Map<String,List<PeerRoute>>> listLearnedRoutesAsync(String resourceGroupName, String hubName, String connectionName)

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

abstract Mono<Response<Flux<ByteBuffer>>> listLearnedRoutesWithResponseAsync(String resourceGroupName, String hubName, String connectionName)

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

Method Details

beginCreateOrUpdate

public abstract SyncPoller,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<T,U> for polling of virtual Appliance Site resource.

beginCreateOrUpdate

public abstract SyncPoller,BgpConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, BgpConnectionInner parameters, 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<T,U> for polling of virtual Appliance Site resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,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<T,U> for polling of virtual Appliance Site resource.

beginDelete

public abstract SyncPoller,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<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String virtualHubName, String connectionName, 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<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,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<T,U> for polling of long-running operation.

beginListAdvertisedRoutes

public abstract SyncPoller>>,Map>> 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<T,U> for polling of map from virtual router instance to list of peer routes.

beginListAdvertisedRoutes

public abstract SyncPoller>>,Map>> beginListAdvertisedRoutes(String resourceGroupName, String hubName, String connectionName, 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<T,U> for polling of map from virtual router instance to list of peer routes.

beginListAdvertisedRoutesAsync

public abstract PollerFlux>>,Map>> 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<T,U> for polling of map from virtual router instance to list of peer routes.

beginListLearnedRoutes

public abstract SyncPoller>>,Map>> 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<T,U> for polling of map from virtual router instance to list of peer routes.

beginListLearnedRoutes

public abstract SyncPoller>>,Map>> beginListLearnedRoutes(String resourceGroupName, String hubName, String connectionName, 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<T,U> for polling of map from virtual router instance to list of peer routes.

beginListLearnedRoutesAsync

public abstract PollerFlux>>,Map>> 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<T,U> for polling of map from virtual router instance to list of peer routes.

createOrUpdate

public abstract 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.

createOrUpdate

public abstract BgpConnectionInner createOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, BgpConnectionInner parameters, 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.

createOrUpdateAsync

public abstract Mono 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.

createOrUpdateWithResponseAsync

public abstract Mono>> 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<T> on successful completion of Mono.

delete

public abstract 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.

delete

public abstract void delete(String resourceGroupName, String virtualHubName, String connectionName, 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.

deleteAsync

public abstract Mono 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.

deleteWithResponseAsync

public abstract Mono>> 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<T> on successful completion of Mono.

get

public abstract 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.

getAsync

public abstract Mono 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.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String virtualHubName, String connectionName, 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<T>.

getWithResponseAsync

public abstract Mono> 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<T> on successful completion of Mono.

list

public abstract PagedIterable 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<T>.

list

public abstract PagedIterable list(String resourceGroupName, String virtualHubName, 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<T>.

listAdvertisedRoutes

public abstract Map> 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.

listAdvertisedRoutes

public abstract Map> listAdvertisedRoutes(String resourceGroupName, String hubName, String connectionName, 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.

listAdvertisedRoutesAsync

public abstract Mono>> 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.

listAdvertisedRoutesWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

listAsync

public abstract PagedFlux 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<T>.

listLearnedRoutes

public abstract Map> 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.

listLearnedRoutes

public abstract Map> listLearnedRoutes(String resourceGroupName, String hubName, String connectionName, 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.

listLearnedRoutesAsync

public abstract Mono>> 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.

listLearnedRoutesWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

Applies to