models_v2.run_schedule_1 module

class models_v2.run_schedule_1.RunSchedule1(unit=None, minute_schedule=None, hour_schedule=None, day_schedule=None, week_schedule=None, month_schedule=None)[source]

Bases: object

Implementation of the ‘Run Schedule1’ model.

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

Attributes:
unit (Unit3Enum): Specifies how often to start new 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. <br>’Days’ specifies that Protection Group run starts periodically after certain number of days specified in ‘frequency’ field. <br>’Week’ specifies that new Protection Group runs start weekly on certain days specified using ‘dayOfWeek’ field. <br>’Month’ specifies that new Protection Group runs start monthly on certain day of specific week. This schedule needs ‘weekOfMonth’ and ‘dayOfWeek’ fields to be set. <br> Example: To run the Protection Group on Second Sunday of Every Month, following schedule need to be set: <br> unit: ‘Month’ <br> dayOfWeek: ‘Sunday’ <br> weekOfMonth: ‘Second’

minute_schedule (HeliosFrequencySchedule): Specifies settings that

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

hour_schedule (HeliosFrequencySchedule): Specifies settings that

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

day_schedule (HeliosFrequencySchedule): Specifies settings that define

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

week_schedule (WeekSchedule1): Specifies settings that define a

schedule for a Protection Group runs to start on certain days of week.

month_schedule (MonthSchedule1): Specifies settings that define a

schedule for a Protection Group runs to on specific week and specific days of that week.

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.