Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List Registries API Returns Duplicated Resources #31173

Open
6 tasks
jojoochen opened this issue Sep 20, 2024 · 0 comments
Open
6 tasks

List Registries API Returns Duplicated Resources #31173

jojoochen opened this issue Sep 20, 2024 · 0 comments
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@jojoochen
Copy link

jojoochen commented Sep 20, 2024

  • Package Name: arm-machinelearning
  • Package Version: 3.0.0
  • Operating system:MacOS Sonoma 14.5
  • nodejs
    • version: 18.19.0
  • browser
    • name/version:
  • typescript
    • version:
  • Is the bug related to documentation in

Describe the bug
When retrieving a list of resources using the Azure API(https://learn.microsoft.com/en-us/rest/api/azureml/registries/list-by-subscription?view=rest-azureml-2024-04-01&tabs=HTTP#code-try-0), the number of returned resources is multiplied by the number of regions in which they are deployed. This results in duplicate entries for each unique resource across all regions.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy multiple registries across distinct regions.
  2. Use the API to list the deployed resources (either via CLI or SDK).
  3. Example:
  • With 6 registries deployed across 5 regions, the API returned 30 items, with each registry duplicated 5 times.
  • Similarly, deploying 5 registries across 4 distinct regions (i.e. 2 of them in the same region), returned 20 items, again duplicating the resources based on region count.

Expected behavior
The API should return a single entry per unique resource, regardless of how many regions it is deployed in.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
This is what we've discovered so far, though we are unsure if there may be some underlying mechanism that we're unaware of. We would appreciate your assistance in clarifying this issue.

@jojoochen jojoochen changed the title List Registries API Returns Duplicated Resources Based on Region Count List Registries API Returns Duplicated Resources Sep 20, 2024
@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

1 participant