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. resourceNameArrayoptionalList of resources to add/remove from the pool. resourcePoolDisabledBooleanoptionalTrue means the resourcePool will not be allocated to job steps. |
Usage
Perl
$cmdr->modifyResourcePool( "test-resourcePoolName" # resourcePoolName # optionals );
ectool
ectool modifyResourcePool \ "test-resourcePoolName" `# resourcePoolName` \ # optionals