addResourcePoolToEnvironmentTier

Back to index

Summary

Adds a resource pool to a specific environment tier. A resource pool is a named group of resources.
resourcePoolName
Stringrequired
Name for the resource pool; must be unique among all resource pools.
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.
rollingDeployPhaseName
Stringoptional
Name for the rolling deploy phase to be associated with the resource pool.

Usage

Perl

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

ectool

ectool addResourcePoolToEnvironmentTier \ "test-resourcePoolName" `# resourcePoolName` \ "test-projectName" `# projectName` \ "test-environmentName" `# environmentName` \ "test-environmentTierName" `# environmentTierName` \ # optionals

Examples

Perl

$cmdr->addResourcePoolToEnvironmentTier("pool1", "Default", "Production", "Web Server", {rollingDeployPhaseName => "Blue PROD"});

ectool

ectool addResourcePoolToEnvironmentTier "pool1" "Default" "Production" "Web Server" --rollingDeployPhaseName "Blue PROD"