From bf321c0458c997c1dc1ff343dbba1eec32339d3c Mon Sep 17 00:00:00 2001 From: Goutham Bandapati Date: Wed, 10 Dec 2025 23:25:56 -0600 Subject: [PATCH 1/2] adding AVS Key Encyrption Method --- .../kql/e0ac2f57-c8c0-4b8c-a7c8-19e5797828b5.kql | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/azure-resources/AVS/privateClouds/kql/e0ac2f57-c8c0-4b8c-a7c8-19e5797828b5.kql b/azure-resources/AVS/privateClouds/kql/e0ac2f57-c8c0-4b8c-a7c8-19e5797828b5.kql index fa5cad258..d6e576094 100644 --- a/azure-resources/AVS/privateClouds/kql/e0ac2f57-c8c0-4b8c-a7c8-19e5797828b5.kql +++ b/azure-resources/AVS/privateClouds/kql/e0ac2f57-c8c0-4b8c-a7c8-19e5797828b5.kql @@ -1 +1,12 @@ -// cannot-be-validated-with-arg +// Azure Resource Graph Query +// This query will return if the encryptionType is Customer-managed key or Microsoft-Managed key. If it is Customer-managed key, the query displays the keyName and keyVaultId +Resources +| where type =~ "microsoft.avs/privateclouds" +| extend keyName = tostring(properties.encryption.keyVaultProperties.keyName) +| extend encryptionType = case( + isnull(keyName) or keyName == "", "Microsoft-managed keys", + "Customer-managed keys" +) +| project subscriptionId, resourceGroup, name, encryptionType, + keyVaultId = tostring(properties.encryption.keyVaultProperties.keyVaultId), + keyName \ No newline at end of file From c82ba2d47a81066562302f49dec162e18b8cdd66 Mon Sep 17 00:00:00 2001 From: Goutham Bandapati Date: Thu, 11 Dec 2025 11:38:53 -0600 Subject: [PATCH 2/2] Returns all the virtual machines which are on SKUs supported by Azure Boost --- .../9ab499d8-8844-424d-a2d4-8f53690eb8f8.kql | 43 ++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/azure-resources/Compute/virtualMachines/kql/9ab499d8-8844-424d-a2d4-8f53690eb8f8.kql b/azure-resources/Compute/virtualMachines/kql/9ab499d8-8844-424d-a2d4-8f53690eb8f8.kql index 825659376..d2d851ad3 100644 --- a/azure-resources/Compute/virtualMachines/kql/9ab499d8-8844-424d-a2d4-8f53690eb8f8.kql +++ b/azure-resources/Compute/virtualMachines/kql/9ab499d8-8844-424d-a2d4-8f53690eb8f8.kql @@ -1,2 +1,43 @@ -// under-development +// Azure Resource Graph Query +// This query will return all the virtual machines which are on SKUs supported by Azure Boost. +Resources +| where type in~ ( + 'microsoft.compute/virtualmachines', + 'microsoft.compute/virtualmachinescalesets/virtualmachines' +) +| extend vmSize = tolower(tostring(properties.hardwareProfile.vmSize)) +// Families from Azure Boost current availability (Sept 2025) +| extend isBoostSku = case( + // Ebsv5 / Ebdsv5 + vmSize matches regex @"^standard_e\d+(bs|bds)_v5$", true, + // Lsv3 + vmSize matches regex @"^standard_l(8|16|32|48|64|80)s_v3$", true, + // Dsv5 / Ddsv5 / Dds_v5 + vmSize matches regex @"^standard_d\d+d?s_v5$", true, + // Dsv6 / Ddsv6 / Dds_v6 + vmSize matches regex @"^standard_d\d+d?s_v6$", true, + // Msv3 / Mdsv3 + vmSize matches regex @"^standard_m\d+ms_v3$", true, + vmSize matches regex @"^standard_m\d+mds_v3$", true, + // Msv6 / Mdsv6 + vmSize matches regex @"^standard_m\d+ms_v6$", true, + vmSize matches regex @"^standard_m\d+mds_v6$", true, + // Fsv2 + vmSize matches regex @"^standard_f\d+s_v2$", true, + // Fsv6 / Famsv6 / Falsv6 + vmSize matches regex @"^standard_f\d+s_v6$", true, + vmSize matches regex @"^standard_f\d+als_v6$", true, + vmSize matches regex @"^standard_f\d+ams_v6$", true, + // DCesv5 / DCedsv5 + vmSize matches regex @"^standard_dce\d+s_v5$", true, + vmSize matches regex @"^standard_dced\d+s_v5$", true, + // GPU: Nvadsv5 + vmSize matches regex @"^standard_nvadsv5$", true, + // HPC: HBv4 / HX + vmSize matches regex @"^standard_hbv4$", true, + vmSize matches regex @"^standard_hx$", true, + false +) +| project subscriptionId, resourceGroup, name, location, type, vmSize, isBoostSku +| order by isBoostSku desc, name asc