Custom Host
Retrieve a list of Azure Virtual Desktop Custom Hosts not in Host Pools.
Query parameters
providerIdinteger · int32Optional
The Provider ID for which to retrieve the list of Azure Virtual Desktop Custom Hosts.
Responses
200
Success
application/json; api-version=1.0
400
Bad Request
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
get
GET /api/AVD/CustomHost HTTP/1.1
Host:
Accept: */*
[
{
"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"
}
]
Last updated
Was this helpful?