Package com.iland.core.web.rest.api
Interface VccFailoverPlanResource
@Path("/vcc-failover-plans")
@Consumes("application/json")
@Produces("application/vnd.ilandcloud.api.v1.0+json")
public interface VccFailoverPlanResource
Failover plan resource.
- Author:
- Julien Anguenot
-
Method Summary
Modifier and TypeMethodDescriptioncom.iland.core.web.rest.response.task.TaskResponsefailoverStart(String failoverPlanUuid, VccFailoverStartCreateRequest spec) Start a VCC failover.com.iland.core.web.rest.response.task.TaskResponsefailoverTest(String failoverPlanUuid) Test failover for a VCC Failover Plan.com.iland.core.web.rest.response.task.TaskResponsefailoverUndo(String failoverPlanUuid) Undo an in-progress VCC failover.getFailoverPlan(String failoverPlanUuid) Gets a VCC Failover Plan by UUID.
-
Method Details
-
failoverTest
@POST @Path("/{failoverPlanUuid}/actions/failover-test") @Consumes("application/json") com.iland.core.web.rest.response.task.TaskResponse failoverTest(@PathParam("failoverPlanUuid") String failoverPlanUuid) Test failover for a VCC Failover Plan.- Parameters:
failoverPlanUuid- the failover Plan unique identifier- Returns:
- asynchronous task details
-
failoverStart
@POST @Path("/{failoverPlanUuid}/actions/failover-start") @Consumes("application/json") com.iland.core.web.rest.response.task.TaskResponse failoverStart(@PathParam("failoverPlanUuid") String failoverPlanUuid, VccFailoverStartCreateRequest spec) Start a VCC failover.- Parameters:
failoverPlanUuid- the UUID of the VCC Failover Plan.spec- the failover start parameters- Returns:
- asynchronous task details
-
failoverUndo
@POST @Path("/{failoverPlanUuid}/actions/failover-undo") @Consumes("application/json") com.iland.core.web.rest.response.task.TaskResponse failoverUndo(@PathParam("failoverPlanUuid") String failoverPlanUuid) Undo an in-progress VCC failover.- Parameters:
failoverPlanUuid- the UUID of the VCC Failover Plan.- Returns:
- asynchronous task details
-
getFailoverPlan
@GET @Path("/{failoverPlanUuid}") VccFailoverPlanResponse getFailoverPlan(@PathParam("failoverPlanUuid") String failoverPlanUuid) Gets a VCC Failover Plan by UUID.- Parameters:
failoverPlanUuid- the UUID of the VCC-R failover plan.- Returns:
- the VCC-R failover plan
-