Add Web App support as 4th resource kind - #10
Merged
Merged
Conversation
- Web App (microsoft.web/sites) availability via MemoryWorkingSet metric (Average, bytes): >0 = available, 0 = stopped, null = suspect - Function Apps excluded via 'kind contains functionapp' filter - Activity Log lifecycle: stop/start/restart with grace window - Paired stop->start spanning intervals (Resource Health does not track stopped web app state, unlike VM deallocation) - Universal creation/deletion state machine for all resource kinds - MergeIntervals helper for overlapping interval consolidation - Fix PS timestamp precision: ConvertFrom-Json DateTime handling preserves sub-second accuracy via direct DateTimeOffset construction - Fix C# locale formatting: SummaryWriter uses InvariantCulture for decimal separators in summary output - Fix ActivityLogService duplicate summary comment - Update ResourceInventoryService doc to note Function App exclusion - Sync README with webapp additions - Both PS and C# produce identical output (verified against 231 resources)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Azure Web App (microsoft.web/sites) as the 4th supported resource kind alongside VMs, SQL Databases, and Storage Accounts.
Changes
Web App availability model
ull = suspect null
Activity Log lifecycle
Universal improvements
Bug fixes
Cleanup
Verification
Both PS and C# versions tested against 3 subscriptions (231 resources, 850 output lines) for February 2026 — 0 data differences after fixes.