Back to index
Summary
Modifies a 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. newNameStringoptionalThe new name for an existing object that is being renamed. 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.modifyUtilityResource( projectName: "test-projectName", utilityResourceName: "test-utilityResourceName" /* optional arguments */ )