MaintenanceRunSummary

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

Bases: object

Details of a maintenance run.

Attributes:

LIFECYCLE_STATE_CANCELED

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary.

LIFECYCLE_STATE_IN_PROGRESS

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary.

LIFECYCLE_STATE_PARTIAL_SUCCESS

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary.

LIFECYCLE_STATE_SCHEDULED

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary.

LIFECYCLE_STATE_SKIPPED

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary.

LIFECYCLE_STATE_SUCCEEDED

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary.

MAINTENANCE_SUBTYPE_CRITICAL

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary.

MAINTENANCE_SUBTYPE_CUSTOM_DATABASE_SOFTWARE_IMAGE

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary.

MAINTENANCE_SUBTYPE_DATABASE

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary.

MAINTENANCE_SUBTYPE_HARDWARE

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary.

MAINTENANCE_SUBTYPE_INFRASTRUCTURE

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary.

MAINTENANCE_SUBTYPE_ONEOFF

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary.

MAINTENANCE_SUBTYPE_QUARTERLY

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary.

MAINTENANCE_SUBTYPE_SECURITY_MONTHLY

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary.

MAINTENANCE_SUBTYPE_TIMEZONE

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary.

MAINTENANCE_TYPE_PLANNED

A constant which can be used with the maintenance_type property of a MaintenanceRunSummary.

MAINTENANCE_TYPE_UNPLANNED

A constant which can be used with the maintenance_type property of a MaintenanceRunSummary.

PATCHING_MODE_NONROLLING

A constant which can be used with the patching_mode property of a MaintenanceRunSummary.

PATCHING_MODE_ROLLING

A constant which can be used with the patching_mode property of a MaintenanceRunSummary.

PATCHING_STATUS_COMPLETE

A constant which can be used with the patching_status property of a MaintenanceRunSummary.

PATCHING_STATUS_FAILED

A constant which can be used with the patching_status property of a MaintenanceRunSummary.

PATCHING_STATUS_PATCHING

A constant which can be used with the patching_status property of a MaintenanceRunSummary.

PATCHING_STATUS_SCHEDULED

A constant which can be used with the patching_status property of a MaintenanceRunSummary.

PATCHING_STATUS_WAITING

A constant which can be used with the patching_status property of a MaintenanceRunSummary.

TARGET_RESOURCE_TYPE_AUTONOMOUS_CONTAINER_DATABASE

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary.

TARGET_RESOURCE_TYPE_AUTONOMOUS_DATABASE

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary.

TARGET_RESOURCE_TYPE_AUTONOMOUS_EXADATA_INFRASTRUCTURE

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary.

TARGET_RESOURCE_TYPE_AUTONOMOUS_VM_CLUSTER

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary.

TARGET_RESOURCE_TYPE_CLOUD_AUTONOMOUS_VM_CLUSTER

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary.

TARGET_RESOURCE_TYPE_CLOUD_EXADATA_INFRASTRUCTURE

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary.

TARGET_RESOURCE_TYPE_EXACC_INFRASTRUCTURE

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary.

TARGET_RESOURCE_TYPE_EXADATA_DB_SYSTEM

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary.

compartment_id

[Required] Gets the compartment_id of this MaintenanceRunSummary.

current_custom_action_timeout_in_mins

Gets the current_custom_action_timeout_in_mins of this MaintenanceRunSummary.

current_patching_component

Gets the current_patching_component of this MaintenanceRunSummary.

custom_action_timeout_in_mins

Gets the custom_action_timeout_in_mins of this MaintenanceRunSummary.

database_software_image_id

Gets the database_software_image_id of this MaintenanceRunSummary.

description

Gets the description of this MaintenanceRunSummary.

display_name

[Required] Gets the display_name of this MaintenanceRunSummary.

estimated_component_patching_start_time

Gets the estimated_component_patching_start_time of this MaintenanceRunSummary.

estimated_patching_time

Gets the estimated_patching_time of this MaintenanceRunSummary.

id

[Required] Gets the id of this MaintenanceRunSummary.

is_custom_action_timeout_enabled

Gets the is_custom_action_timeout_enabled of this MaintenanceRunSummary.

is_dst_file_update_enabled

