createTierMapping

On this page
Back to index

Summary

Creates a tier mapping in the specified tier map for the application.
projectName
Stringrequired
The name for the project that must be unique among all projects.
applicationName
Stringoptional
The name of the application.
tierMapName
Stringoptional
The name of the tier map.
applicationEntityRevisionId
Stringoptional
The revision ID of the versioned object.
applicationTierName
Stringoptional
Name of the application tier.
environmentName
Stringoptional
The name of the environment.
environmentProjectName
Stringoptional
The name of the environment's project name.
environmentTierName
Stringoptional
Name of the environment tier.
resourceExpression
Stringoptional
Resource expression to pick up resources from the environment tier.
tierMappingName
Stringoptional
The 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 */ )