provisionEnvironment

On this page
Back to index

Summary

Provisions an environment.
request
Stringrequired
This parameter and the value displayed are required; request=provisionEnvironment must appear in your query string.
environmentName
Stringrequired
The name of the environment.
environmentTemplateName
Stringrequired
The name of the environment template.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentTemplateProjectName
Stringoptional
Name for the project containing environment template.
keepOnError
Booleanoptional
Tear down on error flag.
tierResourceCounts
Stringoptional
Resource 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 */ )