summary import { WebSiteManagementClient } from "@msinternal/web-resource-manager" ; import { DefaultAzureCredential } from "@azure/identity" ; async function getFunctionAppSettingsOfAStaticSiteBuild ( ) { const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" ; const resourceGroupName = "rg" ; const name = "testStaticSite0" ; const environmentName = "12" ; const credential = new DefaultAzureCredential ( ) ; const client = new WebSiteManagementClient ( credential , subscriptionId ) ; const result = await client . staticSites . listStaticSiteBuildFunctionAppSettings ( resourceGroupName , name , environmentName ) ; console . log ( result ) ; } getFunctionAppSettingsOfAStaticSiteBuild ( ) . catch ( console . error ) ;