createTierMap

On this page
Back to index

Summary

Creates a 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.
environmentName
Stringrequired
The name of the environment.
environmentProjectName
Stringrequired
The name of the environment's project name.
applicationEntityRevisionId
Stringoptional
The revision ID of the versioned object.
tierMapName
Stringoptional
The name of the 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 tiers.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createTierMap( projectName: "test-projectName", applicationName: "test-applicationName", environmentName: "test-environmentName", environmentProjectName: "test-environmentProjectName" /* optional arguments */ )