List resources with two different resources but same resource type #1911
Labels
design:needed
A design request has been raised that needs a proposal
lib:azure-resource-manager
Issues for @azure-tools/typespec-azure-core library
Milestone
An example:
There are two resources in Diagnostics (though they share the same model, but these two paths have different actions), this one and this one. Pay attention to the same resource type:
Microsoft.Compute/locations/diagnostics
. Let's call themAResource
andBResource
for now.They also have a list operation:
If there is only
AResource
, we will generate SDK like:If there is only
BResource
, we will generate SDK like:Now we have both
AResource
andBResource
, then question is what is this list listing?AResource
andBResource
.To be more general:
When below conditions are satisfied, this issue comes up:
The text was updated successfully, but these errors were encountered: