Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.69k stars 5.11k forks source link

`tags` missing on response of Azure Resource Management REST API #3819

Open hellosnow opened 6 years ago

hellosnow commented 6 years ago

This issue is transfered by https://github.com/MicrosoftDocs/feedback/issues/657 from @Qq20180503

Describe the bug I filter Azure Resource Management REST call on tags. However, the response is just displaying the filtered resources not including "tag".

To Reproduce Steps to reproduce the behavior:

  1. Go to Resources - List. https://docs.microsoft.com/en-us/rest/api/resources/resources/list
  2. Click on 'Try it'
  3. Scroll down to Add the $filter parameter with values tagname eq 'abc' and tagvalue eq '123' . Screenshot1
  4. See the response just show the filtered resource not include specified "tag". Screenshot2

Expected behavior The response should be filtered resources including "tag".

Screenshots

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

marstr commented 6 years ago

Triaged and removing my assignment.

haschdl commented 6 years ago

For reference, link to original question in StackOverflow: https://stackoverflow.com/questions/52111528/how-to-filter-azure-resource-management-rest-call-on-tags

@marstr thanks for looking into the issue. Could you help me to understand what triaged means, and any ideas about when this could be fixed?

marstr commented 6 years ago

Howdy @haschdl,

This repository is a landing spot for about 100 teams at Microsoft. My team curates the repository and the issues deposited here, but doesn't have the capacity to change server-side behavior. By labeling it as related to ARM, we have some automation that will add this issue to the service team's internal bug-tracker.

KalyanChanumolu-MSFT commented 5 years ago

Any updates on this issue? We need to make a separate call again for getting the tags for several resources. Any ETA on this one?

KalyanChanumolu-MSFT commented 5 years ago

Without oData filter

image

With oData filter

image

tim-nguyen-cs commented 3 years ago

Hi all - we are actively working on a solution set to rollout shortly. In the meantime, our REST API documentation has been updated to specify that resource tags are not returned when querying by tags themselves - thanks!

KalyanChanumolu-MSFT commented 3 years ago

@tim-nguyen-cs Is there an open work item we can follow to get updates when this is fixed?

tim-nguyen-cs commented 3 years ago

Hi @KalyanChanumolu-MSFT - I can re-open this issue intermittingly and update you when this change has been rolled out and is successful.