VirtualNetworkGateway Interface

Implements

UpdatableWithTags<VirtualNetworkGateway> GroupableResource<com.microsoft.azure.management.network.implementation.NetworkManager,com.microsoft.azure.management.network.implementation.VirtualNetworkGatewayInner> Refreshable<VirtualNetworkGateway> Updatable<Update>

public interface VirtualNetworkGateway
extends GroupableResource<com.microsoft.azure.management.network.implementation.NetworkManager,com.microsoft.azure.management.network.implementation.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 java.lang.String gatewayDefaultSiteResourceId()
abstract VirtualNetworkGatewayType gatewayType()
abstract java.lang.String generateVpnProfile()

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

abstract rx.Observable<java.lang.String> generateVpnProfileAsync()

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

abstract java.util.Collection<VirtualNetworkGatewayIPConfiguration> ipConfigurations()
abstract boolean isBgpEnabled()
abstract com.microsoft.azure.PagedList<VirtualNetworkGatewayConnection> listConnections()
abstract rx.Observable<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 rx.Completable 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 Observable 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 PagedList listConnections()

Returns:

all the connections associated with this virtual network gateway

listConnectionsAsync

public abstract 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 abstract void reset()

Resets the primary of the virtual network gateway.

resetAsync

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