共用方式為


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()

Checks whether active is active for this virtual network gateway or not.

abstract BgpSettings bgpSettings()

Gets virtual network gateway's BGP speaker settings.

abstract VirtualNetworkGatewayConnections connections()

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

abstract String gatewayDefaultSiteResourceId()

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

abstract VirtualNetworkGatewayType gatewayType()

Gets the gatewayType value.

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()

Gets IP configurations for virtual network gateway.

abstract boolean isBgpEnabled()

Checks whether BGP is enabled for this virtual network gateway or not.

abstract PagedIterable<VirtualNetworkGatewayConnection> listConnections()

Gets all the connections associated with this virtual network gateway.

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()

Gets the SKU of this virtual network gateway.

abstract VpnClientConfiguration vpnClientConfiguration()

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

abstract VpnType vpnType()

Gets the type of this virtual network gateway.

Method Details

activeActive

public abstract boolean activeActive()

Checks whether active is active for this virtual network gateway or not.

Returns:

activeActive flag

bgpSettings

public abstract BgpSettings bgpSettings()

Gets virtual network gateway's BGP speaker settings.

Returns:

virtual network gateway's BGP speaker settings

connections

public abstract VirtualNetworkGatewayConnections connections()

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

Returns:

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

gatewayDefaultSiteResourceId

public abstract String gatewayDefaultSiteResourceId()

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

Returns:

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

gatewayType

public abstract VirtualNetworkGatewayType gatewayType()

Gets the gatewayType value.

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()

Gets IP configurations for virtual network gateway.

Returns:

IP configurations for virtual network gateway

isBgpEnabled

public abstract boolean isBgpEnabled()

Checks whether BGP is enabled for this virtual network gateway or not.

Returns:

whether BGP is enabled for this virtual network gateway or not

listConnections

public abstract PagedIterable listConnections()

Gets all the connections associated with this virtual network gateway.

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()

Gets the SKU of this virtual network gateway.

Returns:

the SKU of this virtual network gateway

vpnClientConfiguration

public abstract VpnClientConfiguration vpnClientConfiguration()

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

Returns:

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

vpnType

public abstract VpnType vpnType()

Gets the type of this virtual network gateway.

Returns:

the type of this virtual network gateway

Applies to