This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving web-app from draft to published (#99)
Co-authored-by: Rodrigo Santos <[email protected]>
- Loading branch information
1 parent
fd5406f
commit 3c142dc
Showing
5 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
docs/content/services/web/app-service-plan/code/asp-5/asp-5.kql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
// Azure Resource Graph Query | ||
// The query filters the resources based on the type "microsoft.web/serverfarms" i.e. App Service Plans that are not setup to use standard or premium SKUs. | ||
// TODO: Extend this query to show automatic scaling or App level automatic scale | ||
// Azure Resource Graph | ||
// App Service Plans that are not setup to use standard or premium SKUs. | ||
// TODO: Extend this query to show automatic scaling or App level automatic scale | ||
resources | ||
| where type =~ "microsoft.insights/autoscalesettings" | ||
| where properties.targetResourceUri contains "microsoft.web/serverfarms" | ||
| project AppServicePlan = split(properties.targetResourceUri, '/')[8], ResourceGroup = split(properties.targetResourceUri, '/')[4] | ||
| project AppServicePlan, ResourceGroup | ||
| project AppServicePlan = split(properties.targetResourceUri, '/')[8], ResourceGroup = split(properties.targetResourceUri, '/')[4],id=properties.targetResourceUri | ||
| project recommendationid="asp-5", ["name"]=AppServicePlan, ["id"]=id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.