Back to index
Summary
Modifies all environment template tiers in the specified 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. newNameStringoptionalThe new name for an existing object that is being renamed. 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.modifyEnvironmentTemplateTier( projectName: "test-projectName", environmentTemplateName: "test-environmentTemplateName", environmentTemplateTierName: "test-environmentTemplateTierName" /* optional arguments */ )