provisionEnvironment

On this page
Back to index

Summary

Provisions an environment.
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
Array<TierResourceCount>optional
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( environmentName: "test-environmentName", environmentTemplateName: "test-environmentTemplateName", projectName: "test-projectName" /* optional arguments */ )