File tree 1 file changed +2
-4
lines changed
src/ResourceManagement/AppService
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ private FunctionAppImpl AutoSetAlwaysOn(PricingTier pricingTier)
64
64
SkuDescription description = pricingTier . SkuDescription ;
65
65
if ( description . Tier . Equals ( "Basic" , StringComparison . OrdinalIgnoreCase )
66
66
|| description . Tier . Equals ( "Standard" , StringComparison . OrdinalIgnoreCase )
67
- || description . Tier . Equals ( "Premium" , StringComparison . OrdinalIgnoreCase ) )
67
+ || description . Tier . StartsWith ( "Premium" , StringComparison . OrdinalIgnoreCase ) )
68
68
{
69
69
return WithWebAppAlwaysOn ( true ) ;
70
70
}
@@ -181,9 +181,7 @@ private bool IsConsumptionAppServicePlan(PricingTier pricingTier)
181
181
}
182
182
183
183
SkuDescription description = pricingTier . SkuDescription ;
184
- return ! ( description . Tier . Equals ( "Basic" , StringComparison . OrdinalIgnoreCase )
185
- || description . Tier . Equals ( "Standard" , StringComparison . OrdinalIgnoreCase )
186
- || description . Tier . Equals ( "Premium" , StringComparison . OrdinalIgnoreCase ) ) ;
184
+ return description . Tier . Equals ( "Dynamic" , StringComparison . OrdinalIgnoreCase ) ;
187
185
}
188
186
189
187
public override async Task < IFunctionApp > CreateAsync ( CancellationToken cancellationToken = default ( CancellationToken ) , bool multiThreaded = true )
You can’t perform that action at this time.
0 commit comments