Skip to main content

vpn_site_links

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

Overview

Namevpn_site_links
TypeResource
Idazure.network.vpn_site_links

Fields

The following fields are returned by SELECT queries:

Request successful. Returns the details of the VpnSiteLink retrieved.

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.
propertiesobjectProperties of the VPN site link.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, vpnSiteName, vpnSiteLinkNameRetrieves the details of a VPN site link.
list_by_vpn_siteselectsubscriptionId, resourceGroupName, vpnSiteNameLists all the vpnSiteLinks in a resource group for a vpn site.

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
resourceGroupNamestringThe resource group name of the VpnSite.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
vpnSiteLinkNamestringThe name of the VpnSiteLink being retrieved.
vpnSiteNamestringThe name of the VpnSite.

SELECT examples

Retrieves the details of a VPN site link.

SELECT
id,
name,
etag,
properties,
type
FROM azure.network.vpn_site_links
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND vpnSiteName = '{{ vpnSiteName }}' -- required
AND vpnSiteLinkName = '{{ vpnSiteLinkName }}' -- required
;