This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Description
In onefuzz.azure.image, for example, we use msrestazure.tools.parse_resource_id() to get a dict representation of the components of an Azure Resource ID. This is very dynamic and weakly-typed, and prone to absent keys in some situations, as a result of the parse_resource_id() function's return type and API.
Instead of doing ad hoc, implicit recognition of what kind of resource we are parsing, we should have models for the resource types we know about, grouped in a Union.
See comment: https://github.com/microsoft/onefuzz/pull/1450/files#r751810404
AB#35946