MaintenanceWindow

class oci.lustre_file_storage.models.MaintenanceWindow(**kwargs)

Bases: object

The preferred day and time to perform maintenance.

Attributes

DAY_OF_WEEK_FRIDAY A constant which can be used with the day_of_week property of a MaintenanceWindow.
DAY_OF_WEEK_MONDAY A constant which can be used with the day_of_week property of a MaintenanceWindow.
DAY_OF_WEEK_SATURDAY A constant which can be used with the day_of_week property of a MaintenanceWindow.
DAY_OF_WEEK_SUNDAY A constant which can be used with the day_of_week property of a MaintenanceWindow.
DAY_OF_WEEK_THURSDAY A constant which can be used with the day_of_week property of a MaintenanceWindow.
DAY_OF_WEEK_TUESDAY A constant which can be used with the day_of_week property of a MaintenanceWindow.
DAY_OF_WEEK_WEDNESDAY A constant which can be used with the day_of_week property of a MaintenanceWindow.
day_of_week Gets the day_of_week of this MaintenanceWindow.
time_start Gets the time_start of this MaintenanceWindow.

Methods

__init__(**kwargs) Initializes a new MaintenanceWindow object with values from keyword arguments.
DAY_OF_WEEK_FRIDAY = 'FRIDAY'

A constant which can be used with the day_of_week property of a MaintenanceWindow. This constant has a value of “FRIDAY”

DAY_OF_WEEK_MONDAY = 'MONDAY'

A constant which can be used with the day_of_week property of a MaintenanceWindow. This constant has a value of “MONDAY”

DAY_OF_WEEK_SATURDAY = 'SATURDAY'

A constant which can be used with the day_of_week property of a MaintenanceWindow. This constant has a value of “SATURDAY”

DAY_OF_WEEK_SUNDAY = 'SUNDAY'

A constant which can be used with the day_of_week property of a MaintenanceWindow. This constant has a value of “SUNDAY”

DAY_OF_WEEK_THURSDAY = 'THURSDAY'

A constant which can be used with the day_of_week property of a MaintenanceWindow. This constant has a value of “THURSDAY”

DAY_OF_WEEK_TUESDAY = 'TUESDAY'

A constant which can be used with the day_of_week property of a MaintenanceWindow. This constant has a value of “TUESDAY”

DAY_OF_WEEK_WEDNESDAY = 'WEDNESDAY'

A constant which can be used with the day_of_week property of a MaintenanceWindow. This constant has a value of “WEDNESDAY”

__init__(**kwargs)

Initializes a new MaintenanceWindow object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • day_of_week (str) – The value to assign to the day_of_week property of this MaintenanceWindow. Allowed values for this property are: “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, “SUNDAY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_start (str) – The value to assign to the time_start property of this MaintenanceWindow.
day_of_week

Gets the day_of_week of this MaintenanceWindow. Day of the week when the maintainence window starts.

Allowed values for this property are: “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, “SUNDAY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The day_of_week of this MaintenanceWindow.
Return type:str
time_start

Gets the time_start of this MaintenanceWindow. The time to start the maintenance window. The format is ‘HH:MM’, ‘HH:MM’ represents the time in UTC.

Example: 22:00

Returns:The time_start of this MaintenanceWindow.
Return type:str