MaintenanceRunSummary

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

Bases: object

Details of a maintenance run.

Attributes

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_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_HARDWARE 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_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.
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_EXADATA_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.
description Gets the description of this MaintenanceRunSummary.
display_name [Required] Gets the display_name of this MaintenanceRunSummary.
id [Required] Gets the id 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_id Gets the patch_id 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.
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.

Methods

__init__(**kwargs) Initializes a new MaintenanceRunSummary object with values from keyword arguments.
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_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_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_QUARTERLY = 'QUARTERLY'

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

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”

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_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_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”, ‘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”, ‘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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
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
description

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

Returns:The description of this MaintenanceRunSummary.
Return type:str
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
id

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

Returns:The id of this MaintenanceRunSummary.
Return type:str
lifecycle_details

Gets the lifecycle_details of this MaintenanceRunSummary. Additional information about the current lifecycleState.

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

[Required] Gets the lifecycle_state of this MaintenanceRunSummary. The current state of the maintenance run.

Allowed values for this property are: “SCHEDULED”, “IN_PROGRESS”, “SUCCEEDED”, “SKIPPED”, “FAILED”, “UPDATING”, “DELETING”, “DELETED”, ‘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
maintenance_subtype

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

Allowed values for this property are: “QUARTERLY”, “HARDWARE”, “CRITICAL”, ‘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
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
patch_id

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

Returns:The patch_id of this MaintenanceRunSummary.
Return type:str
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
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”, ‘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
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
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
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