Back to index
Summary
Provisions an environment.requestStringrequiredThis parameter and the value displayed are required; request=provisionEnvironment must appear in your query string.environmentNameStringrequiredThe name of the environment. environmentTemplateNameStringrequiredThe name of the environment template. projectNameStringrequiredThe name for the project that must be unique among all projects. environmentTemplateProjectNameStringoptionalName for the project containing environment template. keepOnErrorBooleanoptionalTear down on error flag. tierResourceCountsStringoptionalResource count per environment template tier. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.provisionEnvironment( request: "test-request", environmentName: "test-environmentName", environmentTemplateName: "test-environmentTemplateName", projectName: "test-projectName" /* optional arguments */ )