modifyEnvTemplTierResourceTemplMapping

Back to index

Summary

Modifies the resource count in an environment template tier.
resourceCount
Stringrequired
The number of resources to be spun from a given resource template.
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.
resourceTemplateProjectName
Stringoptional
Name for the project to which the resource template belongs to.

Usage

Perl

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

ectool

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

Examples

Perl

$cmdr->modifyEnvTemplTierResourceTemplMapping(5, "Servers", "Default", Dev1", "Database", {resourceTemplateProjectName =>"Utilities" });

ectool

ectool modifyEnvTemplTierResourceTemplMapping 5 "Servers" "default" Dev1" "Database" --resourceTemplateProjectName "Utilities"