summary import { NetworkManagementClient } from "@msinternal/network-resource-manager" ; import { DefaultAzureCredential } from "@azure/identity" ; async function routeTableGet ( ) { const subscriptionId = "subid" ; const resourceGroupName = "rg1" ; const virtualHubName = "virtualHub1" ; const routingIntentName = "Intent1" ; const credential = new DefaultAzureCredential ( ) ; const client = new NetworkManagementClient ( credential , subscriptionId ) ; const result = await client . routingIntentOperations . get ( resourceGroupName , virtualHubName , routingIntentName ) ; console . log ( result ) ; } routeTableGet ( ) . catch ( console . error ) ;