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
Bgp |
bgpSettings()
Gets virtual network gateway's BGP speaker settings. |
abstract
Virtual |
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 Local |
abstract
Virtual |
gatewayType()
Gets the gateway |
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<Virtual |
ipConfigurations()
Gets IP configurations for virtual network gateway. |
abstract boolean |
isBgpEnabled()
Checks whether BGP is enabled for this virtual network gateway or not. |
abstract
Paged |
listConnections()
Gets all the connections associated with this virtual network gateway. |
abstract
Paged |
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
Virtual |
sku()
Gets the SKU of this virtual network gateway. |
abstract
Vpn |
vpnClientConfiguration()
Gets the reference of the Vpn |
abstract
Vpn |
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:
bgpSettings
public abstract BgpSettings bgpSettings()
Gets virtual network gateway's BGP speaker settings.
Returns:
connections
public abstract VirtualNetworkGatewayConnections connections()
Gets the entry point to virtual network gateway connections management API for this virtual network gateway.
Returns:
gatewayDefaultSiteResourceId
public abstract String gatewayDefaultSiteResourceId()
Gets the resource ID of the LocalNetworkGateway resource which represents local network site having default routes
Returns:
gatewayType
public abstract VirtualNetworkGatewayType gatewayType()
Gets the gatewayType value.
Returns:
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:
generateVpnProfileAsync
public abstract Mono
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:
ipConfigurations
public abstract Collection
Gets IP configurations for virtual network gateway.
Returns:
isBgpEnabled
public abstract boolean isBgpEnabled()
Checks whether BGP is enabled for this virtual network gateway or not.
Returns:
listConnections
public abstract PagedIterable
Gets all the connections associated with this virtual network gateway.
Returns:
listConnectionsAsync
public abstract PagedFlux
Get all the connections associated with this virtual network gateway asynchronously.
Returns:
reset
public abstract void reset()
Resets the primary of the virtual network gateway.
resetAsync
public abstract Mono
Resets the primary of the virtual network gateway asynchronously.
Returns:
sku
public abstract VirtualNetworkGatewaySku sku()
Gets the SKU of this virtual network gateway.
Returns:
vpnClientConfiguration
public abstract VpnClientConfiguration vpnClientConfiguration()
Gets the reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
Returns:
vpnType
public abstract VpnType vpnType()
Gets the type of this virtual network gateway.
Returns: