UpdateMaintenanceRunDetails

class oci.database.models.UpdateMaintenanceRunDetails(**kwargs)

Bases: object

Describes the modification parameters for the maintenance run.

Methods

__init__(**kwargs) Initializes a new UpdateMaintenanceRunDetails object with values from keyword arguments.

Attributes

is_enabled Gets the is_enabled of this UpdateMaintenanceRunDetails.
is_patch_now_enabled Gets the is_patch_now_enabled of this UpdateMaintenanceRunDetails.
patch_id Gets the patch_id of this UpdateMaintenanceRunDetails.
time_scheduled Gets the time_scheduled of this UpdateMaintenanceRunDetails.
__init__(**kwargs)

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

Parameters:
  • is_enabled (bool) – The value to assign to the is_enabled property of this UpdateMaintenanceRunDetails.
  • time_scheduled (datetime) – The value to assign to the time_scheduled property of this UpdateMaintenanceRunDetails.
  • is_patch_now_enabled (bool) – The value to assign to the is_patch_now_enabled property of this UpdateMaintenanceRunDetails.
  • patch_id (str) – The value to assign to the patch_id property of this UpdateMaintenanceRunDetails.
is_enabled

Gets the is_enabled of this UpdateMaintenanceRunDetails. If FALSE, skips the maintenance run.

Returns:The is_enabled of this UpdateMaintenanceRunDetails.
Return type:bool
is_patch_now_enabled

Gets the is_patch_now_enabled of this UpdateMaintenanceRunDetails. If set to TRUE, starts patching immediately.

Returns:The is_patch_now_enabled of this UpdateMaintenanceRunDetails.
Return type:bool
patch_id

Gets the patch_id of this UpdateMaintenanceRunDetails. The OCID of the patch to be applied in the maintenance run.

Returns:The patch_id of this UpdateMaintenanceRunDetails.
Return type:str
time_scheduled

Gets the time_scheduled of this UpdateMaintenanceRunDetails. The scheduled date and time of the maintenance run to update.

Returns:The time_scheduled of this UpdateMaintenanceRunDetails.
Return type:datetime