MaintenanceExecutionSummary

class oci.datacc.models.MaintenanceExecutionSummary(**kwargs)

Bases: object

Summary of a maintenance executions.

Attributes

LIFECYCLE_STATE_CANCELED A constant which can be used with the lifecycle_state property of a MaintenanceExecutionSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a MaintenanceExecutionSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a MaintenanceExecutionSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a MaintenanceExecutionSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a MaintenanceExecutionSummary.
LIFECYCLE_STATE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a MaintenanceExecutionSummary.
LIFECYCLE_STATE_PARTIAL_SUCCESS A constant which can be used with the lifecycle_state property of a MaintenanceExecutionSummary.
LIFECYCLE_STATE_SCHEDULED A constant which can be used with the lifecycle_state property of a MaintenanceExecutionSummary.
LIFECYCLE_STATE_SKIPPED A constant which can be used with the lifecycle_state property of a MaintenanceExecutionSummary.
LIFECYCLE_STATE_SUCCEEDED A constant which can be used with the lifecycle_state property of a MaintenanceExecutionSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a MaintenanceExecutionSummary.
MAINTENANCE_SUBTYPE_CPS_SERVICES_UPDATE A constant which can be used with the maintenance_subtype property of a MaintenanceExecutionSummary.
MAINTENANCE_SUBTYPE_CPS_VM_UPDATE A constant which can be used with the maintenance_subtype property of a MaintenanceExecutionSummary.
MAINTENANCE_SUBTYPE_CRITICAL A constant which can be used with the maintenance_subtype property of a MaintenanceExecutionSummary.
MAINTENANCE_SUBTYPE_DAILY A constant which can be used with the maintenance_subtype property of a MaintenanceExecutionSummary.
MAINTENANCE_SUBTYPE_HALFYEARLY A constant which can be used with the maintenance_subtype property of a MaintenanceExecutionSummary.
MAINTENANCE_SUBTYPE_HARDWARE A constant which can be used with the maintenance_subtype property of a MaintenanceExecutionSummary.
MAINTENANCE_SUBTYPE_INFRA_UPDATE A constant which can be used with the maintenance_subtype property of a MaintenanceExecutionSummary.
MAINTENANCE_SUBTYPE_MONTHLY A constant which can be used with the maintenance_subtype property of a MaintenanceExecutionSummary.
MAINTENANCE_SUBTYPE_QUARTERLY A constant which can be used with the maintenance_subtype property of a MaintenanceExecutionSummary.
MAINTENANCE_SUBTYPE_SECURITY_MONTHLY A constant which can be used with the maintenance_subtype property of a MaintenanceExecutionSummary.
MAINTENANCE_SUBTYPE_YEARLY A constant which can be used with the maintenance_subtype property of a MaintenanceExecutionSummary.
MAINTENANCE_TYPE_PLANNED A constant which can be used with the maintenance_type property of a MaintenanceExecutionSummary.
MAINTENANCE_TYPE_UNPLANNED A constant which can be used with the maintenance_type property of a MaintenanceExecutionSummary.
PATCHING_MODE_NONROLLING A constant which can be used with the patching_mode property of a MaintenanceExecutionSummary.
PATCHING_MODE_ROLLING A constant which can be used with the patching_mode property of a MaintenanceExecutionSummary.
TARGET_RESOURCE_TYPE_DB_CC_INFRASTRUCTURE A constant which can be used with the target_resource_type property of a MaintenanceExecutionSummary.
compartment_id Gets the compartment_id of this MaintenanceExecutionSummary.
custom_action_timeout_in_mins Gets the custom_action_timeout_in_mins of this MaintenanceExecutionSummary.
defined_tags Gets the defined_tags of this MaintenanceExecutionSummary.
description Gets the description of this MaintenanceExecutionSummary.
display_name [Required] Gets the display_name of this MaintenanceExecutionSummary.
freeform_tags Gets the freeform_tags of this MaintenanceExecutionSummary.
id [Required] Gets the id of this MaintenanceExecutionSummary.
infrastructure_id Gets the infrastructure_id of this MaintenanceExecutionSummary.
is_custom_action_timeout_enabled Gets the is_custom_action_timeout_enabled of this MaintenanceExecutionSummary.
lifecycle_details Gets the lifecycle_details of this MaintenanceExecutionSummary.
lifecycle_state [Required] Gets the lifecycle_state of this MaintenanceExecutionSummary.
maintenance_run_id Gets the maintenance_run_id of this MaintenanceExecutionSummary.
maintenance_subtype Gets the maintenance_subtype of this MaintenanceExecutionSummary.
maintenance_type Gets the maintenance_type of this MaintenanceExecutionSummary.
patching_mode Gets the patching_mode of this MaintenanceExecutionSummary.
source_version Gets the source_version of this MaintenanceExecutionSummary.
system_tags Gets the system_tags of this MaintenanceExecutionSummary.
target_resource_type Gets the target_resource_type of this MaintenanceExecutionSummary.
target_version Gets the target_version of this MaintenanceExecutionSummary.
time_ended Gets the time_ended of this MaintenanceExecutionSummary.
time_started Gets the time_started of this MaintenanceExecutionSummary.
total_time_taken_in_mins Gets the total_time_taken_in_mins of this MaintenanceExecutionSummary.
workflow_id Gets the workflow_id of this MaintenanceExecutionSummary.