Gets the is_dst_file_update_enabled of this MaintenanceRunSummary.

is_maintenance_run_granular

Gets the is_maintenance_run_granular of this MaintenanceRunSummary.

lifecycle_details

Gets the lifecycle_details of this MaintenanceRunSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this MaintenanceRunSummary.

maintenance_subtype

Gets the maintenance_subtype of this MaintenanceRunSummary.

maintenance_type

Gets the maintenance_type of this MaintenanceRunSummary.

patch_failure_count

Gets the patch_failure_count of this MaintenanceRunSummary.

patch_id

Gets the patch_id of this MaintenanceRunSummary.

patching_end_time

Gets the patching_end_time of this MaintenanceRunSummary.

patching_mode

Gets the patching_mode of this MaintenanceRunSummary.

patching_start_time

Gets the patching_start_time of this MaintenanceRunSummary.

patching_status

Gets the patching_status of this MaintenanceRunSummary.

peer_maintenance_run_id

Gets the peer_maintenance_run_id of this MaintenanceRunSummary.

peer_maintenance_run_ids

Gets the peer_maintenance_run_ids of this MaintenanceRunSummary.

reference_resource_id_for_image_updates

Gets the reference_resource_id_for_image_updates of this MaintenanceRunSummary.

system_tags

Gets the system_tags of this MaintenanceRunSummary.

target_db_server_version

Gets the target_db_server_version of this MaintenanceRunSummary.

target_resource_id

Gets the target_resource_id of this MaintenanceRunSummary.

target_resource_type

Gets the target_resource_type of this MaintenanceRunSummary.

target_storage_server_version

Gets the target_storage_server_version of this MaintenanceRunSummary.

time_ended

Gets the time_ended of this MaintenanceRunSummary.

time_scheduled

[Required] Gets the time_scheduled of this MaintenanceRunSummary.

time_started

Gets the time_started of this MaintenanceRunSummary.

total_time_taken_in_mins

Gets the total_time_taken_in_mins of this MaintenanceRunSummary.

window_type_descriptions

Gets the window_type_descriptions of this MaintenanceRunSummary.

Methods:

__init__(**kwargs)

Initializes a new MaintenanceRunSummary object with values from keyword arguments.

LIFECYCLE_STATE_CANCELED = 'CANCELED'

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary. This constant has a value of “CANCELED”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary. This constant has a value of “IN_PROGRESS”

LIFECYCLE_STATE_PARTIAL_SUCCESS = 'PARTIAL_SUCCESS'

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary. This constant has a value of “PARTIAL_SUCCESS”

LIFECYCLE_STATE_SCHEDULED = 'SCHEDULED'

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary. This constant has a value of “SCHEDULED”

LIFECYCLE_STATE_SKIPPED = 'SKIPPED'

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary. This constant has a value of “SKIPPED”

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary. This constant has a value of “SUCCEEDED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a MaintenanceRunSummary. This constant has a value of “UPDATING”

MAINTENANCE_SUBTYPE_CRITICAL = 'CRITICAL'

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary. This constant has a value of “CRITICAL”

MAINTENANCE_SUBTYPE_CUSTOM_DATABASE_SOFTWARE_IMAGE = 'CUSTOM_DATABASE_SOFTWARE_IMAGE'

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary. This constant has a value of “CUSTOM_DATABASE_SOFTWARE_IMAGE”

MAINTENANCE_SUBTYPE_DATABASE = 'DATABASE'

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary. This constant has a value of “DATABASE”

MAINTENANCE_SUBTYPE_HARDWARE = 'HARDWARE'

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary. This constant has a value of “HARDWARE”

MAINTENANCE_SUBTYPE_INFRASTRUCTURE = 'INFRASTRUCTURE'

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary. This constant has a value of “INFRASTRUCTURE”

MAINTENANCE_SUBTYPE_ONEOFF = 'ONEOFF'

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary. This constant has a value of “ONEOFF”

MAINTENANCE_SUBTYPE_QUARTERLY = 'QUARTERLY'

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary. This constant has a value of “QUARTERLY”

MAINTENANCE_SUBTYPE_SECURITY_MONTHLY = 'SECURITY_MONTHLY'

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary. This constant has a value of “SECURITY_MONTHLY”

