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. |
Virtual |
connectionStatus()
Get the Virtual Network Gateway connection status. Possible values are 'Unknown', 'Connecting', 'Connected' and 'NotConnected'. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'. |
Virtual |
connectionType()
Get the gateway connection type. Possible values are: 'Ipsec','Vnet2Vnet','ExpressRoute', and 'VPNClient. |
long | egressBytesTransferred() |
long | ingressBytesTransferred() |
Collection<Ipsec |
ipsecPolicies() |
boolean | isBgpEnabled() |
String | localNetworkGateway2Id() |
String | peerId() |
String | provisioningState() |
int | routingWeight() |
String | sharedKey() |
Collection<Tunnel |
tunnelConnectionStatus()
Get the tunnelConnectionStatus value. |
boolean | usePolicyBasedTrafficSelectors() |
String | virtualNetworkGateway1Id() |
String | virtualNetworkGateway2Id() |
Inherited Members
Method Details
authorizationKey
public String authorizationKey()
Get the authorizationKey value.
Returns:
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:
connectionType
public VirtualNetworkGatewayConnectionType connectionType()
Get the gateway connection type. Possible values are: 'Ipsec','Vnet2Vnet','ExpressRoute', and 'VPNClient.
Returns:
egressBytesTransferred
public long egressBytesTransferred()
Returns:
ingressBytesTransferred
public long ingressBytesTransferred()
Returns:
ipsecPolicies
public Collection
Returns:
isBgpEnabled
public boolean isBgpEnabled()
Returns:
localNetworkGateway2Id
public String localNetworkGateway2Id()
Returns:
peerId
public String peerId()
Returns:
provisioningState
public String provisioningState()
Returns:
routingWeight
public int routingWeight()
Returns:
sharedKey
public String sharedKey()
Returns:
tunnelConnectionStatus
public Collection
Get the tunnelConnectionStatus value.
Returns:
usePolicyBasedTrafficSelectors
public boolean usePolicyBasedTrafficSelectors()
Returns:
virtualNetworkGateway1Id
public String virtualNetworkGateway1Id()
Returns:
virtualNetworkGateway2Id
public String virtualNetworkGateway2Id()
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for