modifyResourceTemplate

Back to index

Summary

Modifies the specified 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.
newName
Stringoptional
The new name for an existing object that is being renamed.

Usage

Perl

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

ectool

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

Examples

Perl

$cmdr->modifyResourceTemplate("Default", "System Test", {newName => "System Test 1"});

ectool

ectool modifyResourceTemplate "Default" "System Test" --newName "System Test 1"