BaseccVmClusterUpdate¶
- class oci.database.models.BaseccVmClusterUpdate(**kwargs)¶
Bases:
objectMaintenance update details for a BaseDB-C@C VM cluster.
Attributes:
A constant which can be used with the available_actions property of a BaseccVmClusterUpdate.
A constant which can be used with the available_actions property of a BaseccVmClusterUpdate.
A constant which can be used with the available_actions property of a BaseccVmClusterUpdate.
A constant which can be used with the last_action property of a BaseccVmClusterUpdate.
A constant which can be used with the last_action property of a BaseccVmClusterUpdate.
A constant which can be used with the last_action property of a BaseccVmClusterUpdate.
A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdate.
A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdate.
A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdate.
A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdate.
A constant which can be used with the update_type property of a BaseccVmClusterUpdate.
A constant which can be used with the update_type property of a BaseccVmClusterUpdate.
Gets the available_actions of this BaseccVmClusterUpdate.
[Required] Gets the description of this BaseccVmClusterUpdate.
[Required] Gets the id of this BaseccVmClusterUpdate.
Gets the last_action of this BaseccVmClusterUpdate.
Gets the lifecycle_details of this BaseccVmClusterUpdate.
Gets the lifecycle_state of this BaseccVmClusterUpdate.
[Required] Gets the time_released of this BaseccVmClusterUpdate.
[Required] Gets the update_type of this BaseccVmClusterUpdate.
[Required] Gets the version of this BaseccVmClusterUpdate.
Methods:
__init__(**kwargs)Initializes a new BaseccVmClusterUpdate object with values from keyword arguments.
- AVAILABLE_ACTIONS_PRECHECK = 'PRECHECK'¶
A constant which can be used with the available_actions property of a BaseccVmClusterUpdate. This constant has a value of “PRECHECK”
- AVAILABLE_ACTIONS_ROLLBACK = 'ROLLBACK'¶
A constant which can be used with the available_actions property of a BaseccVmClusterUpdate. This constant has a value of “ROLLBACK”
- AVAILABLE_ACTIONS_ROLLING_APPLY = 'ROLLING_APPLY'¶
A constant which can be used with the available_actions property of a BaseccVmClusterUpdate. This constant has a value of “ROLLING_APPLY”
- LAST_ACTION_PRECHECK = 'PRECHECK'¶
A constant which can be used with the last_action property of a BaseccVmClusterUpdate. This constant has a value of “PRECHECK”
- LAST_ACTION_ROLLBACK = 'ROLLBACK'¶
A constant which can be used with the last_action property of a BaseccVmClusterUpdate. This constant has a value of “ROLLBACK”
- LAST_ACTION_ROLLING_APPLY = 'ROLLING_APPLY'¶
A constant which can be used with the last_action property of a BaseccVmClusterUpdate. This constant has a value of “ROLLING_APPLY”
- LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'¶
A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdate. This constant has a value of “AVAILABLE”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdate. 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 BaseccVmClusterUpdate. This constant has a value of “IN_PROGRESS”
- LIFECYCLE_STATE_SUCCESS = 'SUCCESS'¶
A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdate. This constant has a value of “SUCCESS”
- UPDATE_TYPE_GI_PATCH = 'GI_PATCH'¶
A constant which can be used with the update_type property of a BaseccVmClusterUpdate. 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 BaseccVmClusterUpdate. This constant has a value of “GI_UPGRADE”
- __init__(**kwargs)¶
Initializes a new BaseccVmClusterUpdate 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 BaseccVmClusterUpdate.
description (str) – The value to assign to the description property of this BaseccVmClusterUpdate.
last_action (str) – The value to assign to the last_action property of this BaseccVmClusterUpdate. Allowed values for this property are: “ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
available_actions (list[str]) – The value to assign to the available_actions property of this BaseccVmClusterUpdate. Allowed values for items in this list are: “ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”, ‘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 BaseccVmClusterUpdate. Allowed values for this property are: “GI_UPGRADE”, “GI_PATCH”, ‘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 BaseccVmClusterUpdate.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this BaseccVmClusterUpdate. Allowed values for this property are: “AVAILABLE”, “SUCCESS”, “IN_PROGRESS”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_released (datetime) – The value to assign to the time_released property of this BaseccVmClusterUpdate.
version (str) – The value to assign to the version property of this BaseccVmClusterUpdate.
- property available_actions¶
Gets the available_actions of this BaseccVmClusterUpdate. The possible actions performed by the update operation on the infrastructure components.
Allowed values for items in this list are: “ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The available_actions of this BaseccVmClusterUpdate.
- Return type
list[str]
- property description¶
[Required] Gets the description of this BaseccVmClusterUpdate. Details of the maintenance update package.
- Returns
The description of this BaseccVmClusterUpdate.
- Return type
str
- property id¶
[Required] Gets the id of this BaseccVmClusterUpdate. The OCID of the maintenance update.
- Returns
The id of this BaseccVmClusterUpdate.
- Return type
str
- property last_action¶
Gets the last_action of this BaseccVmClusterUpdate. The previous update action performed.
Allowed values for this property are: “ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The last_action of this BaseccVmClusterUpdate.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this BaseccVmClusterUpdate. Descriptive text providing additional details about the lifecycle state.
- Returns
The lifecycle_details of this BaseccVmClusterUpdate.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this BaseccVmClusterUpdate. The current state of the maintenance update. Dependent on value of lastAction.
Allowed values for this property are: “AVAILABLE”, “SUCCESS”, “IN_PROGRESS”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this BaseccVmClusterUpdate.
- Return type
str
- property time_released¶
[Required] Gets the time_released of this BaseccVmClusterUpdate. The date and time the maintenance update was released.
- Returns
The time_released of this BaseccVmClusterUpdate.
- Return type
datetime
- property update_type¶
[Required] Gets the update_type of this BaseccVmClusterUpdate. The type of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster maintenance update.
Allowed values for this property are: “GI_UPGRADE”, “GI_PATCH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The update_type of this BaseccVmClusterUpdate.
- Return type
str
- property version¶
[Required] Gets the version of this BaseccVmClusterUpdate. The version of the maintenance update package.
- Returns
The version of this BaseccVmClusterUpdate.
- Return type
str