Target
Get a list of the schedule setting's target native hosts.
Path parameters
Idinteger · int32Required
The ID of the Schedule setting for which to retrieve the target settings.
Body
objectOptional
Responses
200
Success
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get
GET /api/Provider/VM/AVDHost/Schedule/{id}/Target HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 2
{}
[
{
"poolId": 1,
"guid": "text",
"guestName": "text",
"hostAzureID": "text"
}
]
Add a Schedule target setting.
Path parameters
Idinteger · int32Required
The ID of the Schedule setting to modify.
Body
poolIdinteger · int32Required
Pool Id
guidstring | nullableOptional
GUID
guestNamestring | nullableOptional
Guest Name
hostAzureIDstring | nullableOptional
Host Azure ID
Responses
201
Created
401
Unauthorized
application/json; api-version=1.0
409
Conflict
application/json; api-version=1.0
post
POST /api/Provider/VM/AVDHost/Schedule/{id}/Target HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 66
{
"poolId": 1,
"guid": "text",
"guestName": "text",
"hostAzureID": "text"
}
No content
Remove a Schedule target setting.
Path parameters
Idinteger · int32Required
The ID of a Schedule setting to remove.
Body
poolIdinteger · int32Required
Pool Id
guidstring | nullableOptional
GUID
guestNamestring | nullableOptional
Guest Name
hostAzureIDstring | nullableOptional
Host Azure ID
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
delete
DELETE /api/Provider/VM/AVDHost/Schedule/{id}/Target HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 66
{
"poolId": 1,
"guid": "text",
"guestName": "text",
"hostAzureID": "text"
}
No content
Was this helpful?