Create App Template

Create App Template

Creates a new AppTemplate in the provided catalog.

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/appTemplates
COPY
Request Body
AppTemplate of type(s) application/json
Optional
{
    "appType": "string",
    "id": "string",
    "appId": "string",
    "catalogContentSource": {
        "name": "string",
        "id": "string"
    },
    "name": "string",
    "description": "string",
    "creationDate": "string",
    "lastUpdateDate": "string",
    "status": "READY, FAILED, NOT_READY",
    "logoUrl": "string",
    "screenshotUrls": [
        "string"
    ],
    "eulaAccepted": false,
    "owner": {
        "name": "string",
        "id": "string"
    },
    "catalog": {
        "name": "string",
        "id": "string"
    },
    "org": {
        "name": "string",
        "id": "string"
    },
    "lastUpdatedSiteId": "string",
    "lastUpdatedSiteName": "string"
}
string
appType
Required

Type of template. This is a discriminator field that helps in distinguishing the type of template this object represents. If the template is an image of a container application, the value of this field is ContainerAppTemplate. If the template is an image of a virtual machine or a collection of virtual machines then the value of this field is VmAppTemplate. If the template is an image of a media item then the value of this field is MediaAppTemplate.

string
id
Optional

A unique identifier for the appTemplate.

string
appId
Required

A unique identifier to globally identify this appTemplate. Items sourced from an external source such as VMware Marketplace have their appId referenced by the unique id in that external source. This means an item sourced from an external source in two different catalogs will still have the same appId.

catalogContentSource
Optional

Entity reference used to describe VCD entities

string
name
Optional

The name of the appTemplate.

string
description
Optional

The description of the appTemplate.

string As date-time As date-time
creationDate
Optional

The date and time when this appTemplate was created. This value will be formatted as per ISO 8601 format and include timezone information.

string As date-time As date-time
lastUpdateDate
Optional

The date and time representing when this appTemplate was last updated. This value will be formatted as per ISO 8601 format and include timezone information.

string
status
Optional

Status indicating whether this appTemplate is ready or not.

string
logoUrl
Optional

URL of the logo of this application.

array of string
screenshotUrls
Optional

List of screenshot URLs of the application.

boolean
eulaAccepted
Optional

Accepts EULA for all the application versions that are part of this AppTemplate. The field is required only if appTemplate is created from VMware Marketplace. For other type of catalog content sources, this field is optional.

owner
Optional

Entity reference used to describe VCD entities

catalog
Optional

Entity reference used to describe VCD entities

org
Optional

Entity reference used to describe VCD entities

string
lastUpdatedSiteId
Optional

ID of the site which last modified this app template. The site is not necessarily a site which was paired via multi-site pairing. It is simply used to identify another VCD instance.

string
lastUpdatedSiteName
Optional

Name of the site which last modified this app template. The site is not necessarily a site which was paired via multi-site pairing. It is simply used to identify another VCD instance.

Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

400

Invalid configuration.

Returns Error of type(s) */*;version=39.0
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace