createResourceTemplate

Back to index

Summary

Creates a resource template.
projectName
Stringrequired
The name for the project that must be unique among all projects.
resourceTemplateName
Stringrequired
Name for the resource template; must be unique among all resource templates.
cfgMgrParameter
Arrayoptional
Configuration manager plugin parameters.
cfgMgrPluginKey
Stringoptional
Configuration manager plugin key.
cfgMgrProcedure
Stringoptional
Configuration manager plugin method name.
cfgMgrProjectName
Stringoptional
Configuration manager plugin project name.
cloudProviderParameter
Arrayoptional
Cloud provider plugin parameters.
cloudProviderPluginKey
Stringoptional
Cloud provider plugin key.
cloudProviderProcedure
Stringoptional
Cloud provider plugin method name.
cloudProviderProjectName
Stringoptional
Cloud provider plugin project name.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.

Usage

Perl

$cmdr->createResourceTemplate( "test-projectName", # projectName "test-resourceTemplateName" # resourceTemplateName # optionals );

ectool

ectool createResourceTemplate \ "test-projectName" `# projectName` \ "test-resourceTemplateName" `# resourceTemplateName` \ # optionals

Examples

Perl

$cmdr->createResourceTemplate("Default", "QE testing", {cloudProviderProjectName => "Deploy all"});

ectool

ectool createResourceTemplate "Default" "QE testing" --cloudProviderProjectName "Deploy all"