provisionResourcePool

On this page
Back to index

Summary

Provisions a resource pool.
projectName
Stringrequired
The name for the project that must be unique among all projects.
resourceCount
Stringrequired
Number of resources to provision.
resourcePoolName
Stringrequired
Name for the resource pool.
resourceTemplateName
Stringrequired
Name for the resource template; must be unique among all resource templates.
keepOnError
Booleanoptional
True to keep resource pool on error (default is false).

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.provisionResourcePool( projectName: "test-projectName", resourceCount: "test-resourceCount", resourcePoolName: "test-resourcePoolName", resourceTemplateName: "test-resourceTemplateName" /* optional arguments */ )