AppPackageAssigned

Get

get

Retrieve the setting of the assigned application package.

Path parameters
idinteger · int32Required

Retrieve the assigned application package by ID.

Responses
200
Success
application/json; api-version=1.0
get
GET /api/VDI/HostPool/{id}/AppPackageAssigned HTTP/1.1
Host: 
Accept: */*
[
  {
    "version": "text",
    "tagName": "text",
    "tagId": 1,
    "packageName": "text"
  }
]

Add

post

Add an assigned application package.

Path parameters
idinteger · int32Required

The ID for which to add the assigned application package.

Body
packageNamestring | nullableRequired

The application package name. This must be the actual application package name used in the RAS farm.

versionstring | nullableRequired

The version of the application package. This must be the actual application package version used in the RAS farm.

Responses
201
Created
post
POST /api/VDI/HostPool/{id}/AppPackageAssigned HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 39

{
  "packageName": "text",
  "version": "text"
}

No content

Update

put

Update the assigned application package settings with the specified ID.

Path parameters
idinteger · int32Required

The ID for which to modify the assigned application package setting.

Body
packageNamestring | nullableRequired

The name of the application package for which to change the version. This must be the actual application package name used in the RAS farm.

versionstring | nullableRequired

The new version of the application package. This must be the actual application package version used in the RAS farm.

Responses
204
No Content
put
PUT /api/VDI/HostPool/{id}/AppPackageAssigned HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 39

{
  "packageName": "text",
  "version": "text"
}

No content

Delete

delete

Remove the assigned application package.

Path parameters
idinteger · int32Required

ID for which to remove the assigned application package.

Body
packageNamestring | nullableRequired

The name of the application package for which to remove the assigned packaged application. This must be the actual application package name used in the RAS farm.

Responses
204
No Content
delete
DELETE /api/VDI/HostPool/{id}/AppPackageAssigned HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 22

{
  "packageName": "text"
}

No content

Was this helpful?