dolevshor / azure-orphan-resources

Centralize orphan resources in Azure environments
MIT License
533 stars 141 forks source link

Availability set and ASR #38

Closed sgalayar closed 5 months ago

sgalayar commented 6 months ago

In case you use ASR for Disaster recover AND the VMs were created with availability sets configured, ASR creates AVAILABILITY SETS with a suffix "-asr" at DR region. Those AVSETs have no VMs associated BUT are created in case you restore the VMs at DR, so I think the workbook should not list that resources. from MS docs, Target availability sets
Availability set in which replicating VMs are located after failover.

Site Recovery creates an availability set in the target region with the suffix "asr", for VMs that are located in an availability set in the source location. If an availability set exists, it's used and a new one isn't created.

dolevshor commented 6 months ago

Hi @sgalayar, Thank you very much for paying attention to this.

I have looked into the issue and will fix it today.

dolevshor commented 5 months ago

Hi @sgalayar ,

Happy to update that the query has been updated. You are welcome to update the version of the workbook and thanks again for paying attention to that.