summary import { NetworkManagementClient } from "@msinternal/network-resource-manager" ; import { DefaultAzureCredential } from "@azure/identity" ; async function vpnSiteLinkConnectionGet ( ) { const subscriptionId = "subid" ; const resourceGroupName = "rg1" ; const gatewayName = "gateway1" ; const connectionName = "vpnConnection1" ; const linkConnectionName = "Connection-Link1" ; const credential = new DefaultAzureCredential ( ) ; const client = new NetworkManagementClient ( credential , subscriptionId ) ; const result = await client . vpnSiteLinkConnections . get ( resourceGroupName , gatewayName , connectionName , linkConnectionName ) ; console . log ( result ) ; } vpnSiteLinkConnectionGet ( ) . catch ( console . error ) ;