Skip to main content

vpn_link_connections

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

Overview

Namevpn_link_connections
TypeResource
Idazure.network.vpn_link_connections

Fields

NameDatatypeDescription
idstringResource ID.
namestringThe name of the resource that is unique within a resource group. This name can be used to access the resource.
etagstringA unique read-only string that changes whenever the resource is updated.
propertiesobjectParameters for VpnConnection.
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
list_by_vpn_connectionSELECTconnectionName, gatewayName, resourceGroupName, subscriptionIdRetrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection.
reset_connectionEXECconnectionName, gatewayName, linkConnectionName, resourceGroupName, subscriptionIdResets the VpnLink connection specified.
set_or_init_default_shared_keyEXECconnectionName, gatewayName, linkConnectionName, resourceGroupName, subscriptionIdSets or auto generates the shared key based on the user input. If users give a shared key value, it does the set operation. If key length is given, the operation creates a random key of the pre-defined length.

SELECT examples

Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection.

SELECT
id,
name,
etag,
properties,
type
FROM azure.network.vpn_link_connections
WHERE connectionName = '{{ connectionName }}'
AND gatewayName = '{{ gatewayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';