UpdateReplicaDetails¶
-
class
oci.mysql.models.
UpdateReplicaDetails
(**kwargs)¶ Bases:
object
Details required to update a read replica.
Methods
__init__
(**kwargs)Initializes a new UpdateReplicaDetails object with values from keyword arguments. Attributes
defined_tags
Gets the defined_tags of this UpdateReplicaDetails. description
Gets the description of this UpdateReplicaDetails. display_name
Gets the display_name of this UpdateReplicaDetails. freeform_tags
Gets the freeform_tags of this UpdateReplicaDetails. is_delete_protected
Gets the is_delete_protected of this UpdateReplicaDetails. replica_overrides
Gets the replica_overrides of this UpdateReplicaDetails. -
__init__
(**kwargs)¶ Initializes a new UpdateReplicaDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this UpdateReplicaDetails.
- description (str) – The value to assign to the description property of this UpdateReplicaDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateReplicaDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateReplicaDetails.
- is_delete_protected (bool) – The value to assign to the is_delete_protected property of this UpdateReplicaDetails.
- replica_overrides (oci.mysql.models.ReplicaOverrides) – The value to assign to the replica_overrides property of this UpdateReplicaDetails.
Gets the defined_tags of this UpdateReplicaDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this UpdateReplicaDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this UpdateReplicaDetails. User provided description of the read replica.
Returns: The description of this UpdateReplicaDetails. Return type: str
-
display_name
¶ Gets the display_name of this UpdateReplicaDetails. The user-friendly name for the read replica. It does not have to be unique.
Returns: The display_name of this UpdateReplicaDetails. Return type: str
Gets the freeform_tags of this UpdateReplicaDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this UpdateReplicaDetails. Return type: dict(str, str)
-
is_delete_protected
¶ Gets the is_delete_protected of this UpdateReplicaDetails. Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.
Returns: The is_delete_protected of this UpdateReplicaDetails. Return type: bool
-
replica_overrides
¶ Gets the replica_overrides of this UpdateReplicaDetails.
Returns: The replica_overrides of this UpdateReplicaDetails. Return type: oci.mysql.models.ReplicaOverrides
-