Back to index
Summary
Creates a new reservation.projectNameStringrequiredThe name for the project that must be unique among all projects. reservationNameStringrequiredThe name of the environment reservation. applicationNameStringoptionalThe name of the application. beginDateStringoptionalDate of beginning reservation. blackoutBooleanoptionalDo not allow executions against an environment at specified period. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. endDateStringoptionalThe date when reservation event ends. environmentNameStringoptionalThe name of the environment. environmentProjectNameStringoptionalThe name of the environment project name. environmentTierNameStringoptionalThe name of the environment tier. monthDaysStringoptionalA list of numbers from 1-31 separated by spaces, indicating zero or more days of the month. overlapBooleanoptionalAllow to overlap the reservation. pipelineNameStringoptionalThe name of the pipeline. recurrenceBooleanoptionalRecurrence reservation. recurrenceEndDateStringoptionalDate of beginning reservation. releaseNameStringoptionalThe name of the release. timeZoneStringoptionalThe time zone to use when interpreting times. weekDaysStringoptionalDays of the week: any number of names such as Monday or Tuesday, separated by spaces. |
Usage
Perl
$cmdr->createReservation( "test-projectName", # projectName "test-reservationName" # reservationName # optionals );
ectool
ectool createReservation \ "test-projectName" `# projectName` \ "test-reservationName" `# reservationName` \ # optionals