Skip to content

Commit 5a8dbb1

Browse files
DaFitRobstatksh164oZakari
authored
fix: Exclude VMSS Flex with Standalone VMs and cleanup old workflow (#721)
Co-authored-by: Takeshi Katano <takatano@outlook.com> Co-authored-by: Zach Trocinski <ztrocinski@outlook.com>
1 parent 29749a1 commit 5a8dbb1

3 files changed

Lines changed: 2 additions & 139 deletions

File tree

.github/scripts/build-recommendation-object.ps1

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/build-recommendation-object.yml

Lines changed: 0 additions & 99 deletions
This file was deleted.

azure-resources/Compute/virtualMachineScaleSets/kql/ee66ff65-9aa3-2345-93c1-25827cf79f44.kql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// Azure Resource Graph Query
2-
// Find VMSS instances associated with autoscale settings when autoscale is disabled
2+
// Find VMSS instances (excluding VMSS Flex associated with standalone VMs) associated with autoscale settings when autoscale is disabled
33
resources
44
| where type == "microsoft.compute/virtualmachinescalesets"
55
| where isempty(tostring(tags['aks-managed-poolName']))
6+
| where isnotempty(tostring(sku))
67
| project name, id, tags
78
| join kind=leftouter (
89
resources

0 commit comments

Comments
 (0)