getSnapshotEnvironments

On this page
Back to index

Summary

Retrieves a list of environments deployed in the specified snapshot.
projectName
Stringrequired
The name for the project that must be unique among all projects.
applicationName
Stringoptional
The name of application from which the snapshot should be created.
snapshotName
Stringrequired
Name of the snapshot; must be unique within the snapshot container.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getSnapshotEnvironments( projectName: "test-projectName", snapshotName: "test-snapshotName" /* optional arguments */ )