Target
Get a list of the schedule setting's target ids.
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
Responseinteger · int32[]
401
Unauthorized
application/json; api-version=1.0
409
Conflict
application/json; api-version=1.0
get
GET /api/AVD/HostPool/Schedule/{id}/Target HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 2
{}
[
1
]
Add a Schedule target setting.
Path parameters
Idinteger · int32Required
The ID of the Schedule setting to modify.
Body
targetIDinteger · int32Required
The target RD Session Host server or server group Ids depending on the TargetType parameter.
Responses
201
Created
401
Unauthorized
application/json; api-version=1.0
409
Conflict
application/json; api-version=1.0
post
POST /api/AVD/HostPool/Schedule/{id}/Target HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 14
{
"targetID": 1
}
No content
Remove a Schedule target setting.
Path parameters
Idinteger · int32Required
The ID of the Schedule setting to modify.
Body
targetIDinteger · int32Required
The target RD Session Host server or server group Ids depending on the TargetType parameter.
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
delete
DELETE /api/AVD/HostPool/Schedule/{id}/Target HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 14
{
"targetID": 1
}
No content
Was this helpful?