Last updated 9 months ago
Social media
Other Resources
© 2024 Parallels International GmbH. All rights reserved.
Retrieve a list of Azure Virtual Desktop Custom Hosts not in Host Pools.
Success
Host
Host Pool
Host OS
Power State
Resource Group
Location
Virtual Network
Provider Id
Azure Id
const response = await fetch('/api/AVD/CustomHost', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "host": "text", "hostPool": "text", "hostOS": "text", "hostState": [ "0 = Unknown", "1 = PoweringOn", "2 = PoweringOff", "3 = PoweredOn", "4 = PoweredOff" ], "resourceGroup": "text", "location": "text", "virtualNetwork": "text", "providerId": 0, "azureId": "text" } ]