createEnvironmentTemplateTier

Back to index

Summary

Creates a tier in an environment template.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentTemplateName
Stringrequired
The name of the environment template.
environmentTemplateTierName
Stringrequired
Name for the environment template tier; must be unique among all tiers for the environment template.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
resourceCount
Integeroptional
The number of resources to be spun from a given resource template.
resourceName
Arrayoptional
List of resources to add to the environment tier.
resourceTemplateName
Stringoptional
Name for the resource template; must be unique among all resource templates.
resourceTemplateProjectName
Stringoptional
Name for the project to which the resource template belongs to.

Usage

Perl

$cmdr->createEnvironmentTemplateTier( "test-projectName", # projectName "test-environmentTemplateName", # environmentTemplateName "test-environmentTemplateTierName" # environmentTemplateTierName # optionals );

ectool

ectool createEnvironmentTemplateTier \ "test-projectName" `# projectName` \ "test-environmentTemplateName" `# environmentTemplateName` \ "test-environmentTemplateTierName" `# environmentTemplateTierName` \ # optionals

Examples

Perl

$cmdr->createEnvironmentTemplateTier("Default", "PROD Server", "Web Services");

ectool

ectool createEnvironmentTemplateTier "Default" "PROD Server" "Web Services"