Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
updating web-app (#97)
Browse files Browse the repository at this point in the history
Co-authored-by: Rodrigo Santos <[email protected]>
  • Loading branch information
rodrigosantosms and Rodrigo Santos authored Sep 25, 2023
1 parent e7f0f17 commit 5c1578e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/content/services/web/web-app/code/cm-1/cm-1.azcli
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
az resource list --resource-type "Micosoft.Example/changeMe" | jq .
6 changes: 6 additions & 0 deletions docs/content/services/web/web-app/code/cm-1/cm-1.kql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Azure Resource Graph Query
// Brief description of the intent of the query (focus on returning resources NOT following your recommendation, and usually name and ResourceId are enough for the report)
Resources
| where type =~ "Microsoft.Example/changeMe"
| project recommendationId = "cm-1", name, id
| order by id asc
1 change: 1 addition & 0 deletions docs/content/services/web/web-app/code/cm-1/cm-1.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Get-AzResource -ResourceType "Micrsoft.Example/changeMe" | Select-Object name, location, resourceGroup, properties
1 change: 1 addition & 0 deletions docs/content/services/web/web-app/code/cm-2/cm-2.azcli
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
az resource list --resource-type "Micosoft.Example/changeMe" | jq .
6 changes: 6 additions & 0 deletions docs/content/services/web/web-app/code/cm-2/cm-2.kql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Azure Resource Graph Query
// Brief description of the intent of the query (focus on returning resources NOT following your recommendation, and usually name and ResourceId are enough for the report)
Resources
| where type =~ "Microsoft.Example/changeMe2"
| project recommendationId = "cm-2", name, id
| order by id asc
1 change: 1 addition & 0 deletions docs/content/services/web/web-app/code/cm-2/cm-2.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Get-AzResource -ResourceType "Micrsoft.Example/changeMe" | Select-Object name, location, resourceGroup, properties

0 comments on commit 5c1578e

Please sign in to comment.