UpdateHistoryEntrySummary

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

Bases: object

The record of an maintenance update action on a specified cloud VM cluster. Applies to Exadata Cloud Service instances only.

Attributes:

LIFECYCLE_STATE_FAILED

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

LIFECYCLE_STATE_IN_PROGRESS

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

LIFECYCLE_STATE_SUCCEEDED

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

UPDATE_ACTION_NON_ROLLING_APPLY

A constant which can be used with the update_action property of a UpdateHistoryEntrySummary.

UPDATE_ACTION_PRECHECK

A constant which can be used with the update_action property of a UpdateHistoryEntrySummary.

UPDATE_ACTION_ROLLBACK

A constant which can be used with the update_action property of a UpdateHistoryEntrySummary.

UPDATE_ACTION_ROLLING_APPLY

A constant which can be used with the update_action property of a UpdateHistoryEntrySummary.

UPDATE_MODE_FULL_UPDATE

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.

UPDATE_MODE_ONLINE_ALLCVSS

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.

UPDATE_MODE_ONLINE_ALL_UPDATES

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.

UPDATE_MODE_ONLINE_HIGHCVSS

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.

UPDATE_MODE_PENDING_ALL_UPDATES

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.

UPDATE_MODE_PENDING_UPDATES_ALLCVSS

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.

UPDATE_MODE_PENDING_UPDATES_HIGHCVSS

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.

UPDATE_TYPE_GI_PATCH

A constant which can be used with the update_type property of a UpdateHistoryEntrySummary.

UPDATE_TYPE_GI_UPGRADE

A constant which can be used with the update_type property of a UpdateHistoryEntrySummary.

UPDATE_TYPE_OS_UPDATE

A constant which can be used with the update_type property of a UpdateHistoryEntrySummary.

id

[Required] Gets the id of this UpdateHistoryEntrySummary.

lifecycle_details

Gets the lifecycle_details of this UpdateHistoryEntrySummary.

lifecycle_state

[Required] Gets the lifecycle_state of this UpdateHistoryEntrySummary.

time_completed

Gets the time_completed of this UpdateHistoryEntrySummary.

time_started

[Required] Gets the time_started of this UpdateHistoryEntrySummary.

update_action

Gets the update_action of this UpdateHistoryEntrySummary.

update_id

[Required] Gets the update_id of this UpdateHistoryEntrySummary.

update_mode

Gets the update_mode of this UpdateHistoryEntrySummary.

update_type

[Required] Gets the update_type of this UpdateHistoryEntrySummary.

Methods:

__init__(**kwargs)

Initializes a new UpdateHistoryEntrySummary object with values from keyword arguments.

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

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

UPDATE_ACTION_NON_ROLLING_APPLY = 'NON_ROLLING_APPLY'

A constant which can be used with the update_action property of a UpdateHistoryEntrySummary. This constant has a value of “NON_ROLLING_APPLY”

UPDATE_ACTION_PRECHECK = 'PRECHECK'

A constant which can be used with the update_action property of a UpdateHistoryEntrySummary. This constant has a value of “PRECHECK”

UPDATE_ACTION_ROLLBACK = 'ROLLBACK'

A constant which can be used with the update_action property of a UpdateHistoryEntrySummary. This constant has a value of “ROLLBACK”

UPDATE_ACTION_ROLLING_APPLY = 'ROLLING_APPLY'

A constant which can be used with the update_action property of a UpdateHistoryEntrySummary. This constant has a value of “ROLLING_APPLY”

UPDATE_MODE_FULL_UPDATE = 'FULL_UPDATE'

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary. This constant has a value of “FULL_UPDATE”

UPDATE_MODE_ONLINE_ALLCVSS = 'ONLINE_ALLCVSS'

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary. This constant has a value of “ONLINE_ALLCVSS”

UPDATE_MODE_ONLINE_ALL_UPDATES = 'ONLINE_ALL_UPDATES'

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary. This constant has a value of “ONLINE_ALL_UPDATES”

UPDATE_MODE_ONLINE_HIGHCVSS = 'ONLINE_HIGHCVSS'

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary. This constant has a value of “ONLINE_HIGHCVSS”

UPDATE_MODE_PENDING_ALL_UPDATES = 'PENDING_ALL_UPDATES'

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary. This constant has a value of “PENDING_ALL_UPDATES”

