Interface VirtualNetworkGateway

All Superinterfaces:
GroupableResource<com.microsoft.azure.management.network.implementation.NetworkManager,com.microsoft.azure.management.network.implementation.VirtualNetworkGatewayInner>, HasId, HasInner<com.microsoft.azure.management.network.implementation.VirtualNetworkGatewayInner>, HasManager<com.microsoft.azure.management.network.implementation.NetworkManager>, HasName, HasResourceGroup, Indexable, Refreshable<VirtualNetworkGateway>, Resource, Updatable<VirtualNetworkGateway.Update>, UpdatableWithTags<VirtualNetworkGateway>

@Beta(V1_3_0) public interface VirtualNetworkGateway extends GroupableResource<com.microsoft.azure.management.network.implementation.NetworkManager,com.microsoft.azure.management.network.implementation.VirtualNetworkGatewayInner>, Refreshable<VirtualNetworkGateway>, Updatable<VirtualNetworkGateway.Update>, UpdatableWithTags<VirtualNetworkGateway>
Entry point for Virtual Network Gateway management API in Azure.
  • Method Details

    • reset

      void reset()
      Resets the primary of the virtual network gateway.
    • resetAsync

      rx.Completable resetAsync()
      Resets the primary of the virtual network gateway asynchronously.
      Returns:
      a representation of the deferred computation of this call
    • listConnections

      com.microsoft.azure.PagedList<VirtualNetworkGatewayConnection> listConnections()
      Returns:
      all the connections associated with this virtual network gateway
    • listConnectionsAsync

      rx.Observable<VirtualNetworkGatewayConnection> listConnectionsAsync()
      Get all the connections associated with this virtual network gateway asynchronously.
      Returns:
      all the connections associated with this virtual network gateway
    • generateVpnProfile

      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

      rx.Observable<String> 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
    • connections

      Returns:
      the entry point to virtual network gateway connections management API for this virtual network gateway
    • gatewayType

      Returns:
      the gatewayType value
    • vpnType

      VpnType vpnType()
      Returns:
      the type of this virtual network gateway
    • isBgpEnabled

      boolean isBgpEnabled()
      Returns:
      whether BGP is enabled for this virtual network gateway or not
    • activeActive

      boolean activeActive()
      Returns:
      activeActive flag
    • gatewayDefaultSiteResourceId

      String gatewayDefaultSiteResourceId()
      Returns:
      the resource id of the LocalNetworkGateway resource which represents local network site having default routes
    • sku

      Returns:
      the SKU of this virtual network gateway
    • vpnClientConfiguration

      VpnClientConfiguration vpnClientConfiguration()
      Returns:
      the reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations
    • bgpSettings

      BgpSettings bgpSettings()
      Returns:
      virtual network gateway's BGP speaker settings
    • ipConfigurations

      Returns:
      IP configurations for virtual network gateway