@Path(value="/vac-jobs")
@Consumes(value="application/json")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
public interface VacJobResource
Modifier and Type | Method and Description |
---|---|
TaskResponse |
disableVacJob(String jobUuid)
Disable a VAC job.
|
TaskResponse |
enableVacJob(String jobUuid)
Enable a VAC job.
|
BaJobResponse |
getVacJob(String jobUuid)
Get a VAC job given a VAC company uuid and the job's uuid.
|
BaJobListResponse |
getVacJobHistory(String jobUuid,
Long start,
Long end)
Get the history for a VAC job given a start and end date.
|
TaskResponse |
retryVacJob(String jobUuid)
Retry a VAC job.
|
TaskResponse |
startVacJob(String jobUuid)
Start a VAC job.
|
TaskResponse |
stopVacJob(String jobUuid)
Stop a VAC job.
|
@GET @Path(value="/{jobUuid}") BaJobResponse getVacJob(@PathParam(value="jobUuid") String jobUuid)
jobUuid
- the job UUID of vac company@POST @Path(value="/{jobUuid}/action/enable") TaskResponse enableVacJob(@PathParam(value="jobUuid") String jobUuid)
jobUuid
- the job UUID of vac job@POST @Path(value="/{jobUuid}/action/disable") TaskResponse disableVacJob(@PathParam(value="jobUuid") String jobUuid)
jobUuid
- the job UUID of vac job@POST @Path(value="/{jobUuid}/action/start") TaskResponse startVacJob(@PathParam(value="jobUuid") String jobUuid)
jobUuid
- the job UUID of vac job@POST @Path(value="/{jobUuid}/action/stop") TaskResponse stopVacJob(@PathParam(value="jobUuid") String jobUuid)
jobUuid
- the job UUID of vac job@POST @Path(value="/{jobUuid}/action/retry") TaskResponse retryVacJob(@PathParam(value="jobUuid") String jobUuid)
jobUuid
- the job UUID of vac job@GET @Path(value="/{jobUuid}/history") BaJobListResponse getVacJobHistory(@PathParam(value="jobUuid") String jobUuid, @QueryParam(value="start") Long start, @QueryParam(value="end") Long end)
jobUuid
- the job UUID of vac jobstart
- the start of the vac job historyend
- the end of the vac job historyCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.