Target

Get

get

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
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

post

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
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

Delete

delete

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
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?