MAINTENANCE_SUBTYPE_TIMEZONE = 'TIMEZONE'

A constant which can be used with the maintenance_subtype property of a MaintenanceRunSummary. This constant has a value of “TIMEZONE”

MAINTENANCE_TYPE_PLANNED = 'PLANNED'

A constant which can be used with the maintenance_type property of a MaintenanceRunSummary. This constant has a value of “PLANNED”

MAINTENANCE_TYPE_UNPLANNED = 'UNPLANNED'

A constant which can be used with the maintenance_type property of a MaintenanceRunSummary. This constant has a value of “UNPLANNED”

PATCHING_MODE_NONROLLING = 'NONROLLING'

A constant which can be used with the patching_mode property of a MaintenanceRunSummary. This constant has a value of “NONROLLING”

PATCHING_MODE_ROLLING = 'ROLLING'

A constant which can be used with the patching_mode property of a MaintenanceRunSummary. This constant has a value of “ROLLING”

PATCHING_STATUS_COMPLETE = 'COMPLETE'

A constant which can be used with the patching_status property of a MaintenanceRunSummary. This constant has a value of “COMPLETE”

PATCHING_STATUS_FAILED = 'FAILED'

A constant which can be used with the patching_status property of a MaintenanceRunSummary. This constant has a value of “FAILED”

PATCHING_STATUS_PATCHING = 'PATCHING'

A constant which can be used with the patching_status property of a MaintenanceRunSummary. This constant has a value of “PATCHING”

PATCHING_STATUS_SCHEDULED = 'SCHEDULED'

A constant which can be used with the patching_status property of a MaintenanceRunSummary. This constant has a value of “SCHEDULED”

PATCHING_STATUS_WAITING = 'WAITING'

A constant which can be used with the patching_status property of a MaintenanceRunSummary. This constant has a value of “WAITING”

TARGET_RESOURCE_TYPE_AUTONOMOUS_CONTAINER_DATABASE = 'AUTONOMOUS_CONTAINER_DATABASE'

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary. This constant has a value of “AUTONOMOUS_CONTAINER_DATABASE”

TARGET_RESOURCE_TYPE_AUTONOMOUS_DATABASE = 'AUTONOMOUS_DATABASE'

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary. This constant has a value of “AUTONOMOUS_DATABASE”

TARGET_RESOURCE_TYPE_AUTONOMOUS_EXADATA_INFRASTRUCTURE = 'AUTONOMOUS_EXADATA_INFRASTRUCTURE'

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary. This constant has a value of “AUTONOMOUS_EXADATA_INFRASTRUCTURE”

TARGET_RESOURCE_TYPE_AUTONOMOUS_VM_CLUSTER = 'AUTONOMOUS_VM_CLUSTER'

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary. This constant has a value of “AUTONOMOUS_VM_CLUSTER”

TARGET_RESOURCE_TYPE_CLOUD_AUTONOMOUS_VM_CLUSTER = 'CLOUD_AUTONOMOUS_VM_CLUSTER'

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary. This constant has a value of “CLOUD_AUTONOMOUS_VM_CLUSTER”

TARGET_RESOURCE_TYPE_CLOUD_EXADATA_INFRASTRUCTURE = 'CLOUD_EXADATA_INFRASTRUCTURE'

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary. This constant has a value of “CLOUD_EXADATA_INFRASTRUCTURE”

TARGET_RESOURCE_TYPE_EXACC_INFRASTRUCTURE = 'EXACC_INFRASTRUCTURE'

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary. This constant has a value of “EXACC_INFRASTRUCTURE”

TARGET_RESOURCE_TYPE_EXADATA_DB_SYSTEM = 'EXADATA_DB_SYSTEM'

