Skip to main content

vpn_site_link_connections

Creates, updates, deletes, gets or lists a vpn_site_link_connections resource.

Overview

Namevpn_site_link_connections
TypeResource
Idazure.network.vpn_site_link_connections

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringName of the resource.
connectionBandwidthintegerExpected bandwidth in MBPS.
connectionStatusstringThe connection status. Known values are: "Unknown", "Connecting", "Connected", and "NotConnected". (Unknown, Connecting, Connected, NotConnected)
dpdTimeoutSecondsintegerDead Peer Detection timeout in seconds for VpnLink connection.
egressBytesTransferredintegerEgress bytes transferred.
egressNatRulesarrayList of egress NatRules.
enableBgpbooleanEnableBgp flag.
enableRateLimitingbooleanEnableBgp flag.
etagstringA unique read-only string that changes whenever the resource is updated.
ingressBytesTransferredintegerIngress bytes transferred.
ingressNatRulesarrayList of ingress NatRules.
ipsecPoliciesarrayThe IPSec Policies to be considered by this connection.
provisioningStatestringThe provisioning state of the VPN site link connection resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting". (Failed, Succeeded, Canceled, Creating, Updating, Deleting)
routingWeightintegerRouting weight for vpn connection.
sharedKeystringSharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.
typestringResource type.
useLocalAzureIpAddressbooleanUse local azure ip to initiate connection.
usePolicyBasedTrafficSelectorsbooleanEnable policy-based traffic selectors.
vpnConnectionProtocolTypestringConnection protocol used for this connection. Known values are: "IKEv2" and "IKEv1". (IKEv2, IKEv1)
vpnGatewayCustomBgpAddressesarrayvpnGatewayCustomBgpAddresses used by this connection.
vpnLinkConnectionModestringVpn link connection mode. Known values are: "Default", "ResponderOnly", and "InitiatorOnly". (Default, ResponderOnly, InitiatorOnly)
vpnSiteLinkobjectReference to another subresource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, gateway_name, connection_name, link_connection_name, subscription_idRetrieves the details of a vpn site link connection.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
connection_namestringThe name of the vpn connection. Required.
gateway_namestringThe name of the vpn gateway. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Retrieves the details of a vpn site link connection.

SELECT
id,
name,
connectionBandwidth,
connectionStatus,
dpdTimeoutSeconds,
egressBytesTransferred,
egressNatRules,
enableBgp,
enableRateLimiting,
etag,
ingressBytesTransferred,
ingressNatRules,
ipsecPolicies,
provisioningState,
routingWeight,
sharedKey,
type,
useLocalAzureIpAddress,
usePolicyBasedTrafficSelectors,
vpnConnectionProtocolType,
vpnGatewayCustomBgpAddresses,
vpnLinkConnectionMode,
vpnSiteLink
FROM azure.network.vpn_site_link_connections
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND gateway_name = '{{ gateway_name }}' -- required
AND connection_name = '{{ connection_name }}' -- required
AND link_connection_name = '{{ link_connection_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;