Created
September 15, 2023 07:21
-
-
Save PixelRobots/5b187101a2ef1c0b27e835ef41cd3637 to your computer and use it in GitHub Desktop.
Resource Graph- get nodeVersion of AKS clusters
This file contains hidden or 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
resources | |
| where type == "microsoft.containerservice/managedclusters" | |
| mv-expand agentpool=properties.agentPoolProfiles | |
| extend nodeVersion = tostring(agentpool.nodeImageVersion) | |
| where nodeVersion startswith "AKSUbuntu" | |
| extend nodePoolName = tostring(agentpool.name) | |
| project clusterName = name, tenantId, subscriptionId, nodePoolName, nodeVersion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment