@Path(value="/disaster-recovery-runbooks")
 @Consumes(value="application/json")
 @Produces(value="application/vnd.ilandcloud.api.v1.0+json")
public interface DRRunbookResource
| Modifier and Type | Method and Description | 
|---|---|
| TaskResponse | abortRunbook(String runbookUuid,
            DisasterRecoveryRunbookAbortRequest request)Abort a running disaster recovery runbook so that no new operations are
 initiated upon recovery groups. | 
| void | deleteRunbook(String runbookUuid)Delete a runbook by its UUID. | 
| InputStream | downloadRunbookReport(String runbookUuid,
                     String reportUuid,
                     String filename)Download a PDF summary report for a runbook task. | 
| TaskResponse | executeRunbook(String runbookUuid,
              DisasterRecoveryRunbookExecuteRequest params)Execute a runbook. | 
| TaskResponse | finalizeExecution(String runbookUuid,
                 DisasterRecoveryRunbookFinalizeExecutionRequest request)Finalize changes for the active runbook execution. | 
| DisasterRecoveryRunbookResponse | getDisasterRecoveryRunbook(String runbookUuid)Gets a runbook by UUID. | 
| DisasterRecoveryRunbookReportDetailsResponse | getRecoveryRunbookReportDetails(String runbookUuid,
                               String taskUuid)Get report summary data for a runbook task. | 
| TaskResponse | testRunbook(String runbookUuid,
           DisasterRecoveryRunbookTestRequest params)Test a runbook. | 
| DisasterRecoveryRunbookResponse | updateRunbook(String runbookUuid,
             DisasterRecoveryRunbookUpdateRequest spec)Update a runbook by its UUID. | 
@POST
 @Path(value="/{runbookUuid}/actions/test")
 @Consumes(value="application/json")
TaskResponse testRunbook(@PathParam(value="runbookUuid")
                                                                                                                String runbookUuid,
                                                                                                                DisasterRecoveryRunbookTestRequest params)
runbookUuid - the UUID of the runbook.params - the runbook test parameters@POST
 @Path(value="/{runbookUuid}/actions/execute")
 @Consumes(value="application/json")
TaskResponse executeRunbook(@PathParam(value="runbookUuid")
                                                                                                                      String runbookUuid,
                                                                                                                      DisasterRecoveryRunbookExecuteRequest params)
runbookUuid - the UUID of the runbook.params - the runbook execution parameters@GET
 @Path(value="/{runbookUuid}")
DisasterRecoveryRunbookResponse getDisasterRecoveryRunbook(@PathParam(value="runbookUuid")
                                                                                               String runbookUuid)
runbookUuid - the UUID of the runbook.@PUT
 @Path(value="/{runbookUuid}")
 @Consumes(value="application/json")
DisasterRecoveryRunbookResponse updateRunbook(@PathParam(value="runbookUuid")
                                                                                                                       String runbookUuid,
                                                                                                                       DisasterRecoveryRunbookUpdateRequest spec)
runbookUuid - the UUID of the runbookspec - the specification for updating the runbook@DELETE
 @Path(value="/{runbookUuid}")
void deleteRunbook(@PathParam(value="runbookUuid")
                                                          String runbookUuid)
runbookUuid - the UUID of the runbook@POST
 @Path(value="/{runbookUuid}/actions/finalize")
TaskResponse finalizeExecution(@PathParam(value="runbookUuid")
                                                                                     String runbookUuid,
                                                                                     DisasterRecoveryRunbookFinalizeExecutionRequest request)
runbookUuid - the UUID of the runbookrequest - the params for finalizing the runbook execution@GET
 @Path(value="/{runbookUuid}/runbook-task-details/{taskUuid}")
DisasterRecoveryRunbookReportDetailsResponse getRecoveryRunbookReportDetails(@PathParam(value="runbookUuid")
                                                                                                                                                 String runbookUuid,
                                                                                                                                                 @PathParam(value="taskUuid")
                                                                                                                                                 String taskUuid)
taskUuid - the uuid of the task to retrieve the report for@GET
 @Path(value="/{runbookUuid}/reports/{reportUuid}")
 @Produces(value="application/vnd.ilandcloud.api.v1.0+pdf")
InputStream downloadRunbookReport(@PathParam(value="runbookUuid")
                                                                                                                                                       String runbookUuid,
                                                                                                                                                       @PathParam(value="reportUuid")
                                                                                                                                                       String reportUuid,
                                                                                                                                                       @QueryParam(value="filename")
                                                                                                                                                       String filename)
The UUID of the task for the runbook operation is the report UUID.
reportUuid - the uuid of the task to retrieve the report for@POST
 @Path(value="/{runbookUuid}/actions/abort")
TaskResponse abortRunbook(@PathParam(value="runbookUuid")
                                                                             String runbookUuid,
                                                                             DisasterRecoveryRunbookAbortRequest request)
runbookUuid - the disaster recovery runbook UUIDrequest - a request for aborting a running recovery runbook operationCopyright © 2020 iland Internet Solutions, Corp. All rights reserved.