VirtualNetworkGateway Interface

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

Entry point for Virtual Network Gateway management API in Azure.

Method Summary

Modifier and Type Method and Description
boolean activeActive()
BgpSettings bgpSettings()
VirtualNetworkGatewayConnections connections()
String gatewayDefaultSiteResourceId()
VirtualNetworkGatewayType gatewayType()
Collection<VirtualNetworkGatewayIPConfiguration> ipConfigurations()
boolean isBgpEnabled()
PagedList<VirtualNetworkGatewayConnection> listConnections()
Observable<VirtualNetworkGatewayConnection> listConnectionsAsync()

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

void reset()

Resets the primary of the virtual network gateway.

Completable resetAsync()

Resets the primary of the virtual network gateway asynchronously.

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

Inherited Members

Method Details

activeActive

public boolean activeActive()

Returns:

activeActive flag

bgpSettings

public BgpSettings bgpSettings()

Returns:

virtual network gateway's BGP speaker settings

connections

public VirtualNetworkGatewayConnections connections()

Returns:

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

gatewayDefaultSiteResourceId

public String gatewayDefaultSiteResourceId()

Returns:

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

gatewayType

public VirtualNetworkGatewayType gatewayType()

Returns:

the gatewayType value

ipConfigurations

public Collection ipConfigurations()

Returns:

IP configurations for virtual network gateway

isBgpEnabled

public boolean isBgpEnabled()

Returns:

whether BGP is enabled for this virtual network gateway or not

listConnections

public PagedList listConnections()

Returns:

all the connections associated with this virtual network gateway

listConnectionsAsync

public Observable listConnectionsAsync()

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

Returns:

all the connections associated with this virtual network gateway

reset

public void reset()

Resets the primary of the virtual network gateway.

resetAsync

public Completable resetAsync()

Resets the primary of the virtual network gateway asynchronously.

Returns:

a representation of the deferred computation of this call

sku

public VirtualNetworkGatewaySku sku()

Returns:

the SKU of this virtual network gateway

vpnClientConfiguration

public VpnClientConfiguration vpnClientConfiguration()

Returns:

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

vpnType

public VpnType vpnType()

Returns:

the type of this virtual network gateway

Applies to