VirtualNetworkGateway Interface

Implements

public interface VirtualNetworkGateway
extends GroupableResource<NetworkManager,VirtualNetworkGatewayInner>, Refreshable<VirtualNetworkGateway>, Updatable<Update>, UpdatableWithTags<VirtualNetworkGateway>

Entry point for Virtual Network Gateway management API in Azure.

Method Summary

Modifier and Type Method and Description
abstract boolean activeActive()
abstract BgpSettings bgpSettings()
abstract VirtualNetworkGatewayConnections connections()
abstract String gatewayDefaultSiteResourceId()
abstract VirtualNetworkGatewayType gatewayType()
abstract String generateVpnProfile()

Generates VPN profile for P2S client of the virtual network gateway in the specified resource group.

abstract Mono<String> generateVpnProfileAsync()

Generates asynchronously VPN profile for P2S client of the virtual network gateway in the specified resource group.

abstract Collection<VirtualNetworkGatewayIpConfiguration> ipConfigurations()
abstract boolean isBgpEnabled()
abstract PagedIterable<VirtualNetworkGatewayConnection> listConnections()
abstract PagedFlux<VirtualNetworkGatewayConnection> listConnectionsAsync()

Get all the connections associated with this virtual network gateway asynchronously.

abstract void reset()

Resets the primary of the virtual network gateway.

abstract Mono<Void> resetAsync()

Resets the primary of the virtual network gateway asynchronously.

abstract VirtualNetworkGatewaySku sku()
abstract VpnClientConfiguration vpnClientConfiguration()
abstract VpnType vpnType()

Method Details

activeActive

public abstract boolean activeActive()

Returns:

activeActive flag

bgpSettings

public abstract BgpSettings bgpSettings()

Returns:

virtual network gateway's BGP speaker settings

connections

public abstract VirtualNetworkGatewayConnections connections()

Returns:

the entry point to virtual network gateway connections management API for this virtual network gateway

gatewayDefaultSiteResourceId

public abstract String gatewayDefaultSiteResourceId()

Returns:

the resource id of the LocalNetworkGateway resource which represents local network site having default routes

gatewayType

public abstract VirtualNetworkGatewayType gatewayType()

Returns:

the gatewayType value

generateVpnProfile

public abstract String generateVpnProfile()

Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.

Returns:

String object if successful

generateVpnProfileAsync

public abstract Mono generateVpnProfileAsync()

Generates asynchronously VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.

Returns:

String object if successful

ipConfigurations

public abstract Collection ipConfigurations()

Returns:

IP configurations for virtual network gateway

isBgpEnabled

public abstract boolean isBgpEnabled()

Returns:

whether BGP is enabled for this virtual network gateway or not

listConnections

public abstract PagedIterable listConnections()

Returns:

all the connections associated with this virtual network gateway

listConnectionsAsync

public abstract PagedFlux listConnectionsAsync()

Get all the connections associated with this virtual network gateway asynchronously.

Returns:

all the connections associated with this virtual network gateway

reset

public abstract void reset()

Resets the primary of the virtual network gateway.

resetAsync

public abstract Mono resetAsync()

Resets the primary of the virtual network gateway asynchronously.

Returns:

a representation of the deferred computation of this call

sku

public abstract VirtualNetworkGatewaySku sku()

Returns:

the SKU of this virtual network gateway

vpnClientConfiguration

public abstract VpnClientConfiguration vpnClientConfiguration()

Returns:

the reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations

vpnType

public abstract VpnType vpnType()

Returns:

the type of this virtual network gateway

Applies to