Azure REST API location filter

Viewed 1636

I am trying to GET filtered responses from Azure RM using the REST API . The Type filter is working , But When I try to get with Location filter , it always imposes as a wrong query filter .

For example , I need to get Virtual Networks from Location 'ukwest' I am giving the following REST API link , it never works .

https://management.azure.com/subscriptions/subscription_ID/providers/Microsoft.Network/virtualnetworks?$filter=location%20eq%20'ukwest'&api-version=2017-06-01

But according to this type filter works , Azure REST API - query parameters for getting all the virtual machine

I did not find any document Related to this in Azure , It would be nice if I get some spark here.

1 Answers
Related