UpdateMaintenanceRunDetails¶
-
class
oci.database.models.
UpdateMaintenanceRunDetails
(**kwargs)¶ Bases:
object
Describes the modification parameters for the maintenance run.
Attributes
PATCHING_MODE_NONROLLING
A constant which can be used with the patching_mode property of a UpdateMaintenanceRunDetails. PATCHING_MODE_ROLLING
A constant which can be used with the patching_mode property of a UpdateMaintenanceRunDetails. 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. patching_mode
Gets the patching_mode of this UpdateMaintenanceRunDetails. time_scheduled
Gets the time_scheduled of this UpdateMaintenanceRunDetails. Methods
__init__
(**kwargs)Initializes a new UpdateMaintenanceRunDetails object with values from keyword arguments. -
PATCHING_MODE_NONROLLING
= 'NONROLLING'¶ A constant which can be used with the patching_mode property of a UpdateMaintenanceRunDetails. This constant has a value of “NONROLLING”
-
PATCHING_MODE_ROLLING
= 'ROLLING'¶ A constant which can be used with the patching_mode property of a UpdateMaintenanceRunDetails. This constant has a value of “ROLLING”
-
__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.
- patching_mode (str) – The value to assign to the patching_mode property of this UpdateMaintenanceRunDetails. Allowed values for this property are: “ROLLING”, “NONROLLING”
-
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
-
patching_mode
¶ Gets the patching_mode of this UpdateMaintenanceRunDetails. Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”. Default value is ROLLING.
IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.
Allowed values for this property are: “ROLLING”, “NONROLLING”
Returns: The patching_mode 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
-