summary import { NetworkManagementClient } from "@msinternal/network-resource-manager" ; import { DefaultAzureCredential } from "@azure/identity" ; async function peerExpressRouteCircuitConnectionGet ( ) { const subscriptionId = "subid1" ; const resourceGroupName = "rg1" ; const circuitName = "ExpressRouteARMCircuitA" ; const peeringName = "AzurePrivatePeering" ; const connectionName = "60aee347-e889-4a42-8c1b-0aae8b1e4013" ; const credential = new DefaultAzureCredential ( ) ; const client = new NetworkManagementClient ( credential , subscriptionId ) ; const result = await client . peerExpressRouteCircuitConnections . get ( resourceGroupName , circuitName , peeringName , connectionName ) ; console . log ( result ) ; } peerExpressRouteCircuitConnectionGet ( ) . catch ( console . error ) ;