VirtualNetworkGatewayConnection Interface

Implements

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

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

Method Summary

Modifier and Type Method and Description
abstract String authorizationKey()

Get the authorizationKey value.

abstract VirtualNetworkGatewayConnectionStatus connectionStatus()

Get the Virtual Network Gateway connection status.

abstract VirtualNetworkGatewayConnectionType connectionType()

Get the gateway connection type.

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

Get the tunnelConnectionStatus value.

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

Method Details

authorizationKey

public abstract String authorizationKey()

Get the authorizationKey value.

Returns:

the authorizationKey value

connectionStatus

public abstract VirtualNetworkGatewayConnectionStatus connectionStatus()

Get the Virtual Network Gateway connection status.

Returns:

the connectionStatus value

connectionType

public abstract VirtualNetworkGatewayConnectionType connectionType()

Get the gateway connection type.

Returns:

the connectionType value

egressBytesTransferred

public abstract long egressBytesTransferred()

Returns:

the egress bytes transferred in this connection

ingressBytesTransferred

public abstract long ingressBytesTransferred()

Returns:

the egress bytes transferred in this connection.

ipsecPolicies

public abstract Collection ipsecPolicies()

Returns:

the IPSec Policies to be considered by this connection

isBgpEnabled

public abstract boolean isBgpEnabled()

Returns:

the enableBgp flag

localNetworkGateway2Id

public abstract String localNetworkGateway2Id()

Returns:

the reference to local network gateway resource

peerId

public abstract String peerId()

Returns:

the reference to peerings resource

provisioningState

public abstract String provisioningState()

Returns:

the provisioning state of the VirtualNetworkGatewayConnection resource

routingWeight

public abstract int routingWeight()

Returns:

the routing weight

sharedKey

public abstract String sharedKey()

Returns:

the IPSec shared key

tunnelConnectionStatus

public abstract Collection tunnelConnectionStatus()

Get the tunnelConnectionStatus value.

Returns:

collection of all tunnels' connection health status

usePolicyBasedTrafficSelectors

public abstract boolean usePolicyBasedTrafficSelectors()

Returns:

if policy-based traffic selectors enabled

virtualNetworkGateway1Id

public abstract String virtualNetworkGateway1Id()

Returns:

the reference to virtual network gateway resource

virtualNetworkGateway2Id

public abstract String virtualNetworkGateway2Id()

Returns:

the reference to virtual network gateway resource.

Applies to