summary import { NetworkManagementClient } from "@msinternal/network-resource-manager" ; import { DefaultAzureCredential } from "@azure/identity" ; async function getExpressRouteCrossConnection ( ) { const subscriptionId = "subid" ; const resourceGroupName = "CrossConnection-SiliconValley" ; const crossConnectionName = "<circuitServiceKey>" ; const credential = new DefaultAzureCredential ( ) ; const client = new NetworkManagementClient ( credential , subscriptionId ) ; const result = await client . expressRouteCrossConnections . get ( resourceGroupName , crossConnectionName ) ; console . log ( result ) ; } getExpressRouteCrossConnection ( ) . catch ( console . error ) ;