Back to index
Summary
Retrieves an environment reservation by its name.projectNameStringrequiredThe name for the project that must be unique among all projects. reservationNameStringrequiredThe name of the environment reservation. beginDateStringoptionalDate of beginning reservation. endDateStringoptionalThe date when reservation event ends. includeTimeslotsBooleanoptionalInclude timeslots in reservation response. timeZoneStringoptionalThe time zone to use when interpreting times. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getReservation( projectName: "test-projectName", reservationName: "test-reservationName" /* optional arguments */ )