Interface VirtualNetworkGatewayConnection

All Superinterfaces:
GroupableResource<NetworkManager,VirtualNetworkGatewayConnectionInner>, HasId, HasInnerModel<VirtualNetworkGatewayConnectionInner>, HasManager<NetworkManager>, HasName, HasParent<VirtualNetworkGateway>, HasResourceGroup, IndependentChild<NetworkManager>, IndependentChildResource<NetworkManager,VirtualNetworkGatewayConnectionInner>, Indexable, Refreshable<VirtualNetworkGatewayConnection>, Resource, Updatable<VirtualNetworkGatewayConnection.Update>, UpdatableWithTags<VirtualNetworkGatewayConnection>

Client-side representation of Virtual Network Gateway Connection object, associated with Virtual Network Gateway.
  • Method Details

    • authorizationKey

      String authorizationKey()
      Get the authorizationKey value.
      Returns:
      the authorizationKey value
    • virtualNetworkGateway1Id

      String virtualNetworkGateway1Id()
      Gets the reference to virtual network gateway resource.
      Returns:
      the reference to virtual network gateway resource
    • virtualNetworkGateway2Id

      String virtualNetworkGateway2Id()
      Gets the reference to virtual network gateway resource.
      Returns:
      the reference to virtual network gateway resource.
    • localNetworkGateway2Id

      String localNetworkGateway2Id()
      Gets the reference to local network gateway resource.
      Returns:
      the reference to local network gateway resource
    • connectionType

      Get the gateway connection type.
      Returns:
      the connectionType value
    • routingWeight

      int routingWeight()
      Gets the routing weight.
      Returns:
      the routing weight
    • sharedKey

      String sharedKey()
      Gets the IPSec shared key.
      Returns:
      the IPSec shared key
    • connectionStatus

      Get the Virtual Network Gateway connection status.
      Returns:
      the connectionStatus value
    • tunnelConnectionStatus

      Collection<TunnelConnectionHealth> tunnelConnectionStatus()
      Get the tunnelConnectionStatus value.
      Returns:
      collection of all tunnels' connection health status
    • egressBytesTransferred

      long egressBytesTransferred()
      Gets the egress bytes transferred in this connection.
      Returns:
      the egress bytes transferred in this connection
    • ingressBytesTransferred

      long ingressBytesTransferred()
      Gets the egress bytes transferred in this connection.
      Returns:
      the egress bytes transferred in this connection.
    • peerId

      String peerId()
      Gets the reference to peerings resource.
      Returns:
      the reference to peerings resource
    • isBgpEnabled

      boolean isBgpEnabled()
      Checks whether BGP is enabled.
      Returns:
      the enableBgp flag
    • usePolicyBasedTrafficSelectors

      boolean usePolicyBasedTrafficSelectors()
      Checks whether policy-based traffic selectors enabled.
      Returns:
      if policy-based traffic selectors enabled
    • ipsecPolicies

      Collection<IpsecPolicy> ipsecPolicies()
      Gets the IPSec Policies to be considered by this connection.
      Returns:
      the IPSec Policies to be considered by this connection
    • provisioningState

      String provisioningState()
      Gets the provisioning state of the VirtualNetworkGatewayConnection resource.
      Returns:
      the provisioning state of the VirtualNetworkGatewayConnection resource