UPDATE_MODE_PENDING_UPDATES_ALLCVSS = 'PENDING_UPDATES_ALLCVSS'

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary. This constant has a value of “PENDING_UPDATES_ALLCVSS”

UPDATE_MODE_PENDING_UPDATES_HIGHCVSS = 'PENDING_UPDATES_HIGHCVSS'

A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary. This constant has a value of “PENDING_UPDATES_HIGHCVSS”

UPDATE_TYPE_GI_PATCH = 'GI_PATCH'

A constant which can be used with the update_type property of a UpdateHistoryEntrySummary. This constant has a value of “GI_PATCH”

UPDATE_TYPE_GI_UPGRADE = 'GI_UPGRADE'

A constant which can be used with the update_type property of a UpdateHistoryEntrySummary. This constant has a value of “GI_UPGRADE”

UPDATE_TYPE_OS_UPDATE = 'OS_UPDATE'

A constant which can be used with the update_type property of a UpdateHistoryEntrySummary. This constant has a value of “OS_UPDATE”

__init__(**kwargs)

Initializes a new UpdateHistoryEntrySummary 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 UpdateHistoryEntrySummary.

  • update_id (str) – The value to assign to the update_id property of this UpdateHistoryEntrySummary.

  • update_action (str) – The value to assign to the update_action property of this UpdateHistoryEntrySummary. Allowed values for this property are: “ROLLING_APPLY”, “NON_ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • update_mode (str) – The value to assign to the update_mode property of this UpdateHistoryEntrySummary. Allowed values for this property are: “ONLINE_HIGHCVSS”, “ONLINE_ALLCVSS”, “ONLINE_ALL_UPDATES”, “PENDING_UPDATES_HIGHCVSS”, “PENDING_UPDATES_ALLCVSS”, “PENDING_ALL_UPDATES”, “FULL_UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • update_type (str) – The value to assign to the update_type property of this UpdateHistoryEntrySummary. Allowed values for this property are: “GI_UPGRADE”, “GI_PATCH”, “OS_UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this UpdateHistoryEntrySummary. Allowed values for this property are: “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, ‘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 UpdateHistoryEntrySummary.

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

  • time_completed (datetime) – The value to assign to the time_completed property of this UpdateHistoryEntrySummary.

property id

[Required] Gets the id of this UpdateHistoryEntrySummary. The OCID of the maintenance update history entry.

Returns

The id of this UpdateHistoryEntrySummary.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this UpdateHistoryEntrySummary. Descriptive text providing additional details about the lifecycle state.

Returns

The lifecycle_details of this UpdateHistoryEntrySummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this UpdateHistoryEntrySummary. The current lifecycle state of the maintenance update operation.

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

Returns

The lifecycle_state of this UpdateHistoryEntrySummary.

Return type

str

property time_completed

Gets the time_completed of this UpdateHistoryEntrySummary. The date and time when the maintenance update action completed.

Returns

The time_completed of this UpdateHistoryEntrySummary.

Return type

datetime

property time_started

[Required] Gets the time_started of this UpdateHistoryEntrySummary. The date and time when the maintenance update action started.

Returns

The time_started of this UpdateHistoryEntrySummary.

Return type

datetime

property update_action

Gets the update_action of this UpdateHistoryEntrySummary. The update action.

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

Returns

The update_action of this UpdateHistoryEntrySummary.

Return type

str

property update_id

[Required] Gets the update_id of this UpdateHistoryEntrySummary. The OCID of the maintenance update.

Returns

The update_id of this UpdateHistoryEntrySummary.

Return type

str

property update_mode

Gets the update_mode of this UpdateHistoryEntrySummary. The OS update mode performed using this maintenance update.

Allowed values for this property are: “ONLINE_HIGHCVSS”, “ONLINE_ALLCVSS”, “ONLINE_ALL_UPDATES”, “PENDING_UPDATES_HIGHCVSS”, “PENDING_UPDATES_ALLCVSS”, “PENDING_ALL_UPDATES”, “FULL_UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The update_mode of this UpdateHistoryEntrySummary.

Return type

str

property update_type

[Required] Gets the update_type of this UpdateHistoryEntrySummary. The type of cloud VM cluster maintenance update.

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

Returns

The update_type of this UpdateHistoryEntrySummary.

Return type

str