Back to index
Summary
Creates a resource template.projectNameStringrequiredThe name for the project that must be unique among all projects. resourceTemplateNameStringrequiredName for the resource template; must be unique among all resource templates. cfgMgrPluginKeyStringoptionalConfiguration manager plugin key. cfgMgrProcedureStringoptionalConfiguration manager plugin method name. cfgMgrProjectNameStringoptionalConfiguration manager plugin project name. cloudProviderPluginKeyStringoptionalCloud provider plugin key. cloudProviderProcedureStringoptionalCloud provider plugin method name. cloudProviderProjectNameStringoptionalCloud provider plugin project name. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createResourceTemplate( projectName: "test-projectName", resourceTemplateName: "test-resourceTemplateName" /* optional arguments */ )