HubVirtualNetworkConnectionsClient Interface

public interface HubVirtualNetworkConnectionsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<HubVirtualNetworkConnectionInner>,HubVirtualNetworkConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

abstract SyncPoller<PollResult<HubVirtualNetworkConnectionInner>,HubVirtualNetworkConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters, Context context)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

abstract PollerFlux<PollResult<HubVirtualNetworkConnectionInner>,HubVirtualNetworkConnectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

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

Deletes a HubVirtualNetworkConnection.

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

Deletes a HubVirtualNetworkConnection.

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

Deletes a HubVirtualNetworkConnection.

abstract HubVirtualNetworkConnectionInner createOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

abstract HubVirtualNetworkConnectionInner createOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters, Context context)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

abstract Mono<HubVirtualNetworkConnectionInner> createOrUpdateAsync(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

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

Deletes a HubVirtualNetworkConnection.

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

Deletes a HubVirtualNetworkConnection.

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

Deletes a HubVirtualNetworkConnection.

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

Deletes a HubVirtualNetworkConnection.

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

Retrieves the details of a HubVirtualNetworkConnection.

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

Retrieves the details of a HubVirtualNetworkConnection.

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

Retrieves the details of a HubVirtualNetworkConnection.

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

Retrieves the details of a HubVirtualNetworkConnection.

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

Retrieves the details of all HubVirtualNetworkConnections.

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

Retrieves the details of all HubVirtualNetworkConnections.

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

Retrieves the details of all HubVirtualNetworkConnections.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,HubVirtualNetworkConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The resource group name of the HubVirtualNetworkConnection.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.
hubVirtualNetworkConnectionParameters - Parameters supplied to create or update a hub virtual network connection.

Returns:

the SyncPoller<T,U> for polling of hubVirtualNetworkConnection Resource.

beginCreateOrUpdate

public abstract SyncPoller,HubVirtualNetworkConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters, Context context)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The resource group name of the HubVirtualNetworkConnection.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.
hubVirtualNetworkConnectionParameters - Parameters supplied to create or update a hub virtual network connection.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of hubVirtualNetworkConnection Resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,HubVirtualNetworkConnectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The resource group name of the HubVirtualNetworkConnection.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.
hubVirtualNetworkConnectionParameters - Parameters supplied to create or update a hub virtual network connection.

Returns:

the PollerFlux<T,U> for polling of hubVirtualNetworkConnection Resource.

beginDelete

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

Deletes a HubVirtualNetworkConnection.

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.

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

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.
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 HubVirtualNetworkConnection.

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract HubVirtualNetworkConnectionInner createOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The resource group name of the HubVirtualNetworkConnection.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.
hubVirtualNetworkConnectionParameters - Parameters supplied to create or update a hub virtual network connection.

Returns:

hubVirtualNetworkConnection Resource.

createOrUpdate

public abstract HubVirtualNetworkConnectionInner createOrUpdate(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters, Context context)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The resource group name of the HubVirtualNetworkConnection.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.
hubVirtualNetworkConnectionParameters - Parameters supplied to create or update a hub virtual network connection.
context - The context to associate with this operation.

Returns:

hubVirtualNetworkConnection Resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The resource group name of the HubVirtualNetworkConnection.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.
hubVirtualNetworkConnectionParameters - Parameters supplied to create or update a hub virtual network connection.

Returns:

hubVirtualNetworkConnection Resource on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName, HubVirtualNetworkConnectionInner hubVirtualNetworkConnectionParameters)

Creates a hub virtual network connection if it doesn't exist else updates the existing one.

Parameters:

resourceGroupName - The resource group name of the HubVirtualNetworkConnection.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.
hubVirtualNetworkConnectionParameters - Parameters supplied to create or update a hub virtual network connection.

Returns:

hubVirtualNetworkConnection Resource along with Response<T> on successful completion of Mono.

delete

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

Deletes a HubVirtualNetworkConnection.

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.

delete

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

Deletes a HubVirtualNetworkConnection.

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String virtualHubName, String connectionName)

Deletes a HubVirtualNetworkConnection.

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName)

Deletes a HubVirtualNetworkConnection.

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the HubVirtualNetworkConnection.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract HubVirtualNetworkConnectionInner get(String resourceGroupName, String virtualHubName, String connectionName)

Retrieves the details of a HubVirtualNetworkConnection.

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the vpn connection.

Returns:

hubVirtualNetworkConnection Resource.

getAsync

public abstract Mono getAsync(String resourceGroupName, String virtualHubName, String connectionName)

Retrieves the details of a HubVirtualNetworkConnection.

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the vpn connection.

Returns:

hubVirtualNetworkConnection Resource on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String virtualHubName, String connectionName, Context context)

Retrieves the details of a HubVirtualNetworkConnection.

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the vpn connection.
context - The context to associate with this operation.

Returns:

hubVirtualNetworkConnection Resource along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String virtualHubName, String connectionName)

Retrieves the details of a HubVirtualNetworkConnection.

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.
connectionName - The name of the vpn connection.

Returns:

hubVirtualNetworkConnection Resource along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String virtualHubName)

Retrieves the details of all HubVirtualNetworkConnections.

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.

Returns:

list of HubVirtualNetworkConnections and a URL nextLink to get the next set of results as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String virtualHubName, Context context)

Retrieves the details of all HubVirtualNetworkConnections.

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.
context - The context to associate with this operation.

Returns:

list of HubVirtualNetworkConnections and a URL nextLink to get the next set of results as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String virtualHubName)

Retrieves the details of all HubVirtualNetworkConnections.

Parameters:

resourceGroupName - The resource group name of the VirtualHub.
virtualHubName - The name of the VirtualHub.

Returns:

list of HubVirtualNetworkConnections and a URL nextLink to get the next set of results as paginated response with PagedFlux<T>.

Applies to