models_v2.log_schedule module

class models_v2.log_schedule.LogSchedule(unit=None, minute_schedule=None, hour_schedule=None)[source]

Bases: object

Implementation of the ‘Log Schedule’ model.

Specifies settings that defines how frequent log backup will be performed for a Protection Group.

Attributes:
unit (Unit5Enum): Specifies how often to start new Protection Group

Runs of a Protection Group. <br>’Minutes’ specifies that Protection Group run starts periodically after certain number of minutes specified in ‘frequency’ field. <br>’Hours’ specifies that Protection Group run starts periodically after certain number of hours specified in ‘frequency’ field.

minute_schedule (DailySchedule): Specifies settings that define a

schedule for a Protection Group runs to start after certain number of minutes.

hour_schedule (DailySchedule): Specifies settings that define a

schedule for a Protection Group runs to start after certain number of hours.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.