Skip to content

Getting generic resource by ID ignores provider type - returns wrong object #998

Description

@grnadav

Hello

When getting a generic resource by Id, it ignores the provider and uses only resource group name and object name, thus when there are 2 (or more) objects with same name (but different provider type) the wrong object is returned (first result?)

Issue is at:
https://github.com/Azure/azure-sdk-for-java/blame/master/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/GroupableResourcesImpl.java#L52

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions