addResourceTemplateToEnvironmentTemplateTier

Back to index

Summary

Adds a resource template to the specified environment template tier.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentTemplateName
Stringrequired
The name of the environment template.
resourceTemplateName
Stringrequired
Name for the resource template; must be unique among all resource templates.
environmentTemplateTierName
Stringrequired
Name for the environment template tier; must be unique among all tiers for the environment template.
resourceCount
Integeroptional
The number of resources to be spun from a given resource template.
resourceTemplateProjectName
Stringoptional
Name for the project to which the resource template belongs to.

Usage

Perl

$cmdr->addResourceTemplateToEnvironmentTemplateTier( "test-projectName", # projectName "test-environmentTemplateName", # environmentTemplateName "test-resourceTemplateName", # resourceTemplateName "test-environmentTemplateTierName" # environmentTemplateTierName # optionals );

ectool

ectool addResourceTemplateToEnvironmentTemplateTier \ "test-projectName" `# projectName` \ "test-environmentTemplateName" `# environmentTemplateName` \ "test-resourceTemplateName" `# resourceTemplateName` \ "test-environmentTemplateTierName" `# environmentTemplateTierName` \ # optionals

Examples

Perl

$cmdr->addResourceTemplateToEnvironmentTemplateTier("Default", "Production", "Test station", "WebServer", {resourceCount => 4});

ectool

ectool addResourceTemplateToEnvironmentTemplateTier "default" "Production" "Test station" "WebServer" --resourceCount 4