Back to index
Summary
Retrieves a snapshot by name.projectNameStringrequiredThe name for the project that must be unique among all projects. applicationNameStringoptionalThe name of application from which the snapshot should be created. snapshotNameStringrequiredName 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.getSnapshot( projectName: "test-projectName", snapshotName: "test-snapshotName" /* optional arguments */ )