Skip to content

Commit 0bb5407

Browse files
authored
Add hybrid compute-extension-last-connect
1 parent e4077cb commit 0bb5407

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
resources
2+
| where type =~ 'microsoft.hybridcompute/machines/extensions'
3+
| where properties.type in ('WindowsAgent.SqlServer','LinuxAgent.SqlServer')
4+
| parse id with * '/providers/Microsoft.HybridCompute/machines/' machineName '/extensions/' *
5+
| parse properties with * 'timestampUTC : ' timestampUTC ';' *
6+
| project timestampUTC, subscriptionId, resourceGroup, machineName
7+
| order by timestampUTC desc

0 commit comments

Comments
 (0)