VpnGatewaysClient Interface

Implements

public interface VpnGatewaysClient
extends InnerSupportsGet<VpnGatewayInner>, InnerSupportsListing<VpnGatewayInner>, InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<VpnGatewayInner>,VpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

abstract SyncPoller<PollResult<VpnGatewayInner>,VpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters, Context context)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

abstract PollerFlux<PollResult<VpnGatewayInner>,VpnGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

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

Deletes a virtual wan vpn gateway.

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

Deletes a virtual wan vpn gateway.

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

Deletes a virtual wan vpn gateway.

abstract SyncPoller<PollResult<VpnGatewayInner>,VpnGatewayInner> beginReset(String resourceGroupName, String gatewayName)

Resets the primary of the vpn gateway in the specified resource group.

abstract SyncPoller<PollResult<VpnGatewayInner>,VpnGatewayInner> beginReset(String resourceGroupName, String gatewayName, String ipConfigurationId, Context context)

Resets the primary of the vpn gateway in the specified resource group.

abstract PollerFlux<PollResult<VpnGatewayInner>,VpnGatewayInner> beginResetAsync(String resourceGroupName, String gatewayName)

Resets the primary of the vpn gateway in the specified resource group.

abstract PollerFlux<PollResult<VpnGatewayInner>,VpnGatewayInner> beginResetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId)

Resets the primary of the vpn gateway in the specified resource group.

abstract SyncPoller<PollResult<String>,String> beginStartPacketCapture(String resourceGroupName, String gatewayName)

Starts packet capture on vpn gateway in the specified resource group.

abstract SyncPoller<PollResult<String>,String> beginStartPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context)

Starts packet capture on vpn gateway in the specified resource group.

abstract PollerFlux<PollResult<String>,String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName)

Starts packet capture on vpn gateway in the specified resource group.

abstract PollerFlux<PollResult<String>,String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters)

Starts packet capture on vpn gateway in the specified resource group.

abstract SyncPoller<PollResult<String>,String> beginStopPacketCapture(String resourceGroupName, String gatewayName)

Stops packet capture on vpn gateway in the specified resource group.

abstract SyncPoller<PollResult<String>,String> beginStopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context)

Stops packet capture on vpn gateway in the specified resource group.

abstract PollerFlux<PollResult<String>,String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName)

Stops packet capture on vpn gateway in the specified resource group.

abstract PollerFlux<PollResult<String>,String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters)

Stops packet capture on vpn gateway in the specified resource group.

abstract SyncPoller<PollResult<VpnGatewayInner>,VpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)

Updates virtual wan vpn gateway tags.

abstract SyncPoller<PollResult<VpnGatewayInner>,VpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters, Context context)

Updates virtual wan vpn gateway tags.

abstract PollerFlux<PollResult<VpnGatewayInner>,VpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)

Updates virtual wan vpn gateway tags.

abstract VpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

abstract VpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters, Context context)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

abstract Mono<VpnGatewayInner> createOrUpdateAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

abstract void delete(String resourceGroupName, String gatewayName)

Deletes a virtual wan vpn gateway.

abstract void delete(String resourceGroupName, String gatewayName, Context context)

Deletes a virtual wan vpn gateway.

abstract Mono<Void> deleteAsync(String resourceGroupName, String gatewayName)

Deletes a virtual wan vpn gateway.

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

Deletes a virtual wan vpn gateway.

abstract VpnGatewayInner getByResourceGroup(String resourceGroupName, String gatewayName)

Retrieves the details of a virtual wan vpn gateway.

abstract Mono<VpnGatewayInner> getByResourceGroupAsync(String resourceGroupName, String gatewayName)

Retrieves the details of a virtual wan vpn gateway.

abstract Response<VpnGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, Context context)

Retrieves the details of a virtual wan vpn gateway.

abstract Mono<Response<VpnGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String gatewayName)

Retrieves the details of a virtual wan vpn gateway.

abstract PagedIterable<VpnGatewayInner> list()

Lists all the VpnGateways in a subscription.

abstract PagedIterable<VpnGatewayInner> list(Context context)

Lists all the VpnGateways in a subscription.

abstract PagedFlux<VpnGatewayInner> listAsync()

Lists all the VpnGateways in a subscription.

abstract PagedIterable<VpnGatewayInner> listByResourceGroup(String resourceGroupName)

Lists all the VpnGateways in a resource group.

abstract PagedIterable<VpnGatewayInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all the VpnGateways in a resource group.

abstract PagedFlux<VpnGatewayInner> listByResourceGroupAsync(String resourceGroupName)

Lists all the VpnGateways in a resource group.

abstract VpnGatewayInner reset(String resourceGroupName, String gatewayName)

Resets the primary of the vpn gateway in the specified resource group.

abstract VpnGatewayInner reset(String resourceGroupName, String gatewayName, String ipConfigurationId, Context context)

Resets the primary of the vpn gateway in the specified resource group.

