tearDownEnvironment

On this page
Back to index

Summary

Used to get rid of an environment that is no longer needed, and tear down associated dynamic resources.
projectName
Stringrequired
Name for the project containing the environment.
environmentName
Stringrequired
The name of the environment.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.tearDownEnvironment( projectName: "test-projectName", environmentName: "test-environmentName" )