Methods

__init__(**kwargs) Initializes a new MaintenanceExecutionSummary object with values from keyword arguments.
LIFECYCLE_STATE_CANCELED = 'CANCELED'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a MaintenanceExecutionSummary. 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 MaintenanceExecutionSummary. 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 MaintenanceExecutionSummary. 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 MaintenanceExecutionSummary. This constant has a value of “SCHEDULED”

LIFECYCLE_STATE_SKIPPED = 'SKIPPED'

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

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

MAINTENANCE_SUBTYPE_CPS_SERVICES_UPDATE = 'CPS_SERVICES_UPDATE'

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

MAINTENANCE_SUBTYPE_CPS_VM_UPDATE = 'CPS_VM_UPDATE'

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

MAINTENANCE_SUBTYPE_CRITICAL = 'CRITICAL'

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

MAINTENANCE_SUBTYPE_DAILY = 'DAILY'

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

MAINTENANCE_SUBTYPE_HALFYEARLY = 'HALFYEARLY'

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

MAINTENANCE_SUBTYPE_HARDWARE = 'HARDWARE'

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

MAINTENANCE_SUBTYPE_INFRA_UPDATE = 'INFRA_UPDATE'

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

MAINTENANCE_SUBTYPE_MONTHLY = 'MONTHLY'

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

MAINTENANCE_SUBTYPE_QUARTERLY = 'QUARTERLY'

A constant which can be used with the maintenance_subtype property of a MaintenanceExecutionSummary. 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 MaintenanceExecutionSummary. This constant has a value of “SECURITY_MONTHLY”

MAINTENANCE_SUBTYPE_YEARLY = 'YEARLY'

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

MAINTENANCE_TYPE_PLANNED = 'PLANNED'

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

MAINTENANCE_TYPE_UNPLANNED = 'UNPLANNED'

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

PATCHING_MODE_NONROLLING = 'NONROLLING'

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

PATCHING_MODE_ROLLING = 'ROLLING'

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

TARGET_RESOURCE_TYPE_DB_CC_INFRASTRUCTURE = 'DB_CC_INFRASTRUCTURE'

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

__init__(**kwargs)

Initializes a new MaintenanceExecutionSummary 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 MaintenanceExecutionSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this MaintenanceExecutionSummary.
  • display_name (str) – The value to assign to the display_name property of this MaintenanceExecutionSummary.
  • description (str) – The value to assign to the description property of this MaintenanceExecutionSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this MaintenanceExecutionSummary. Allowed values for this property are: “CREATING”, “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 MaintenanceExecutionSummary.
  • time_started (datetime) – The value to assign to the time_started property of this MaintenanceExecutionSummary.
  • time_ended (datetime) – The value to assign to the time_ended property of this MaintenanceExecutionSummary.
  • target_resource_type (str) – The value to assign to the target_resource_type property of this MaintenanceExecutionSummary. Allowed values for this property are: “DB_CC_INFRASTRUCTURE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • infrastructure_id (str) – The value to assign to the infrastructure_id property of this MaintenanceExecutionSummary.
  • maintenance_run_id (str) – The value to assign to the maintenance_run_id property of this MaintenanceExecutionSummary.
  • maintenance_type (str) – The value to assign to the maintenance_type property of this MaintenanceExecutionSummary. 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’.
  • maintenance_subtype (str) – The value to assign to the maintenance_subtype property of this MaintenanceExecutionSummary. Allowed values for this property are: “YEARLY”, “HALFYEARLY”, “QUARTERLY”, “MONTHLY”, “DAILY”, “HARDWARE”, “CRITICAL”, “INFRA_UPDATE”, “CPS_SERVICES_UPDATE”, “CPS_VM_UPDATE”, “SECURITY_MONTHLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • patching_mode (str) – The value to assign to the patching_mode property of this MaintenanceExecutionSummary. 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’.
  • source_version (str) – The value to assign to the source_version property of this MaintenanceExecutionSummary.
  • target_version (str) – The value to assign to the target_version property of this MaintenanceExecutionSummary.
  • is_custom_action_timeout_enabled (bool) – The value to assign to the is_custom_action_timeout_enabled property of this MaintenanceExecutionSummary.
  • custom_action_timeout_in_mins (int) – The value to assign to the custom_action_timeout_in_mins property of this MaintenanceExecutionSummary.
  • workflow_id (str) – The value to assign to the workflow_id property of this MaintenanceExecutionSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MaintenanceExecutionSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MaintenanceExecutionSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MaintenanceExecutionSummary.
  • total_time_taken_in_mins (int) – The value to assign to the total_time_taken_in_mins property of this MaintenanceExecutionSummary.