abstract Mono<VpnGatewayInner> resetAsync(String resourceGroupName, String gatewayName)

Resets the primary of the vpn gateway in the specified resource group.

abstract Mono<VpnGatewayInner> resetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId)

Resets the primary of the vpn gateway in the specified resource group.

abstract Mono<Response<Flux<ByteBuffer>>> resetWithResponseAsync(String resourceGroupName, String gatewayName, String ipConfigurationId)

Resets the primary of the vpn gateway in the specified resource group.

abstract String startPacketCapture(String resourceGroupName, String gatewayName)

Starts packet capture on vpn gateway in the specified resource group.

abstract String startPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context)

Starts packet capture on vpn gateway in the specified resource group.

abstract Mono<String> startPacketCaptureAsync(String resourceGroupName, String gatewayName)

Starts packet capture on vpn gateway in the specified resource group.

abstract Mono<String> startPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters)

Starts packet capture on vpn gateway in the specified resource group.

abstract Mono<Response<Flux<ByteBuffer>>> startPacketCaptureWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters)

Starts packet capture on vpn gateway in the specified resource group.

abstract String stopPacketCapture(String resourceGroupName, String gatewayName)

Stops packet capture on vpn gateway in the specified resource group.

abstract String stopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context)

Stops packet capture on vpn gateway in the specified resource group.

abstract Mono<String> stopPacketCaptureAsync(String resourceGroupName, String gatewayName)

Stops packet capture on vpn gateway in the specified resource group.

abstract Mono<String> stopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters)

Stops packet capture on vpn gateway in the specified resource group.

abstract Mono<Response<Flux<ByteBuffer>>> stopPacketCaptureWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters)

Stops packet capture on vpn gateway in the specified resource group.

abstract VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)

Updates virtual wan vpn gateway tags.

abstract VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters, Context context)

Updates virtual wan vpn gateway tags.

abstract Mono<VpnGatewayInner> updateTagsAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)

Updates virtual wan vpn gateway tags.

abstract Mono<Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)

Updates virtual wan vpn gateway tags.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,VpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.

Returns:

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

beginCreateOrUpdate

public abstract SyncPoller,VpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters, Context context)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.
context - The context to associate with this operation.

Returns:

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

beginCreateOrUpdateAsync

public abstract PollerFlux,VpnGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.

Returns:

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

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String gatewayName)

Deletes a virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

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

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String gatewayName, Context context)

Deletes a virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
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 gatewayName)

Deletes a virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

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

beginReset

public abstract SyncPoller,VpnGatewayInner> beginReset(String resourceGroupName, String gatewayName)

Resets the primary of the vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

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

beginReset

public abstract SyncPoller,VpnGatewayInner> beginReset(String resourceGroupName, String gatewayName, String ipConfigurationId, Context context)

Resets the primary of the vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
ipConfigurationId - VpnGateway ipConfigurationId to specify the gateway instance.
context - The context to associate with this operation.

Returns:

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

beginResetAsync

public abstract PollerFlux,VpnGatewayInner> beginResetAsync(String resourceGroupName, String gatewayName)

Resets the primary of the vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

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

beginResetAsync

public abstract PollerFlux,VpnGatewayInner> beginResetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId)

Resets the primary of the vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
ipConfigurationId - VpnGateway ipConfigurationId to specify the gateway instance.

Returns:

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

beginStartPacketCapture

public abstract SyncPoller,String> beginStartPacketCapture(String resourceGroupName, String gatewayName)

Starts packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

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

beginStartPacketCapture

public abstract SyncPoller,String> beginStartPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context)

Starts packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
parameters - Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.
context - The context to associate with this operation.

Returns:

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

beginStartPacketCaptureAsync

public abstract PollerFlux,String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName)

Starts packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

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

beginStartPacketCaptureAsync

public abstract PollerFlux,String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters)

Starts packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
parameters - Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.

Returns:

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

beginStopPacketCapture

public abstract SyncPoller,String> beginStopPacketCapture(String resourceGroupName, String gatewayName)

Stops packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

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

beginStopPacketCapture

public abstract SyncPoller,String> beginStopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context)

Stops packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
parameters - Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.
context - The context to associate with this operation.

Returns:

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

beginStopPacketCaptureAsync

public abstract PollerFlux,String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName)

Stops packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

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

beginStopPacketCaptureAsync

public abstract PollerFlux,String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters)

Stops packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
parameters - Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.

Returns:

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

beginUpdateTags

public abstract SyncPoller,VpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)

Updates virtual wan vpn gateway tags.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.

Returns:

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

beginUpdateTags

public abstract SyncPoller,VpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters, Context context)

Updates virtual wan vpn gateway tags.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.
context - The context to associate with this operation.

Returns:

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

beginUpdateTagsAsync

public abstract PollerFlux,VpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)

Updates virtual wan vpn gateway tags.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.

Returns:

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

createOrUpdate

public abstract VpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.

