[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

Create Application Package

Description

Creates a new application if not present, AppVersion and creates a app studio session belonging to the org from the authentication context.Application Packaging workflow(aka Cloud Native Capture) is implemented as a seamless solution in Horizon Cloud Service on Azure V1 that allows a Customer Admin to provision App Volumes Application Packages within the same Admin Console(Astro UI) that is later used to view the application inventory and assign applications to users, for delivery on their VDI/WVD desktops, thereby allowing customer admins to manage the entire lifecycle of an application from provision to retire/delete within the single Admin Console

Request

Request

URL

URL


post
https://cloud.vmwarehorizon.com/av-appies/v1/create-app-package
Copy

Request Body

Request Body

DataRequestDtoOfApplicationPackageDto of mimetype application/json Required

Request Body for creating Application Package Capture

{
	"data": {
		"applicationDescription": "Application for Notepad++",
		"applicationId": "3c48add3-6129-43c4-8e7b-26b192475dde",
		"applicationName": "Notepad++",
		"createdAt": "2022-07-11T07:44:49.619+00:00",
		"id": "e7421121-d052-4fd9-861f-7ce57246134e",
		"location": "US",
		"orgId": "e7421121-d052-4fd9-861f-7ce57246134e",
		"ownerId": "3c48add3-6129-43c4-8e7b-26b192475dde",
		"packageInfrastructure": {
			"activeDirectoryId": "627937bfdc75be5d6f96a8bd",
			"deliveryMode": "ONDEMAND",
			"edgeDeploymentId": "63be5420e2f0db03a3fc1f52",
			"imageId": "625fe51bfdac3b4a3b3effbb",
			"imageReference": {
				"streamId": "625fe51bfdac3b4a3b3effbb",
				"versionId": "625fe51bfdac3b4a3b3effbc"
			},
			"packageDescription": "Notepadd++ packaged for windows",
			"packageName": "Notepadd++ v19.2",
			"packagerId": "22f6e662-f136-11ec-8ea0-0242ac120002",
			"packagerName": "testuser1@avtest.azure.vmwav.net",
			"providerInstanceId": "62cbc397a6d6c400cfb44765",
			"vmSkuId": "Standard_A1_v2"
		},
		"updatedAt": "2022-07-11T07:44:49.619+00:00"
	}
}
data Optional

Schema Representation of request for creating Application Package Capture

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

202 Accepted

Returns ApplicationDto of type */*
{
    "createdAt": "2022-07-11T07:44:49.619+00:00",
    "description": "This is MS Office application",
    "id": "e7421121-d052-4fd9-861f-7ce57246134e",
    "location": "US",
    "name": "MS Office",
    "orgId": "e7421121-d052-4fd9-861f-7ce57246134e",
    "updatedAt": "2022-07-11T07:44:49.619+00:00"
}
array of AppVersionDto
appVersions Optional

Schema Representation for AppVersion. AppVersion is the particular version of software installed/captured in a given capture session. As part of the Cloud native capture only one AppVersion can be part of a Package. AppVersion was called in the past as “App Bundle” in the 3.x terminology. This is uniquely identified by a uuid which is generated during the capture session. With application package merge, it is possible to have the same AppVersion in multiple packages and also that single Package can have more than one AppVersion contained in it. Eg: “Microsoft Office 2013 sp1” can be the application version which can be captured under a virtual application named “Microsoft Office”, and this version can reside on a package “Microsoft_Office_2013_SP1_Clean.vhd”


string
createdAt Optional

This represents the timestamp at which the object was created


string
description Optional

Any Description for the application


string
id Optional

This represents the unique Id of the Object


string
location Optional

This represents the location


string
name Optional

Name of the application


string
orgId Optional

This represents the organization Id


string
ownerId Optional

Azure AD Object guid of the Owner


string
status Optional

Possible values are: DELETE_FAILEDPENDING_DELETE


string
updatedAt Optional

This represents the latest timestamp at which the object was updated

Errors

Errors

ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden


ErrorResponse
404

Not Found

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"data":{"applicationDescription":"Application for Notepad++","applicationId":"3c48add3-6129-43c4-8e7b-26b192475dde","applicationName":"Notepad++","createdAt":"2022-07-11T07:44:49.619+00:00","id":"e7421121-d052-4fd9-861f-7ce57246134e","location":"US","orgId":"e7421121-d052-4fd9-861f-7ce57246134e","ownerId":"3c48add3-6129-43c4-8e7b-26b192475dde","packageInfrastructure":{"activeDirectoryId":"627937bfdc75be5d6f96a8bd","deliveryMode":"ONDEMAND","edgeDeploymentId":"63be5420e2f0db03a3fc1f52","imageId":"625fe51bfdac3b4a3b3effbb","imageReference":{"streamId":"625fe51bfdac3b4a3b3effbb","versionId":"625fe51bfdac3b4a3b3effbc"},"packageDescription":"Notepadd++ packaged for windows","packageName":"Notepadd++ v19.2","packagerId":"22f6e662-f136-11ec-8ea0-0242ac120002","packagerName":"testuser1@avtest.azure.vmwav.net","providerInstanceId":"62cbc397a6d6c400cfb44765","vmSkuId":"Standard_A1_v2"},"updatedAt":"2022-07-11T07:44:49.619+00:00"}}' https://cloud.vmwarehorizon.com/av-appies/v1/create-app-package
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: applicationPackageDtoDataRequestDto


Feedback

Was this page helpful?