Back to index
Summary
Modifies an environment tier.projectNameStringrequiredThe name for the project that must be unique among all projects. environmentNameStringrequiredThe name of the environment. environmentTierNameStringrequiredName for the environment tier; must be unique among all tiers for the environment. batchSizeStringoptionalThe size of the batch supported by the environment tier. batchSizeTypeStringoptionalThe type of batch size supported by the environment tier. Possible values: "count" , "percentage" 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. resourceNamesArray<Unknown>optionalList of resources to add to the environment tier. resourcePoolNamesArray<Unknown>optionalList of resource pools to add to the environment tier. resourcePoolPhaseMappingsArray<ResourcePoolPhaseMapping>optionalA map of resource pool and rolling deploy phase. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyEnvironmentTier( projectName: "test-projectName", environmentName: "test-environmentName", environmentTierName: "test-environmentTierName" /* optional arguments */ )