Skip to content

Commit 80e9b98

Browse files
committed
Update: query
1 parent bdbf44c commit 80e9b98

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

azure-resources/Network/loadBalancers/kql/6d82d042-6d61-ad49-86f0-6a5455398081.kql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ resources
55
| mv-expand bpool = properties.backendAddressPools
66
| extend BackendAddresses = array_length(bpool.properties.loadBalancerBackendAddresses)
77
| where BackendAddresses <= 1
8-
| extend lbId = id, lbName = name, poolName = tostring(bpool.name)
9-
| summarize anyPool = any(poolName), anyTags = any(tags) by lbId, lbName
10-
| project recommendationId = "6d82d042-6d61-ad49-86f0-6a5455398081", name = lbName, id = lbId, tags = anyTags, param1 = strcat("backendPoolName: ", anyPool)
8+
| extend lbId = id, lbName = name, poolName = tostring(bpool.name), lbTags = tostring(tags)
9+
| summarize impactedPools = make_list(poolName) by lbId, lbName, lbTags
10+
| project recommendationId = "6d82d042-6d61-ad49-86f0-6a5455398081",name = lbName,id = lbId,tags = lbTags,param1 = strcat("backendPoolNames: ", strcat_array(impactedPools, ", "))

0 commit comments

Comments
 (0)