modifyResourceTemplate

On this page
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.
cfgMgrParameters
Array<CfgMgrParameter>optional
Configuration manager plugin parameters.
cfgMgrPluginKey
Stringoptional
Configuration manager plugin key.
cfgMgrProcedure
Stringoptional
Configuration manager plugin method name.
cfgMgrProjectName
Stringoptional
Configuration manager plugin project name.
cloudProviderParameters
Array<CloudProviderParameter>optional
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

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyResourceTemplate( projectName: "test-projectName", resourceTemplateName: "test-resourceTemplateName" /* optional arguments */ )