A constant which can be used with the target_resource_type property of a MaintenanceRunSummary. This constant has a value of “EXADATA_DB_SYSTEM”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this MaintenanceRunSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this MaintenanceRunSummary.

  • display_name (str) – The value to assign to the display_name property of this MaintenanceRunSummary.

  • description (str) – The value to assign to the description property of this MaintenanceRunSummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this MaintenanceRunSummary. Allowed values for this property are: “SCHEDULED”, “IN_PROGRESS”, “SUCCEEDED”, “SKIPPED”, “FAILED”, “UPDATING”, “DELETING”, “DELETED”, “CANCELED”, “PARTIAL_SUCCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this MaintenanceRunSummary.

  • time_scheduled (datetime) – The value to assign to the time_scheduled property of this MaintenanceRunSummary.

  • time_started (datetime) – The value to assign to the time_started property of this MaintenanceRunSummary.

  • time_ended (datetime) – The value to assign to the time_ended property of this MaintenanceRunSummary.

  • target_resource_type (str) – The value to assign to the target_resource_type property of this MaintenanceRunSummary. Allowed values for this property are: “AUTONOMOUS_EXADATA_INFRASTRUCTURE”, “AUTONOMOUS_CONTAINER_DATABASE”, “EXADATA_DB_SYSTEM”, “CLOUD_EXADATA_INFRASTRUCTURE”, “EXACC_INFRASTRUCTURE”, “AUTONOMOUS_VM_CLUSTER”, “AUTONOMOUS_DATABASE”, “CLOUD_AUTONOMOUS_VM_CLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • target_resource_id (str) – The value to assign to the target_resource_id property of this MaintenanceRunSummary.

  • maintenance_type (str) – The value to assign to the maintenance_type property of this MaintenanceRunSummary. Allowed values for this property are: “PLANNED”, “UNPLANNED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • patch_id (str) – The value to assign to the patch_id property of this MaintenanceRunSummary.

  • maintenance_subtype (str) – The value to assign to the maintenance_subtype property of this MaintenanceRunSummary. Allowed values for this property are: “QUARTERLY”, “HARDWARE”, “CRITICAL”, “INFRASTRUCTURE”, “DATABASE”, “ONEOFF”, “SECURITY_MONTHLY”, “TIMEZONE”, “CUSTOM_DATABASE_SOFTWARE_IMAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • is_dst_file_update_enabled (bool) – The value to assign to the is_dst_file_update_enabled property of this MaintenanceRunSummary.

  • peer_maintenance_run_id (str) – The value to assign to the peer_maintenance_run_id property of this MaintenanceRunSummary.

  • peer_maintenance_run_ids (list[str]) – The value to assign to the peer_maintenance_run_ids property of this MaintenanceRunSummary.

  • patching_mode (str) – The value to assign to the patching_mode property of this MaintenanceRunSummary. Allowed values for this property are: “ROLLING”, “NONROLLING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • patch_failure_count (int) – The value to assign to the patch_failure_count property of this MaintenanceRunSummary.

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

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

  • is_custom_action_timeout_enabled (bool) – The value to assign to the is_custom_action_timeout_enabled property of this MaintenanceRunSummary.

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

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

  • patching_status (str) – The value to assign to the patching_status property of this MaintenanceRunSummary. Allowed values for this property are: “PATCHING”, “WAITING”, “SCHEDULED”, “COMPLETE”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • patching_start_time (datetime) – The value to assign to the patching_start_time property of this MaintenanceRunSummary.

  • patching_end_time (datetime) – The value to assign to the patching_end_time property of this MaintenanceRunSummary.

  • estimated_patching_time (oci.database.models.EstimatedPatchingTime) – The value to assign to the estimated_patching_time property of this MaintenanceRunSummary.

  • current_patching_component (str) – The value to assign to the current_patching_component property of this MaintenanceRunSummary.

  • estimated_component_patching_start_time (datetime) – The value to assign to the estimated_component_patching_start_time property of this MaintenanceRunSummary.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MaintenanceRunSummary.

  • is_maintenance_run_granular (bool) – The value to assign to the is_maintenance_run_granular property of this MaintenanceRunSummary.

  • total_time_taken_in_mins (int) – The value to assign to the total_time_taken_in_mins property of this MaintenanceRunSummary.

  • reference_resource_id_for_image_updates (str) – The value to assign to the reference_resource_id_for_image_updates property of this MaintenanceRunSummary.

  • database_software_image_id (str) – The value to assign to the database_software_image_id property of this MaintenanceRunSummary.

  • window_type_descriptions (list[oci.database.models.WindowTypeDescription]) – The value to assign to the window_type_descriptions property of this MaintenanceRunSummary.

property compartment_id

[Required] Gets the compartment_id of this MaintenanceRunSummary. The OCID of the compartment.

Returns

