OneTimeMaintenanceWindowSchedule

class oci.stack_monitoring.models.OneTimeMaintenanceWindowSchedule(**kwargs)

Bases: oci.stack_monitoring.models.maintenance_window_schedule.MaintenanceWindowSchedule

Schedule information for the Maintenance Window that is executed only once.

Attributes

SCHEDULE_TYPE_ONE_TIME str(object=’’) -> str
SCHEDULE_TYPE_RECURRENT str(object=’’) -> str
schedule_type [Required] Gets the schedule_type of this MaintenanceWindowSchedule.
time_maintenance_window_end Gets the time_maintenance_window_end of this OneTimeMaintenanceWindowSchedule.
time_maintenance_window_start Gets the time_maintenance_window_start of this OneTimeMaintenanceWindowSchedule.

Methods

__init__(**kwargs) Initializes a new OneTimeMaintenanceWindowSchedule object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
SCHEDULE_TYPE_ONE_TIME = 'ONE_TIME'
SCHEDULE_TYPE_RECURRENT = 'RECURRENT'
__init__(**kwargs)

Initializes a new OneTimeMaintenanceWindowSchedule object with values from keyword arguments. The default value of the schedule_type attribute of this class is ONE_TIME and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • schedule_type (str) – The value to assign to the schedule_type property of this OneTimeMaintenanceWindowSchedule. Allowed values for this property are: “ONE_TIME”, “RECURRENT”
  • time_maintenance_window_start (datetime) – The value to assign to the time_maintenance_window_start property of this OneTimeMaintenanceWindowSchedule.
  • time_maintenance_window_end (datetime) – The value to assign to the time_maintenance_window_end property of this OneTimeMaintenanceWindowSchedule.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

schedule_type

[Required] Gets the schedule_type of this MaintenanceWindowSchedule. Property to identify the type of the Maintenance Window.

Allowed values for this property are: “ONE_TIME”, “RECURRENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The schedule_type of this MaintenanceWindowSchedule.
Return type:str
time_maintenance_window_end

Gets the time_maintenance_window_end of this OneTimeMaintenanceWindowSchedule. Start time of Maintenance window. A RFC3339 formatted datetime string

Returns:The time_maintenance_window_end of this OneTimeMaintenanceWindowSchedule.
Return type:datetime
time_maintenance_window_start

Gets the time_maintenance_window_start of this OneTimeMaintenanceWindowSchedule. Start time of Maintenance window. A RFC3339 formatted datetime string

Returns:The time_maintenance_window_start of this OneTimeMaintenanceWindowSchedule.
Return type:datetime