Back to index
Summary
Creates an environment-template tier map for an application.projectNameStringrequiredThe name for the project that must be unique among all projects. applicationNameStringrequiredThe name of the application. environmentProjectNameStringrequiredThe name of the environment's project name. environmentTemplateNameStringrequiredThe name of the environment template. applicationEntityRevisionIdStringoptionalThe revision ID of the versioned object. tierMapNameStringoptionalThe name of the environment template tier map. If not specified the operation will assume a hyphenated application and environment name. tierMappingsArray<TierMapping>optionalThe list of mappings between the application tiers and the environment template tiers. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createEnvironmentTemplateTierMap( projectName: "test-projectName", applicationName: "test-applicationName", environmentProjectName: "test-environmentProjectName", environmentTemplateName: "test-environmentTemplateName" /* optional arguments */ )