From a98ff9c590f99892350c8d73282bfee34f1b1578 Mon Sep 17 00:00:00 2001 From: Emil Wasilewski Date: Thu, 27 Oct 2022 09:33:44 +0200 Subject: [PATCH] Added new name prefix for ASR disks --- Queries/orphan-resources-queries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Queries/orphan-resources-queries.md b/Queries/orphan-resources-queries.md index 2e8fcc1..3bab819 100644 --- a/Queries/orphan-resources-queries.md +++ b/Queries/orphan-resources-queries.md @@ -9,7 +9,7 @@ Resources | where type has "microsoft.compute/disks" | extend diskState = tostring(properties.diskState) | where managedBy == "" -| where not(name endswith "-ASRReplica" or name startswith "ms-asr-") +| where not(name endswith "-ASRReplica" or name startswith "ms-asr-" or name startswith "asrseeddisk-") | extend Details = pack_all() | project id, resourceGroup, diskState, sku.name, properties.diskSizeGB, location, tags, subscriptionId, Details ```