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. resourceNamesArray<Unknown>optionalList 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
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createEnvironmentTemplateTier( projectName: "test-projectName", environmentTemplateName: "test-environmentTemplateName", environmentTemplateTierName: "test-environmentTemplateTierName" /* optional arguments */ )