getEnvironment

Back to index

Summary

Retrieves an environment by name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentName
Stringrequired
The name of the environment.

Usage

Perl

$cmdr->getEnvironment( "test-projectName", # projectName "test-environmentName" # environmentName );

ectool

ectool getEnvironment \ "test-projectName" `# projectName` \ "test-environmentName" `# environmentName`

Examples

Perl

$cmdr->getEnvironment("Default", "Test Server");

ectool

ectool getEnvironment "Default" "Test Server"