Search for a VM with input name
What's the best way to search for a VM:
- with exact name match (aka is only a hit for aka)
- with "contains" in name input search string (aka is a hit for both maka and caka)
- with a "tag" (filter the VMs with the tag, wow=1)
Going through each VM and doing a comparison is super slow. Is there a better find or search API interface with input name?
@anuchandy Any pointers?
@anuchandy Is this possible or not supported today? Thanks!
I checked this and fast lookup is not supported today by compute service. Only option is to enumerate the VM resources and look for the matching name.
Ok, thanks! It will be nice to add this as a feature request.
Azure UI provides filtering option and it has to be some sort of index/search feature in the backend.
@puneet101 we'll enable this in SDK when compute service expose an API to look-up using various filters.
I checked this and fast lookup is not supported today by compute service. Only option is to enumerate the VM resources and look for the matching name.
@anuchandy We are having trouble with this. The calls are timing out if the list has more than 50 VMs.
Cleaning up old issues from 2016 - 2018. Please let us know if this issue is still a concern.