ControlledUpdate¶
-
class
oci.mysql.models.ControlledUpdate(**kwargs)¶ Bases:
objectThe details of the last successfully processed controlled update action.
Attributes
TARGET_DB_INSTANCES_ALL_BUT_PRIMARYA constant which can be used with the target_db_instances property of a ControlledUpdate. TARGET_DB_INSTANCES_PRIMARY_ONLYA constant which can be used with the target_db_instances property of a ControlledUpdate. target_db_instancesGets the target_db_instances of this ControlledUpdate. target_mysql_versionGets the target_mysql_version of this ControlledUpdate. Methods
__init__(**kwargs)Initializes a new ControlledUpdate object with values from keyword arguments. -
TARGET_DB_INSTANCES_ALL_BUT_PRIMARY= 'ALL_BUT_PRIMARY'¶ A constant which can be used with the target_db_instances property of a ControlledUpdate. This constant has a value of “ALL_BUT_PRIMARY”
-
TARGET_DB_INSTANCES_PRIMARY_ONLY= 'PRIMARY_ONLY'¶ A constant which can be used with the target_db_instances property of a ControlledUpdate. This constant has a value of “PRIMARY_ONLY”
-
__init__(**kwargs)¶ Initializes a new ControlledUpdate object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - target_mysql_version (str) – The value to assign to the target_mysql_version property of this ControlledUpdate.
- target_db_instances (str) – The value to assign to the target_db_instances property of this ControlledUpdate. Allowed values for this property are: “ALL_BUT_PRIMARY”, “PRIMARY_ONLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
target_db_instances¶ Gets the target_db_instances of this ControlledUpdate. Defines the MySQL instances to be operated during a controlled update.
- ALL_BUT_PRIMARY: Update all MySQL instances in a highly available DB System except the primary group member, without triggering a controlled failover.
- PRIMARY_ONLY: Update the primary group member in a highly available DB System after a controlled failover (downtime is expected). This operation requires that the other MySQL instances have been previously updated using the ALL_BUT_PRIMARY option.
Allowed values for this property are: “ALL_BUT_PRIMARY”, “PRIMARY_ONLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The target_db_instances of this ControlledUpdate. Return type: str
-
target_mysql_version¶ Gets the target_mysql_version of this ControlledUpdate. The MySQL version to be applied to the selected instances.
Returns: The target_mysql_version of this ControlledUpdate. Return type: str
-