Merge pull request #1345 from MikeRayMSFT:240923-kusto-arc

Add hybrid compute-extension-last-connect
This commit is contained in:
Mike Ray
2024-09-23 14:27:08 -07:00
committed by GitHub
@@ -0,0 +1,7 @@
resources
| where type =~ 'microsoft.hybridcompute/machines/extensions'
| where properties.type in ('WindowsAgent.SqlServer','LinuxAgent.SqlServer')
| parse id with * '/providers/Microsoft.HybridCompute/machines/' machineName '/extensions/' *
| parse properties with * 'timestampUTC : ' timestampUTC ';' *
| project timestampUTC, subscriptionId, resourceGroup, machineName
| order by timestampUTC desc