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.

current_custom_action_timeout_in_mins

Gets the current_custom_action_timeout_in_mins of this UpdateMaintenanceRunDetails.

custom_action_timeout_in_mins

Gets the custom_action_timeout_in_mins of this UpdateMaintenanceRunDetails.

is_custom_action_timeout_enabled

Gets the is_custom_action_timeout_enabled of this UpdateMaintenanceRunDetails.

is_enabled

Gets the is_enabled of this UpdateMaintenanceRunDetails.

is_patch_now_enabled

Gets the is_patch_now_enabled of this UpdateMaintenanceRunDetails.

is_resume_patching

Gets the is_resume_patching of this UpdateMaintenanceRunDetails.

patch_id

Gets the patch_id of this UpdateMaintenanceRunDetails.

patching_mode

Gets the patching_mode of this UpdateMaintenanceRunDetails.

target_db_server_version

Gets the target_db_server_version of this UpdateMaintenanceRunDetails.

target_storage_server_version

Gets the target_storage_server_version 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_custom_action_timeout_enabled (bool) – The value to assign to the is_custom_action_timeout_enabled property of this UpdateMaintenanceRunDetails.

  • custom_action_timeout_in_mins (int) – The value to assign to the custom_action_timeout_in_mins property of this UpdateMaintenanceRunDetails.

  • current_custom_action_timeout_in_mins (int) – The value to assign to the current_custom_action_timeout_in_mins property of this UpdateMaintenanceRunDetails.

  • is_resume_patching (bool) – The value to assign to the is_resume_patching property of this UpdateMaintenanceRunDetails.

  • target_db_server_version (str) – The value to assign to the target_db_server_version property of this UpdateMaintenanceRunDetails.

  • target_storage_server_version (str) – The value to assign to the target_storage_server_version property of this UpdateMaintenanceRunDetails.

property current_custom_action_timeout_in_mins

Gets the current_custom_action_timeout_in_mins of this UpdateMaintenanceRunDetails. The current custom action timeout between the current database servers during waiting state in addition to custom action timeout, from 0 (zero) to 30 minutes.

Returns

The current_custom_action_timeout_in_mins of this UpdateMaintenanceRunDetails.

Return type

int

property custom_action_timeout_in_mins

Gets the custom_action_timeout_in_mins of this UpdateMaintenanceRunDetails. Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes from 15 to 120.

Returns

The custom_action_timeout_in_mins of this UpdateMaintenanceRunDetails.

Return type

int

property is_custom_action_timeout_enabled

Gets the is_custom_action_timeout_enabled of this UpdateMaintenanceRunDetails. If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.

Returns

The is_custom_action_timeout_enabled of this UpdateMaintenanceRunDetails.

Return type

bool

property 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

property 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

property is_resume_patching

Gets the is_resume_patching of this UpdateMaintenanceRunDetails. If true, then the patching is resumed and the next component will be patched immediately.

Returns

The is_resume_patching of this UpdateMaintenanceRunDetails.

Return type

bool

property 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

property 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

property target_db_server_version

Gets the target_db_server_version of this UpdateMaintenanceRunDetails. The target database server system software version for the patching operation.

Returns

The target_db_server_version of this UpdateMaintenanceRunDetails.

Return type

str

property target_storage_server_version

Gets the target_storage_server_version of this UpdateMaintenanceRunDetails. The target storage cell system software version for the patching operation.

Returns

The target_storage_server_version of this UpdateMaintenanceRunDetails.

Return type

str

property 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