createEnvironmentTemplateTierMap

On this page
Back to index

Summary

Creates an environment-template tier map for an application.
projectName
Stringrequired
The name for the project that must be unique among all projects.
applicationName
Stringrequired
The name of the application.
environmentProjectName
Stringrequired
The name of the environment's project name.
environmentTemplateName
Stringrequired
The name of the environment template.
applicationEntityRevisionId
Stringoptional
The revision ID of the versioned object.
tierMapName
Stringoptional
The name of the environment template tier map. If not specified the operation will assume a hyphenated application and environment name.
tierMappings
Array<TierMapping>optional
The 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 */ )