Back to index
Summary
Creates a tier in an environment template.projectNameStringrequiredThe name for the project that must be unique among all projects. environmentTemplateNameStringrequiredThe name of the environment template. environmentTemplateTierNameStringrequiredName for the environment template tier; must be unique among all tiers for the environment template. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. resourceCountIntegeroptionalThe number of resources to be spun from a given resource template. resourceNameArrayoptionalList of resources to add to the environment tier. resourceTemplateNameStringoptionalName for the resource template; must be unique among all resource templates. resourceTemplateProjectNameStringoptionalName 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