Was this helpful?
Retrieve a list of Azure Virtual Desktop Custom Hosts not in Host Pools.
The Provider ID for which to retrieve the list of Azure Virtual Desktop Custom Hosts.
curl -L \ --url '/api/AVD/CustomHost'
[ { "host": "text", "hostPool": "text", "hostOS": "text", "hostState": [ "0 = Unknown", "1 = PoweringOn", "2 = PoweringOff", "3 = PoweredOn", "4 = PoweredOff" ], "resourceGroup": "text", "location": "text", "virtualNetwork": "text", "providerId": 1, "azureId": "text" } ]