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.
- Loading branch information
Showing
20 changed files
with
299 additions
and
111 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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
// under development |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
// under development |
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
1 change: 0 additions & 1 deletion
1
docs/content/services/networking/vpn-gateway/code/vpng-3/vpng-3.kql
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
docs/content/services/networking/vpn-gateway/code/vpng-7/vpng-7.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Azure Resource Graph Query | ||
// Provides a list of zone-redundant Azure VPN gateways associated with non-zone-redundant Public IPs | ||
resources | ||
| where type =~ "Microsoft.Network/virtualNetworkGateways" | ||
| where properties.gatewayType == "Vpn" | ||
| where properties.sku.tier contains 'AZ' | ||
| mv-expand ipconfig = properties.ipConfigurations | ||
| extend pipId = tostring(ipconfig.properties.publicIPAddress.id) | ||
| join kind=inner ( | ||
resources | ||
| where type == "microsoft.network/publicipaddresses" | ||
| where isnull(zones) or array_length(zones) < 3 ) | ||
on $left.pipId == $right.id | ||
| project recommendationId = "vpng-7", name, id, tags, param1 = strcat("PublicIpAddressName: ", name1), param2 = strcat ("PublicIpAddressId: ",id1), param3 = strcat ("PublicIpAddressTags: ",tags1) |
Oops, something went wrong.