Interface VirtualNetworkGatewayConnection

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

@Beta(V1_3_0) public interface VirtualNetworkGatewayConnection extends IndependentChildResource<com.microsoft.azure.management.network.implementation.NetworkManager,com.microsoft.azure.management.network.implementation.VirtualNetworkGatewayConnectionInner>, Refreshable<VirtualNetworkGatewayConnection>, Updatable<VirtualNetworkGatewayConnection.Update>, UpdatableWithTags<VirtualNetworkGatewayConnection>, HasParent<VirtualNetworkGateway>
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()
      Returns:
      the reference to virtual network gateway resource
    • virtualNetworkGateway2Id

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

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

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

      int routingWeight()
      Returns:
      the routing weight
    • sharedKey

      String sharedKey()
      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()
      Returns:
      the egress bytes transferred in this connection
    • ingressBytesTransferred

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

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

      boolean isBgpEnabled()
      Returns:
      the enableBgp flag
    • usePolicyBasedTrafficSelectors

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

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

      ProvisioningState provisioningState()
      Returns:
      the provisioning state of the VirtualNetworkGatewayConnection resource