Create Template

Creates a new Template under the tenant. However the script will be accessible based on its scope. Global Templates - All user will have access to CoreStack's Marketplace Templates (Can view and execute). Account - All users under that account will have access (Can view and execute). Only Account admins can update/delete. Tenant - Users with access to the specific tenant will have access template (Can view and execute). Tenant admins can update/delete. Private - User who created will only have access.

Path Params
string
required

Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.

Body Params
string
required

template name which is unique and does not allow special character or space

string

Usage of the template.

string
required

The template content

metadata
object
string

Status of the template [active/inactive]. active:- Templates which can be executed. inactive:- Template which cannot be executed

classification
array of strings
required

Templates are classified based orchestration actions like Provision, Configure, Backup, Catalog Builder, Deployment, Autoscaling

classification*
string
enum

The scope of the template: Account scope - All users under that account will have access to view and execute Only Account admins can update/delete the templates, Tenant Scope - Users with access to the specific tenant will have access to templates who can describe or execute templates. Tenant admins can only update/delete. Private Scope - User who created will only have access

Allowed:
type
array of strings
required

Type of the template (Cloud, Monitoring, Virtualization)

type*
services
array of strings
required

Displays the service associated with the template, for example, AWS, AzureRM, Openstack., etc

services*
string
enum
required

Template formats such as AWS CFN, Azure ARM, Openstack Heat and Mistral

Allowed:
boolean

Flag to add template to blueprints

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json