Skip to content

Commit

Permalink
Merge pull request #1 from dolevshor/main
Browse files Browse the repository at this point in the history
Last updates
  • Loading branch information
include-caio authored Feb 6, 2024
2 parents fcf5d2b + 2778180 commit d125063
Show file tree
Hide file tree
Showing 4 changed files with 775 additions and 75 deletions.
17 changes: 16 additions & 1 deletion Queries/orphan-resources-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Here you can find all the orphan resources queries that build this Workbook.
- [Availability Set](#availability-set)
- [Storage](#storage)
- [Disks](#disks)
- [Database](#database)
- [SQL elastic pool](#sql-elastic-pool)
- [Networking](#networking)
- [Public IPs](#public-ips)
- [Network Interfaces](#network-interfaces)
Expand All @@ -20,6 +22,7 @@ Here you can find all the orphan resources queries that build this Workbook.
- [Subnets](#subnets)
- [NAT Gateways](#nat-gateways)
- [IP Groups](#ip-groups)
- [Private DNS zones](#private-dns-zones)
- [Others](#others)
- [Resource Groups](#resource-groups)
- [API Connections](#api-connections)
Expand Down Expand Up @@ -77,7 +80,7 @@ Resources

#### SQL elastic pool

SQL elastic pool without databases
SQL elastic pool without databases.

```kql
resources
Expand Down Expand Up @@ -264,6 +267,18 @@ resources
| project subscriptionId, Resource=id, resourceGroup, location, tags, Details
```

#### Private DNS zones

Private DNS zones without Virtual Network Links.

```kql
resources
| where type == "microsoft.network/privatednszones"
| where properties.numberOfVirtualNetworkLinks == 0
| extend Details = pack_all()
| project subscriptionId, Resource=id, resourceGroup, location, NumberOfRecordSets=properties.numberOfRecordSets, tags, Details
```

## Others

#### Resource Groups
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Types of resources the workbook covers:
- Subnets
- NAT Gateways
- IP Groups
- Private DNS zones
- Others
- Resource Groups
- API Connections
Expand Down
4 changes: 2 additions & 2 deletions Workbook/Azure Orphaned Resources v2.0.json

Large diffs are not rendered by default.

Loading

0 comments on commit d125063

Please sign in to comment.