modifyTierMap

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.
environmentProjectName
Stringrequired
The name of the environment's project name.
environmentName
Stringrequired
The name of the environment.
applicationEntityRevisionId
UUIDoptional
The revision ID of the versioned object.
newName
Stringoptional
The new name for an existing object that is being renamed.
tierMapName
Stringoptional
The name of the tier map. If not specified the operation will assume a hyphenated application and environment name.
tierMapping
Arrayoptional
The list of mappings between the application tiers and the environment tiers.

Usage

Perl

$cmdr->modifyTierMap( "test-projectName", # projectName "test-applicationName", # applicationName "test-environmentProjectName", # environmentProjectName "test-environmentName" # environmentName # optionals );

ectool

ectool modifyTierMap \ "test-projectName" `# projectName` \ "test-applicationName" `# applicationName` \ "test-environmentProjectName" `# environmentProjectName` \ "test-environmentName" `# environmentName` \ # optionals

Examples

Perl

$cmdr->modifyTierMap("Default", "Deploy", "Utilities", "Web Server", tierMappings => [{applicationTier => "AppTier1", environmentTier => "EnvTier1"}, {applicationTier => "AppTier2", environmentTier => "EnvTier2"}], tierMapName => "TierMap1"});

ectool

ectool modifyTierMap "Default" "Deploy" "Utilities" "Web Server" --tierMapName TierMap1 --tierMapping AppTier1=EnvTier1 AppTier2=EnvTier2