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

Commit

Permalink
Merge branch 'main' into aprl-rosanto
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigosantosms authored Sep 25, 2023
2 parents 9be22a7 + fd5406f commit 5f336b3
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 5f336b3

Please sign in to comment.