models_v2.bmr_schedule module

class models_v2.bmr_schedule.BmrSchedule(unit=None, day_schedule=None, week_schedule=None, month_schedule=None)[source]

Bases: object

Implementation of the ‘Bmr Schedule’ model.

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

Attributes:
unit (Unit6Enum): Specifies how often to start new runs of a

Protection Group. <br>’Weeks’ specifies that new Protection Group runs start weekly on certain days specified using ‘dayOfWeek’ field. <br>’Months’ specifies that new Protection Group runs start monthly on certain day of specific week.

day_schedule (DailySchedule): Specifies settings that define a

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

week_schedule (WeekSchedule): Specifies settings that define a

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

month_schedule (MonthSchedule): 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.