Skip to content

Commit

Permalink
Bugfix: tags are not carried over (#51)
Browse files Browse the repository at this point in the history
Co-authored-by: Zach Trocinski <[email protected]>
  • Loading branch information
chgeuer and oZakari authored Apr 16, 2024
1 parent 1fdf454 commit 5c8dca4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Returns AKS clusters that do not have any availability zones enabled
resources
| where type == 'microsoft.containerservice/managedclusters'
| project id, name, location, properties.agentPoolProfiles
| project id, name, tags, location, properties.agentPoolProfiles
| mv-expand properties_agentPoolProfiles
| where isempty(array_length(properties_agentPoolProfiles.availabilityZones))
| project recommendationId="4f63619f-5001-439c-bacb-8de891287727", id, name, tags, param1=strcat("nodePoolName: ", properties_agentPoolProfiles.name), param2=strcat("orchestratorVersion: ", properties_agentPoolProfiles.orchestratorVersion), param3=strcat("currentOrchestratorVersion: ", properties_agentPoolProfiles.currentOrchestratorVersion), param4=strcat("numberOfZones: ", iff(isempty(array_length(properties_agentPoolProfiles.availabilityZones)), 0, array_length(properties_agentPoolProfiles.availabilityZones)))
Expand Down

0 comments on commit 5c8dca4

Please sign in to comment.