Hi @christopherlecky
Thanks for the question, I’ll do some research internally to see if there’s a specific API call to refresh or discover VMs, but in the meantime, please check if this helps:
REST API - GET Datastore Browse
This operation browses datastores.
requestType | The type of browse to perform. The value used for requestType affects the values used for the entityName parameter. See the description for entityName for details. Valid values are: -
DEFAULT -
MOUNTSNAP -
INVENTORY -
DATASTORES_ON_HOST -
RESOURCE_POOLS_ON_HOST -
FILES_ON_DATASTORE -
NETWORKS_ON_HOST
|
This doesn’t explicitly mention that a discovery will take place, but potentially by querying requestType=INVENTORY or DATASTORES_ON_HOST that might achieve the same outcome.
Let me know if this helps.
Thanks,
Stuart