public interface ReplicationsResource
Modifier and Type | Method and Description |
---|---|
ApiReplicationScheduleList |
createSchedules(ApiReplicationScheduleList schedules)
Creates one or more replication schedules.
|
ApiReplicationScheduleList |
deleteAllSchedules()
Deletes all existing replication schedules.
|
ApiReplicationSchedule |
deleteSchedule(long scheduleId)
Deletes an existing replication schedule.
|
ApiReplicationSchedule |
readSchedule(long scheduleId,
DataView dataView)
Returns information for a specific replication schedule.
|
ApiReplicationScheduleList |
readSchedules(DataView dataView)
Returns information for all replication schedules.
|
ApiCommand |
runSchedule(long scheduleId,
boolean dryRun)
Run the schedule immediately.
|
ApiReplicationSchedule |
updateSchedule(long scheduleId,
ApiReplicationSchedule schedule)
Updates an existing replication schedule.
|
@Path(value="/") ApiReplicationScheduleList createSchedules(ApiReplicationScheduleList schedules)
Available since API v3. Only available with Cloudera Manager Enterprise Edition.
schedules
- List of the replication schedules to create.@Path(value="/") ApiReplicationScheduleList readSchedules(DataView dataView)
Available since API v3. Only available with Cloudera Manager Enterprise Edition.
dataView
- The view to materialize.@Path(value="/{scheduleId}") ApiReplicationSchedule readSchedule(long scheduleId, DataView dataView)
Available since API v3. Only available with Cloudera Manager Enterprise Edition.
scheduleId
- Id of an existing replication schedule.dataView
- The view to materialize.@Path(value="/{scheduleId}") ApiReplicationSchedule updateSchedule(long scheduleId, ApiReplicationSchedule schedule)
Available since API v3. Only available with Cloudera Manager Enterprise Edition.
scheduleId
- Id of an existing replication schedule.@Path(value="/{scheduleId}") ApiReplicationSchedule deleteSchedule(long scheduleId)
Available since API v3. Only available with Cloudera Manager Enterprise Edition.
scheduleId
- Id of an existing replication schedule.@Path(value="/") ApiReplicationScheduleList deleteAllSchedules()
Available since API v3. Only available with Cloudera Manager Enterprise Edition.
@Path(value="/{scheduleId}/run") ApiCommand runSchedule(long scheduleId, boolean dryRun)
The replication command will be triggered with the configured arguments, and will be recorded in the schedule's history.
Available since API v3. Only available with Cloudera Manager Enterprise Edition.
scheduleId
- Id of an existing replication schedule.dryRun
- Whether to execute a dry run.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.