The compartment_id of this MaintenanceRunSummary.

Return type

str

property current_custom_action_timeout_in_mins

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

Returns

The current_custom_action_timeout_in_mins of this MaintenanceRunSummary.

Return type

int

property current_patching_component

Gets the current_patching_component of this MaintenanceRunSummary. The name of the current infrastruture component that is getting patched.

Returns

The current_patching_component of this MaintenanceRunSummary.

Return type

str

property custom_action_timeout_in_mins

Gets the custom_action_timeout_in_mins of this MaintenanceRunSummary. 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 MaintenanceRunSummary.

Return type

int

property database_software_image_id

Gets the database_software_image_id of this MaintenanceRunSummary. The Autonomous AI Database Software Image OCID

Returns

The database_software_image_id of this MaintenanceRunSummary.

Return type

str

property description

Gets the description of this MaintenanceRunSummary. Description of the maintenance run.

Returns

The description of this MaintenanceRunSummary.

Return type

str

property display_name

[Required] Gets the display_name of this MaintenanceRunSummary. The user-friendly name for the maintenance run.

Returns

The display_name of this MaintenanceRunSummary.

Return type

str

property estimated_component_patching_start_time

Gets the estimated_component_patching_start_time of this MaintenanceRunSummary. The estimated start time of the next infrastruture component patching operation.

Returns

The estimated_component_patching_start_time of this MaintenanceRunSummary.

Return type

datetime

property estimated_patching_time

Gets the estimated_patching_time of this MaintenanceRunSummary.

Returns

The estimated_patching_time of this MaintenanceRunSummary.

Return type

oci.database.models.EstimatedPatchingTime

property id

[Required] Gets the id of this MaintenanceRunSummary. The OCID of the maintenance run.

Returns

The id of this MaintenanceRunSummary.

Return type

str

property is_custom_action_timeout_enabled

Gets the is_custom_action_timeout_enabled of this MaintenanceRunSummary. 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 MaintenanceRunSummary.

Return type

bool

property is_dst_file_update_enabled

Gets the is_dst_file_update_enabled of this MaintenanceRunSummary. Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.

Returns

The is_dst_file_update_enabled of this MaintenanceRunSummary.

Return type

bool

property is_maintenance_run_granular

Gets the is_maintenance_run_granular of this MaintenanceRunSummary. If FALSE, the maintenance run doesn’t support granular maintenance.

Returns

The is_maintenance_run_granular of this MaintenanceRunSummary.

Return type

bool

property lifecycle_details

Gets the lifecycle_details of this MaintenanceRunSummary. Additional information about the current lifecycle state.

Returns

The lifecycle_details of this MaintenanceRunSummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this MaintenanceRunSummary. The current state of the maintenance run. For Autonomous AI Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.

Allowed values for this property are: “SCHEDULED”, “IN_PROGRESS”, “SUCCEEDED”, “SKIPPED”, “FAILED”, “UPDATING”, “DELETING”, “DELETED”, “CANCELED”, “PARTIAL_SUCCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this MaintenanceRunSummary.

Return type

str

property maintenance_subtype

Gets the maintenance_subtype of this MaintenanceRunSummary. Maintenance sub-type.

Allowed values for this property are: “QUARTERLY”, “HARDWARE”, “CRITICAL”, “INFRASTRUCTURE”, “DATABASE”, “ONEOFF”, “SECURITY_MONTHLY”, “TIMEZONE”, “CUSTOM_DATABASE_SOFTWARE_IMAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The maintenance_subtype of this MaintenanceRunSummary.

Return type

str

property maintenance_type

Gets the maintenance_type of this MaintenanceRunSummary. Maintenance type.

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

Returns

The maintenance_type of this MaintenanceRunSummary.

Return type

str

property patch_failure_count

Gets the patch_failure_count of this MaintenanceRunSummary. Contain the patch failure count.

Returns

The patch_failure_count of this MaintenanceRunSummary.

Return type

int

property patch_id

Gets the patch_id of this MaintenanceRunSummary. The unique identifier of the patch. The identifier string includes the patch type, the Oracle AI Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle AI Database 19.9.0.0 that was released October 30, 2020.

Returns

The patch_id of this MaintenanceRunSummary.

Return type

str

property patching_end_time

