Skip to content

Commit

Permalink
formated project according to APRL template
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauricio Rojas Martinez committed Dec 13, 2024
1 parent 67da877 commit 801e7c7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ resources
| where type =~ "Microsoft.Network/virtualWans"
| extend vwanId = tolower(tostring(id)), vwanName = name
) on $left.vwanId == $right.vwanId
| project recommendationId = "17e8d380-e4b4-41a1-9b37-2e4df9fd5125", ergwName, ergwId, ergwTags, param1=strcat("vHub Name: ", vhubName), param2=strcat("vWAN Name: ", vwanName)
| project recommendationId = "17e8d380-e4b4-41a1-9b37-2e4df9fd5125", name, id, tags, param1=strcat("vHub Name: ", vhubName), param2=strcat("vWAN Name: ", vwanName)

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@ resources
| where type =~ "Microsoft.Network/virtualWans"
| extend vwanId = tolower(tostring(id)), vwanName = name
) on $left.vwanId == $right.vwanId
| project recommendationId = "560a76a7-8f64-4ce3-ad27-d174468861a1", ergwName, ergwId, ergwTags, param1=strcat("vHub Name: ", vhubName), param2=strcat("vWAN Name: ", vwanName)


| project recommendationId = "560a76a7-8f64-4ce3-ad27-d174468861a1", name, id, tags, param1=strcat("vHub Name: ", vhubName), param2=strcat("vWAN Name: ", vwanName)
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ resources
| where type =~ "Microsoft.Network/virtualWans"
| extend vwanId = tolower(tostring(id)), vwanName = name
) on $left.vwanId == $right.vwanId
| project recommendationId = "fd43ea32-2ccf-49a8-ada4-9a78794e3ff1", p2sgwName, p2sgwId, p2sgwTags, param1=strcat("vHub Name: ", vhubName), param2=strcat("vWAN Name: ", vwanName)
| project recommendationId = "fd43ea32-2ccf-49a8-ada4-9a78794e3ff1", name, id, tags, param1=strcat("vHub Name: ", vhubName), param2=strcat("vWAN Name: ", vwanName)
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ resources
| extend vwanId = tolower(tostring(id)), vwanName = name
| project vwanId, vwanName
) on $left.vwanId == $right.vwanId
| project recommendationId = "30ec8a5e-46de-4323-87e9-a7c56b72813b", hubName, hubId, hubTags, param1=strcat("vWAN Name : ",vwanName)
| project recommendationId = "30ec8a5e-46de-4323-87e9-a7c56b72813b", name, id, tags, param1=strcat("vWAN Name : ",vwanName)
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ resources
| where type == "microsoft.network/virtualwans"
| project id, name, tags
) on $left.virtualWanId == $right.id
| project recommendationId = "f29e56a1-6a80-4295-a663-1cce0ea2b10a", name, id = virtualWanId, sku
| project recommendationId = "f29e56a1-6a80-4295-a663-1cce0ea2b10a", name, id, tags, param1=strcat("SKU: ", sku)
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ resources
| where type =~ "Microsoft.Network/virtualWans"
| extend vwanId = tolower(tostring(id)), vwanName = name
) on $left.vwanId == $right.vwanId
| project recommendationId = "f0d4f766-ac19-48c4-b228-4601cc038baa", vpngwName, vpngwId, vpngwTags, param1=strcat("vHub Name: ", vhubName), param2=strcat("vWAN Name: ", vwanName)
| project recommendationId = "f0d4f766-ac19-48c4-b228-4601cc038baa", name, id, tags, param1=strcat("vHub Name: ", vhubName), param2=strcat("vWAN Name: ", vwanName)
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ resources
| where type == "microsoft.network/virtualwans"
| project id, name, tags
) on $left.virtualWanId == $right.id
| project recommendationId = "02bdbdb8-d138-4090-951c-23e45b8700f7", name, id = virtualWanId, tags, param1 = vpnSiteLinksCount
| project recommendationId = "02bdbdb8-d138-4090-951c-23e45b8700f7", name, id, tags, param1 = vpnSiteLinksCount

0 comments on commit 801e7c7

Please sign in to comment.