Created
August 1, 2023 11:29
-
-
Save andrewmatveychuk/9ab0b3d8a05e63e81600fe60c77dcc43 to your computer and use it in GitHub Desktop.
Get all changes in a resource group
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
resourcechanges | |
| where resourceGroup =~ 'your_resource_group_name' | |
| extend changeTime = todatetime(properties.changeAttributes.timestamp), | |
targetResourceId = tostring(properties.targetResourceId), | |
changeType = tostring(properties.changeType), | |
correlationId = properties.changeAttributes.correlationId, | |
changedProperties = properties.changes, | |
changeCount = properties.changeAttributes.changesCount | |
| order by changeTime desc | |
| project changeTime, targetResourceId, changeType, correlationId, changeCount, changedProperties |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment