When I call the rest api by using command:
armclient get "/subscriptions/<subscriptionId>/resources?$top=2&api-version=2018-05-01&$filter=resourceType eq 'Microsoft.Compute/virtualMachines'"
gets a full list unfiltered, which is not the result I expected.
Expected result should be a response with 2 entries of filtered resources and a string called nextLink referring to a url that I can get next 2 entries of the results.
Thanks in advance.