Gets the patching_end_time of this MaintenanceRunSummary. The time when the patching operation ended.

Returns

The patching_end_time of this MaintenanceRunSummary.

Return type

datetime

property patching_mode

Gets the patching_mode of this MaintenanceRunSummary. 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The patching_mode of this MaintenanceRunSummary.

Return type

str

property patching_start_time

Gets the patching_start_time of this MaintenanceRunSummary. The time when the patching operation started.

Returns

The patching_start_time of this MaintenanceRunSummary.

Return type

datetime

property patching_status

Gets the patching_status of this MaintenanceRunSummary. The status of the patching operation.

Allowed values for this property are: “PATCHING”, “WAITING”, “SCHEDULED”, “COMPLETE”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The patching_status of this MaintenanceRunSummary.

Return type

str

property peer_maintenance_run_id

Gets the peer_maintenance_run_id of this MaintenanceRunSummary. The OCID of the maintenance run for the Autonomous Data Guard association’s peer container database.

Returns

The peer_maintenance_run_id of this MaintenanceRunSummary.

Return type

str

property peer_maintenance_run_ids

Gets the peer_maintenance_run_ids of this MaintenanceRunSummary. The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.

Returns

The peer_maintenance_run_ids of this MaintenanceRunSummary.

Return type

list[str]

property reference_resource_id_for_image_updates

Gets the reference_resource_id_for_image_updates of this MaintenanceRunSummary. The OCID of the resource the maintenance run will refer to when trying to fetch target versions. This field is set during maintenance run creation based on infrastructure’s maintenance run version preferences. Currently this is only be supported for monthly maintenance runs created via scheduling plans.

Returns

The reference_resource_id_for_image_updates of this MaintenanceRunSummary.

Return type

str

property system_tags

Gets the system_tags of this MaintenanceRunSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns

The system_tags of this MaintenanceRunSummary.

Return type

dict(str, dict(str, object))

property target_db_server_version

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

Returns

The target_db_server_version of this MaintenanceRunSummary.

Return type

str

property target_resource_id

Gets the target_resource_id of this MaintenanceRunSummary. The ID of the target resource on which the maintenance run occurs.

Returns

The target_resource_id of this MaintenanceRunSummary.

Return type

str

property target_resource_type

Gets the target_resource_type of this MaintenanceRunSummary. The type of the target resource on which the maintenance run occurs.

Allowed values for this property are: “AUTONOMOUS_EXADATA_INFRASTRUCTURE”, “AUTONOMOUS_CONTAINER_DATABASE”, “EXADATA_DB_SYSTEM”, “CLOUD_EXADATA_INFRASTRUCTURE”, “EXACC_INFRASTRUCTURE”, “AUTONOMOUS_VM_CLUSTER”, “AUTONOMOUS_DATABASE”, “CLOUD_AUTONOMOUS_VM_CLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The target_resource_type of this MaintenanceRunSummary.

Return type

str

property target_storage_server_version

Gets the target_storage_server_version of this MaintenanceRunSummary. The target Cell version that is to be patched to.

Returns

The target_storage_server_version of this MaintenanceRunSummary.

Return type

str

property time_ended

Gets the time_ended of this MaintenanceRunSummary. The date and time the maintenance run was completed.

Returns

The time_ended of this MaintenanceRunSummary.

Return type

datetime

property time_scheduled

[Required] Gets the time_scheduled of this MaintenanceRunSummary. The date and time the maintenance run is scheduled to occur.

Returns

The time_scheduled of this MaintenanceRunSummary.

Return type

datetime

property time_started

Gets the time_started of this MaintenanceRunSummary. The date and time the maintenance run starts.

Returns

The time_started of this MaintenanceRunSummary.

Return type

datetime

property total_time_taken_in_mins

Gets the total_time_taken_in_mins of this MaintenanceRunSummary. The total time taken by corresponding resource activity in minutes.

Returns

The total_time_taken_in_mins of this MaintenanceRunSummary.

Return type

int

property window_type_descriptions

Gets the window_type_descriptions of this MaintenanceRunSummary. A list of key-value pairs where the key will contain the window type and value contains all the windowDetails of that window type.

Returns

The window_type_descriptions of this MaintenanceRunSummary.

Return type

list[oci.database.models.WindowTypeDescription]