Skip to content

Commit 516c442

Browse files
Update get-resource-changes.md
Made change to plural on line 277 Also changed Resources updated across subscriptions to Count of changes by change type and subscription name along with making ResourceContainers to lowercase
1 parent d63a076 commit 516c442

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/governance/resource-graph/how-to/get-resource-changes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ resourcechanges
274274
| project changeTime, changeType, id, resourceGroup, type, properties
275275
```
276276

277-
### Change in virtual machine size 
277+
### Changes in virtual machine size 
278278
```kusto
279279
resourcechanges
280280
|extend vmSize = properties.changes["properties.hardwareProfile.vmSize"], changeTime = todatetime(properties.changeAttributes.timestamp), targetResourceId = tostring(properties.targetResourceId), changeType = tostring(properties.changeType) 
@@ -283,12 +283,12 @@ resourcechanges
283283
| project changeTime, targetResourceId, changeType, properties.changes, previousSize = vmSize.previousValue, newSize = vmSize.newValue
284284
```
285285

286-
### Resources updated across subscriptions
286+
### Count of changes by change type and subscription name
287287
```kusto
288288
resourcechanges  
289289
|extend changeType = tostring(properties.changeType), changeTime = todatetime(properties.changeAttributes.timestamp), targetResourceType=tostring(properties.targetResourceType)  
290290
| summarize count() by changeType, subscriptionId 
291-
| join (ResourceContainers | where type=='microsoft.resources/subscriptions' | project SubscriptionName=name, subscriptionId) on subscriptionId 
291+
| join (resourcecontainers | where type=='microsoft.resources/subscriptions' | project SubscriptionName=name, subscriptionId) on subscriptionId 
292292
| project-away subscriptionId, subscriptionId1
293293
| order by count_ desc  
294294
```

0 commit comments

Comments
 (0)