compartment_id

Gets the compartment_id of this MaintenanceExecutionSummary. The OCID of the compartment.

Returns:The compartment_id of this MaintenanceExecutionSummary.
Return type:str
custom_action_timeout_in_mins

Gets the custom_action_timeout_in_mins of this MaintenanceExecutionSummary. Determines the amount of time the system will wait before the start of each compute server patching operation. Supported values are 15 to 120 minutes.

Returns:The custom_action_timeout_in_mins of this MaintenanceExecutionSummary.
Return type:int
defined_tags

Gets the defined_tags of this MaintenanceExecutionSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this MaintenanceExecutionSummary.
Return type:dict(str, dict(str, object))
description

Gets the description of this MaintenanceExecutionSummary. Description of the maintenance run execution.

Returns:The description of this MaintenanceExecutionSummary.
Return type:str
display_name

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

Returns:The display_name of this MaintenanceExecutionSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this MaintenanceExecutionSummary. Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this MaintenanceExecutionSummary.
Return type:dict(str, str)
id

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

Returns:The id of this MaintenanceExecutionSummary.
Return type:str
infrastructure_id

Gets the infrastructure_id of this MaintenanceExecutionSummary. The OCID of the Database Infrastructure on which the maintenance run execution occurred.

Returns:The infrastructure_id of this MaintenanceExecutionSummary.
Return type:str
is_custom_action_timeout_enabled

Gets the is_custom_action_timeout_enabled of this MaintenanceExecutionSummary. At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.

Returns:The is_custom_action_timeout_enabled of this MaintenanceExecutionSummary.
Return type:bool
lifecycle_details

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

Returns:The lifecycle_details of this MaintenanceExecutionSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this MaintenanceExecutionSummary. The state of the maintenance run execution.

Allowed values for this property are: “CREATING”, “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 MaintenanceExecutionSummary.
Return type:str
maintenance_run_id

Gets the maintenance_run_id of this MaintenanceExecutionSummary. The OCID of the maintenance run to which this maintenance execution belongs.

Returns:The maintenance_run_id of this MaintenanceExecutionSummary.
Return type:str
maintenance_subtype

Gets the maintenance_subtype of this MaintenanceExecutionSummary. Maintenance run execution sub-type.

Allowed values for this property are: “YEARLY”, “HALFYEARLY”, “QUARTERLY”, “MONTHLY”, “DAILY”, “HARDWARE”, “CRITICAL”, “INFRA_UPDATE”, “CPS_SERVICES_UPDATE”, “CPS_VM_UPDATE”, “SECURITY_MONTHLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The maintenance_subtype of this MaintenanceExecutionSummary.
Return type:str
maintenance_type

Gets the maintenance_type of this MaintenanceExecutionSummary. 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 MaintenanceExecutionSummary.
Return type:str
patching_mode

Gets the patching_mode of this MaintenanceExecutionSummary. The patching mode for the maintenance run that is being executed.

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 MaintenanceExecutionSummary.
Return type:str
source_version

Gets the source_version of this MaintenanceExecutionSummary. The source software version for the Oracle infrastructure.

Returns:The source_version of this MaintenanceExecutionSummary.
Return type:str
system_tags

Gets the system_tags of this MaintenanceExecutionSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }

Returns:The system_tags of this MaintenanceExecutionSummary.
Return type:dict(str, dict(str, object))
target_resource_type

Gets the target_resource_type of this MaintenanceExecutionSummary. The type of the target resource on which the maintenance run execution occurred.

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

Returns:The target_resource_type of this MaintenanceExecutionSummary.
Return type:str
target_version

Gets the target_version of this MaintenanceExecutionSummary. The target software version for the Database Infrastructure patching operation.

Returns:The target_version of this MaintenanceExecutionSummary.
Return type:str
time_ended

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

Returns:The time_ended of this MaintenanceExecutionSummary.
Return type:datetime
time_started

Gets the time_started of this MaintenanceExecutionSummary. The date and time the maintenance run execution started.

Returns:The time_started of this MaintenanceExecutionSummary.
Return type:datetime
total_time_taken_in_mins

Gets the total_time_taken_in_mins of this MaintenanceExecutionSummary. The total time taken by this execution in minutes.

Returns:The total_time_taken_in_mins of this MaintenanceExecutionSummary.
Return type:int
workflow_id

Gets the workflow_id of this MaintenanceExecutionSummary. The OCID of the work request executed by this execution.

Returns:The workflow_id of this MaintenanceExecutionSummary.
Return type:str