azure-sdk-for-net
azure-sdk-for-net copied to clipboard
[BUG] EntityQueryItem is represented twice in the SDK
Library name and version
Azure.ResourceManager.SecurityInsights
Describe the bug
In this library is that the EntityQueryItem is a resource so it becomes EntityQueryData in the SDK, however we also have it as an EntityQueryItem model class also. This seems incorrect to me can we dig into why this is the case?
Expected behavior
We represent the model from the spec once
Actual behavior
we represent it twice
Reproduction Steps
None
Environment
No response
Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Monitor - ApplicationInsights:0.30032992,Azure.Identity:0.24799086,ARM:0.06841643'
EntityQueryItem came from Entities.json, EntityQueryData came from EntityQueries.json and has an extra Etag property based on swagger definition. We can check the real service response to confirm whether they're really different.
Close this issue as we have upgraded the API version to 2022-11-01 and these two models don't exist anymore.