Returns:

vpnGateway Resource.

createOrUpdate

public abstract VpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters, Context context)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.
context - The context to associate with this operation.

Returns:

vpnGateway Resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.

Returns:

vpnGateway Resource on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.

Returns:

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

delete

public abstract void delete(String resourceGroupName, String gatewayName)

Deletes a virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

delete

public abstract void delete(String resourceGroupName, String gatewayName, Context context)

Deletes a virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String gatewayName)

Deletes a virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String gatewayName)

Deletes a virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract VpnGatewayInner getByResourceGroup(String resourceGroupName, String gatewayName)

Retrieves the details of a virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

vpnGateway Resource.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String gatewayName)

Retrieves the details of a virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

vpnGateway Resource on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, Context context)

Retrieves the details of a virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
context - The context to associate with this operation.

Returns:

vpnGateway Resource along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String gatewayName)

Retrieves the details of a virtual wan vpn gateway.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

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

list

public abstract PagedIterable list()

Lists all the VpnGateways in a subscription.

Returns:

result of the request to list VpnGateways as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Lists all the VpnGateways in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

result of the request to list VpnGateways as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Lists all the VpnGateways in a subscription.

Returns:

result of the request to list VpnGateways as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists all the VpnGateways in a resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.

Returns:

result of the request to list VpnGateways as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Lists all the VpnGateways in a resource group.

Parameters:

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

Returns:

result of the request to list VpnGateways as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists all the VpnGateways in a resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.

Returns:

result of the request to list VpnGateways as paginated response with PagedFlux<T>.

reset

public abstract VpnGatewayInner reset(String resourceGroupName, String gatewayName)

Resets the primary of the vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

vpnGateway Resource.

reset

public abstract VpnGatewayInner reset(String resourceGroupName, String gatewayName, String ipConfigurationId, Context context)

Resets the primary of the vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
ipConfigurationId - VpnGateway ipConfigurationId to specify the gateway instance.
context - The context to associate with this operation.

Returns:

vpnGateway Resource.

resetAsync

public abstract Mono resetAsync(String resourceGroupName, String gatewayName)

Resets the primary of the vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

vpnGateway Resource on successful completion of Mono.

resetAsync

public abstract Mono resetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId)

Resets the primary of the vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
ipConfigurationId - VpnGateway ipConfigurationId to specify the gateway instance.

Returns:

vpnGateway Resource on successful completion of Mono.

resetWithResponseAsync

public abstract Mono>> resetWithResponseAsync(String resourceGroupName, String gatewayName, String ipConfigurationId)

Resets the primary of the vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
ipConfigurationId - VpnGateway ipConfigurationId to specify the gateway instance.

Returns:

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

startPacketCapture

public abstract String startPacketCapture(String resourceGroupName, String gatewayName)

Starts packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

the response.

startPacketCapture

public abstract String startPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, Context context)

Starts packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
parameters - Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.
context - The context to associate with this operation.

Returns:

the response.

startPacketCaptureAsync

public abstract Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName)

Starts packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

the response body on successful completion of Mono.

startPacketCaptureAsync

public abstract Mono startPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters)

Starts packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
parameters - Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.

Returns:

the response body on successful completion of Mono.

startPacketCaptureWithResponseAsync

public abstract Mono>> startPacketCaptureWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters)

Starts packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
parameters - Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.

Returns:

the response body along with Response<T> on successful completion of Mono.

stopPacketCapture

public abstract String stopPacketCapture(String resourceGroupName, String gatewayName)

Stops packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

the response.

stopPacketCapture

public abstract String stopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, Context context)

Stops packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
parameters - Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.
context - The context to associate with this operation.

Returns:

the response.

stopPacketCaptureAsync

public abstract Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName)

Stops packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.

Returns:

the response body on successful completion of Mono.

stopPacketCaptureAsync

public abstract Mono stopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters)

Stops packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
parameters - Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.

Returns:

the response body on successful completion of Mono.

stopPacketCaptureWithResponseAsync

public abstract Mono>> stopPacketCaptureWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters)

Stops packet capture on vpn gateway in the specified resource group.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
parameters - Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.

Returns:

the response body along with Response<T> on successful completion of Mono.

updateTags

public abstract VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)

Updates virtual wan vpn gateway tags.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.

Returns:

vpnGateway Resource.

updateTags

public abstract VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters, Context context)

Updates virtual wan vpn gateway tags.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.
context - The context to associate with this operation.

Returns:

vpnGateway Resource.

updateTagsAsync

public abstract Mono updateTagsAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)

Updates virtual wan vpn gateway tags.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.

Returns:

vpnGateway Resource on successful completion of Mono.

updateTagsWithResponseAsync

public abstract Mono>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)

Updates virtual wan vpn gateway tags.

Parameters:

resourceGroupName - The resource group name of the VpnGateway.
gatewayName - The name of the gateway.
vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.

Returns:

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

Applies to