modifyEnvironmentTemplateTier

Back to index

Summary

Modifies all environment template tiers in the specified 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.
newName
Stringoptional
The new name for an existing object that is being renamed.
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->modifyEnvironmentTemplateTier( "test-projectName", # projectName "test-environmentTemplateName", # environmentTemplateName "test-environmentTemplateTierName" # environmentTemplateTierName # optionals );

ectool

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

Examples

Perl

$cmdr->modifyEnvironmentTemplateTier("Default", "QA test", "Database");

ectool

ectool modifyEnvironmentTemplateTier "Default" "QA test" "Database"