Compartir a través de


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()

Gets the egress bytes transferred in this connection.

abstract long ingressBytesTransferred()

Gets the egress bytes transferred in this connection.

abstract Collection<IpsecPolicy> ipsecPolicies()

Gets the IPSec Policies to be considered by this connection.

abstract boolean isBgpEnabled()

Checks whether BGP is enabled.

abstract String localNetworkGateway2Id()

Gets the reference to local network gateway resource.

abstract String peerId()

Gets the reference to peerings resource.

abstract String provisioningState()

Gets the provisioning state of the VirtualNetworkGatewayConnection resource.

abstract int routingWeight()

Gets the routing weight.

abstract String sharedKey()

Gets the IPSec shared key.

abstract Collection<TunnelConnectionHealth> tunnelConnectionStatus()

Get the tunnelConnectionStatus value.

abstract boolean usePolicyBasedTrafficSelectors()

Checks whether policy-based traffic selectors enabled.

abstract String virtualNetworkGateway1Id()

Gets the reference to virtual network gateway resource.

abstract String virtualNetworkGateway2Id()

Gets the reference to virtual network gateway resource.

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()

Gets the egress bytes transferred in this connection.

Returns:

the egress bytes transferred in this connection

ingressBytesTransferred

public abstract long ingressBytesTransferred()

Gets the egress bytes transferred in this connection.

Returns:

the egress bytes transferred in this connection.

ipsecPolicies

public abstract Collection ipsecPolicies()

Gets the IPSec Policies to be considered by this connection.

Returns:

the IPSec Policies to be considered by this connection

isBgpEnabled

public abstract boolean isBgpEnabled()

Checks whether BGP is enabled.

Returns:

the enableBgp flag

localNetworkGateway2Id

public abstract String localNetworkGateway2Id()

Gets the reference to local network gateway resource.

Returns:

the reference to local network gateway resource

peerId

public abstract String peerId()

Gets the reference to peerings resource.

Returns:

the reference to peerings resource

provisioningState

public abstract String provisioningState()

Gets the provisioning state of the VirtualNetworkGatewayConnection resource.

Returns:

the provisioning state of the VirtualNetworkGatewayConnection resource

routingWeight

public abstract int routingWeight()

Gets the routing weight.

Returns:

the routing weight

sharedKey

public abstract String sharedKey()

Gets the IPSec shared key.

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()

Checks whether policy-based traffic selectors enabled.

Returns:

if policy-based traffic selectors enabled

virtualNetworkGateway1Id

public abstract String virtualNetworkGateway1Id()

Gets the reference to virtual network gateway resource.

Returns:

the reference to virtual network gateway resource

virtualNetworkGateway2Id

public abstract String virtualNetworkGateway2Id()

Gets the reference to virtual network gateway resource.

Returns:

the reference to virtual network gateway resource.

Applies to