Back to index
Summary
Modifies an existing resource pool.resourcePoolNameStringrequiredName for the resource pool; must be unique among all resource pools. autoDeleteBooleanoptionalIf true, the pool is deleted when the last resource is deleted. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. newNameStringoptionalThe new name for an existing object that is being renamed. orderingFilterStringoptionalJavaScript fragment that returns custom ordering of resources in a pool. resourceNamesArray<Unknown>optionalList of resources to add/remove from the pool. resourcePoolDisabledBooleanoptionalTrue means the resourcePool will not be allocated to job steps. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyResourcePool( resourcePoolName: "test-resourcePoolName" /* optional arguments */ )