VirtualNetworkGatewayConnection Interface

public interface VirtualNetworkGatewayConnection extends IndependentChildResource<NetworkManager, VirtualNetworkGatewayConnectionInner>,Refreshable,Updatable,HasParent

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

Method Summary

Modifier and Type Method and Description
String authorizationKey()

Get the authorizationKey value.

VirtualNetworkGatewayConnectionStatus connectionStatus()

Get the Virtual Network Gateway connection status. Possible values are 'Unknown', 'Connecting', 'Connected' and 'NotConnected'. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'.

VirtualNetworkGatewayConnectionType connectionType()

Get the gateway connection type. Possible values are: 'Ipsec','Vnet2Vnet','ExpressRoute', and 'VPNClient.

long egressBytesTransferred()
long ingressBytesTransferred()
Collection<IpsecPolicy> ipsecPolicies()
boolean isBgpEnabled()
String localNetworkGateway2Id()
String peerId()
String provisioningState()
int routingWeight()
String sharedKey()
Collection<TunnelConnectionHealth> tunnelConnectionStatus()

Get the tunnelConnectionStatus value.

boolean usePolicyBasedTrafficSelectors()
String virtualNetworkGateway1Id()
String virtualNetworkGateway2Id()

Inherited Members

Method Details

authorizationKey

public String authorizationKey()

Get the authorizationKey value.

Returns:

the authorizationKey value

connectionStatus

public VirtualNetworkGatewayConnectionStatus connectionStatus()

Get the Virtual Network Gateway connection status. Possible values are 'Unknown', 'Connecting', 'Connected' and 'NotConnected'. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'.

Returns:

the connectionStatus value

connectionType

public VirtualNetworkGatewayConnectionType connectionType()

Get the gateway connection type. Possible values are: 'Ipsec','Vnet2Vnet','ExpressRoute', and 'VPNClient.

Returns:

the connectionType value

egressBytesTransferred

public long egressBytesTransferred()

Returns:

the egress bytes transferred in this connection

ingressBytesTransferred

public long ingressBytesTransferred()

Returns:

the egress bytes transferred in this connection.

ipsecPolicies

public Collection ipsecPolicies()

Returns:

the IPSec Policies to be considered by this connection

isBgpEnabled

public boolean isBgpEnabled()

Returns:

the enableBgp flag

localNetworkGateway2Id

public String localNetworkGateway2Id()

Returns:

the reference to local network gateway resource

peerId

public String peerId()

Returns:

the reference to peerings resource

provisioningState

public String provisioningState()

Returns:

the provisioning state of the VirtualNetworkGatewayConnection resource

routingWeight

public int routingWeight()

Returns:

the routing weight

sharedKey

public String sharedKey()

Returns:

the IPSec shared key

tunnelConnectionStatus

public Collection tunnelConnectionStatus()

Get the tunnelConnectionStatus value.

Returns:

collection of all tunnels' connection health status

usePolicyBasedTrafficSelectors

public boolean usePolicyBasedTrafficSelectors()

Returns:

if policy-based traffic selectors enabled

virtualNetworkGateway1Id

public String virtualNetworkGateway1Id()

Returns:

the reference to virtual network gateway resource

virtualNetworkGateway2Id

public String virtualNetworkGateway2Id()

Returns:

the reference to virtual network gateway resource.

Applies to