summary import { NetworkManagementClient } from "@msinternal/network-resource-manager" ; import { DefaultAzureCredential } from "@azure/identity" ; async function getAvailableSslPredefinedPolicyByName ( ) { const subscriptionId = "subid" ; const predefinedPolicyName = "AppGwSslPolicy20150501" ; const credential = new DefaultAzureCredential ( ) ; const client = new NetworkManagementClient ( credential , subscriptionId ) ; const result = await client . applicationGateways . getSslPredefinedPolicy ( predefinedPolicyName ) ; console . log ( result ) ; } getAvailableSslPredefinedPolicyByName ( ) . catch ( console . error ) ;