summary import { NetworkManagementClient } from "@msinternal/network-resource-manager" ; import { DefaultAzureCredential } from "@azure/identity" ; async function vpnSiteGet ( ) { const subscriptionId = "subid" ; const resourceGroupName = "rg1" ; const vpnSiteName = "vpnSite1" ; const vpnSiteLinkName = "vpnSiteLink1" ; const credential = new DefaultAzureCredential ( ) ; const client = new NetworkManagementClient ( credential , subscriptionId ) ; const result = await client . vpnSiteLinks . get ( resourceGroupName , vpnSiteName , vpnSiteLinkName ) ; console . log ( result ) ; } vpnSiteGet ( ) . catch ( console . error ) ;