mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Merge pull request #1345 from MikeRayMSFT:240923-kusto-arc
Add hybrid compute-extension-last-connect
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user