MaintenanceWindow

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

Bases: object

Defines the maintenance window, when automatic actions can be performed.

Attributes

DAY_FRIDAY A constant which can be used with the day property of a MaintenanceWindow.
DAY_MONDAY A constant which can be used with the day property of a MaintenanceWindow.
DAY_SATURDAY A constant which can be used with the day property of a MaintenanceWindow.
DAY_SUNDAY A constant which can be used with the day property of a MaintenanceWindow.
DAY_THURSDAY A constant which can be used with the day property of a MaintenanceWindow.
DAY_TUESDAY A constant which can be used with the day property of a MaintenanceWindow.
DAY_WEDNESDAY A constant which can be used with the day property of a MaintenanceWindow.
day [Required] Gets the day of this MaintenanceWindow.
start_hour [Required] Gets the start_hour of this MaintenanceWindow.

Methods

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

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

DAY_MONDAY = 'MONDAY'

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

DAY_SATURDAY = 'SATURDAY'

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

DAY_SUNDAY = 'SUNDAY'

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

DAY_THURSDAY = 'THURSDAY'

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

DAY_TUESDAY = 'TUESDAY'

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

DAY_WEDNESDAY = 'WEDNESDAY'

A constant which can be used with the day 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 (str) – The value to assign to the day 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’.
  • start_hour (int) – The value to assign to the start_hour property of this MaintenanceWindow.
day

[Required] Gets the day of this MaintenanceWindow. Days of the week.

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 this MaintenanceWindow.
Return type:str
start_hour

[Required] Gets the start_hour of this MaintenanceWindow. Start hour for maintenance period. Hour is in UTC.

Returns:The start_hour of this MaintenanceWindow.
Return type:int