function checkPlanForPerformanceDrop()

in src/commands/createWebApp/setPostPromptDefaults.ts [105:115]


function checkPlanForPerformanceDrop(asp: WebSiteManagementModels.AppServicePlan | undefined): boolean {
    // for free and basic plans, there is a perf drop after 3 active apps are running
    if (asp && asp.numberOfSites !== undefined && asp.numberOfSites >= maxNumberOfSites) {
        const tier: string | undefined = asp.sku && asp.sku.tier;
        if (tier && /^(basic|free)$/i.test(tier)) {
            return true;
        }
    }

    return false;
}