Back to index
Summary
Creates a new utility resource.projectNameStringrequiredThe name for the project that must be unique among all projects. environmentNameStringoptionalName of parent environment. utilityResourceNameStringrequiredName for utilityResource; must be unique among all utility resources for the environment or environment template. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. environmentTemplateNameStringoptionalName of parent environmentTemplate. resourceNameStringoptionalThe name of the default resource for this utility resource. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createUtilityResource( projectName: "test-projectName", utilityResourceName: "test-utilityResourceName" /* optional arguments */ )