Templated
Creates Azure Virtual Desktop Hosts from a Templated Azure Virtual Desktop Host Pool.
Query parameters
siteIdinteger · int32Optional
Site ID for which to create the Azure Virtual Desktop Host (optional)
Body
hostPoolIdinteger · int32Required
Host Pool Id of the AVD Host.
numberOfHostsinteger · int32Required
Number of Hosts to create from template.
Responses
204
No Content
400
Bad Request
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
post
POST /api/Provider/VM/AVDHost/Templated HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 34
{
"hostPoolId": 1,
"numberOfHosts": 1
}
No content
Removes Azure Virtual Desktop Hosts from a Templated Azure Virtual Desktop Host Pool.
Path parameters
providerIdinteger · int32Required
The Templated Azure Virtual Desktop Host Pool ID from which to remove the Azure Virtual Desktop Hosts.
idstringRequired
The ID of the target host VM.
Query parameters
siteIdinteger · int32Optional
Site ID for which to remove the Azure Virtual Desktop Host (optional)
Responses
204
No Content
400
Bad Request
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
delete
DELETE /api/Provider/{providerId}/VM/{id}/AVDHost/Templated HTTP/1.1
Host:
Accept: */*
No content
Was this helpful?