ReplicationSchedule#
- class ReplicationSchedule(frequency=None, schedule_interval=None, start_time=None, *args, **kwargs)#
Bases:
object
This contains the schedule for all the replication and snapshot jobs. This includes the policy’s the start time and replication frequency information.
- Parameters:
frequency – (
frequency
) The frequency at which data should be copied from source to target path. RPO (Integer values are multiplied by schedule type to get the next scheduled replication time).schedule_interval (required) – (
schedule_interval
)start_time – (
start_time
) Time of the day, the policy will be started. If the value not set, the policy will be applicable immediately.
- property frequency#
The frequency at which data should be copied from source to target path. RPO (Integer values are multiplied by schedule type to get the next scheduled replication time).
- Type:
int
- property schedule_interval#
- Type:
- property start_time#
Time of the day, the policy will be started. If the value not set, the policy will be applicable immediately.
- Type:
datetime
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model