Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
resources
| where type == "microsoft.compute/virtualmachinescalesets"
| where isempty(tostring(tags['aks-managed-poolName']))
Copy link

Copilot AI May 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider adding a brief comment explaining why converting SKU to a string is required, to help future maintainers understand the data type assumptions in this query.

Suggested change
| where isempty(tostring(tags['aks-managed-poolName']))
| where isempty(tostring(tags['aks-managed-poolName']))
// Convert `sku` to a string to ensure consistent handling of its data type, as it might not always be a string.

Copilot uses AI. Check for mistakes.
| where isnotempty(tostring(sku))
| project name, id, tags
| join kind=leftouter (
resources
Expand Down