VmClusterUpdateDetails¶
-
class
oci.database.models.VmClusterUpdateDetails(**kwargs)¶ Bases:
objectDetails specifying which maintenance update to apply to the VM Cluster and which action is to be performed by the maintenance update. Applies to Exadata Cloud@Customer instances only.
Attributes
UPDATE_ACTION_PRECHECKA constant which can be used with the update_action property of a VmClusterUpdateDetails. UPDATE_ACTION_ROLLBACKA constant which can be used with the update_action property of a VmClusterUpdateDetails. UPDATE_ACTION_ROLLING_APPLYA constant which can be used with the update_action property of a VmClusterUpdateDetails. UPDATE_MODE_FULL_UPDATEA constant which can be used with the update_mode property of a VmClusterUpdateDetails. UPDATE_MODE_ONLINE_ALLCVSSA constant which can be used with the update_mode property of a VmClusterUpdateDetails. UPDATE_MODE_ONLINE_ALL_UPDATESA constant which can be used with the update_mode property of a VmClusterUpdateDetails. UPDATE_MODE_ONLINE_HIGHCVSSA constant which can be used with the update_mode property of a VmClusterUpdateDetails. UPDATE_MODE_PENDING_UPDATESA constant which can be used with the update_mode property of a VmClusterUpdateDetails. gi_software_image_idGets the gi_software_image_id of this VmClusterUpdateDetails. update_actionGets the update_action of this VmClusterUpdateDetails. update_idGets the update_id of this VmClusterUpdateDetails. update_modeGets the update_mode of this VmClusterUpdateDetails. Methods
__init__(**kwargs)Initializes a new VmClusterUpdateDetails object with values from keyword arguments. -
UPDATE_ACTION_PRECHECK= 'PRECHECK'¶ A constant which can be used with the update_action property of a VmClusterUpdateDetails. This constant has a value of “PRECHECK”
-
UPDATE_ACTION_ROLLBACK= 'ROLLBACK'¶ A constant which can be used with the update_action property of a VmClusterUpdateDetails. 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 VmClusterUpdateDetails. 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 VmClusterUpdateDetails. 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 VmClusterUpdateDetails. 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 VmClusterUpdateDetails. 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 VmClusterUpdateDetails. This constant has a value of “ONLINE_HIGHCVSS”
-
UPDATE_MODE_PENDING_UPDATES= 'PENDING_UPDATES'¶ A constant which can be used with the update_mode property of a VmClusterUpdateDetails. This constant has a value of “PENDING_UPDATES”
-
__init__(**kwargs)¶ Initializes a new VmClusterUpdateDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - update_id (str) – The value to assign to the update_id property of this VmClusterUpdateDetails.
- update_mode (str) – The value to assign to the update_mode property of this VmClusterUpdateDetails. Allowed values for this property are: “ONLINE_HIGHCVSS”, “ONLINE_ALLCVSS”, “ONLINE_ALL_UPDATES”, “PENDING_UPDATES”, “FULL_UPDATE”
- update_action (str) – The value to assign to the update_action property of this VmClusterUpdateDetails. Allowed values for this property are: “ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”
- gi_software_image_id (str) – The value to assign to the gi_software_image_id property of this VmClusterUpdateDetails.
-
gi_software_image_id¶ Gets the gi_software_image_id of this VmClusterUpdateDetails. The OCID of a grid infrastructure software image. This is a database software image of the type GRID_IMAGE.
Returns: The gi_software_image_id of this VmClusterUpdateDetails. Return type: str
-
update_action¶ Gets the update_action of this VmClusterUpdateDetails. The update action to perform.
Allowed values for this property are: “ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”
Returns: The update_action of this VmClusterUpdateDetails. Return type: str
-
update_id¶ Gets the update_id of this VmClusterUpdateDetails. The OCID of the maintenance update.
Returns: The update_id of this VmClusterUpdateDetails. Return type: str
-
update_mode¶ Gets the update_mode of this VmClusterUpdateDetails. The update mode to perform for OS Update.
Allowed values for this property are: “ONLINE_HIGHCVSS”, “ONLINE_ALLCVSS”, “ONLINE_ALL_UPDATES”, “PENDING_UPDATES”, “FULL_UPDATE”
Returns: The update_mode of this VmClusterUpdateDetails. Return type: str
-