Back to index
Summary
Creates a tier mapping in the specified tier map for the application.projectNameStringrequiredThe name for the project that must be unique among all projects. applicationNameStringoptionalThe name of the application. tierMapNameStringoptionalThe name of the tier map. applicationEntityRevisionIdStringoptionalThe revision ID of the versioned object. applicationTierNameStringoptionalName of the application tier. environmentNameStringoptionalThe name of the environment. environmentProjectNameStringoptionalThe name of the environment's project name. environmentTierNameStringoptionalName of the environment tier. resourceExpressionStringoptionalResource expression to pick up resources from the environment tier. tierMappingNameStringoptionalThe name of the tierMapping. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createTierMapping( projectName: "test-projectName" /* optional arguments */ )