This PR adds the list_by_location method to the VirtualMachineService model.
Normally the Azure REST API does not allow you to filter by location. They did add a separate method that filters by location, but it only seems to apply to VM's. It's not (yet) a general method for all resources.
This PR adds the
list_by_location
method to the VirtualMachineService model.Normally the Azure REST API does not allow you to filter by location. They did add a separate method that filters by location, but it only seems to apply to VM's. It's not (yet) a general method for all resources.
https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/listbylocation
This could help in the Azure provider repo where we currently have to pull all VM's and then filter after the fact.