modifyTierMap

On this page
Back to index

Summary

Modifies an existing tier map.
projectName
Stringrequired
The name for the project that must be unique among all projects.
applicationName
Stringrequired
The name of the application.
tierMapName
Stringoptional
The name of the tier map. If not specified the operation will assume a hyphenated application and environment name.
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.
newName
Stringoptional
The new name for an existing object that is being renamed.
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.modifyTierMap( projectName: "test-projectName", applicationName: "test-applicationName", environmentName: "test-environmentName", environmentProjectName: "test-environmentProjectName" /* optional arguments */ )