addResourcesToEnvironmentTier

Back to index

Summary

Adds resources to the specified environment tier.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentName
Stringrequired
The name of the environment.
environmentTierName
Stringrequired
Name for the environment tier; must be unique among all tiers for the environment.
resourceName
Arrayoptional
List of resources to add to the environment tier.
resourcePhaseMapping
Arrayoptional
A map of resource and rolling deploy phase.

Usage

Perl

$cmdr->addResourcesToEnvironmentTier( "test-projectName", # projectName "test-environmentName", # environmentName "test-environmentTierName" # environmentTierName # optionals );

ectool

ectool addResourcesToEnvironmentTier \ "test-projectName" `# projectName` \ "test-environmentName" `# environmentName` \ "test-environmentTierName" `# environmentTierName` \ # optionals

Examples

Perl

$cmdr->addResourcesToEnvironmentTier("Default", "QA", "Tomcat", {resourceNames => "local"});

ectool

ectool addResourcesToEnvironmentTier "Default" "QA" "Tomcat" --resourceNames "local"