AssignManualUuidHandling¶
-
class
oci.mysql.models.
AssignManualUuidHandling
(**kwargs)¶ Bases:
oci.mysql.models.anonymous_transactions_handling.AnonymousTransactionsHandling
Enables assignment of IDs on the target to anonymous transactions coming from the source. A manually defined UUID is added as a prefix to the ID.
Attributes
POLICY_ASSIGN_MANUAL_UUID
str(object=’’) -> str POLICY_ASSIGN_TARGET_UUID
str(object=’’) -> str POLICY_ERROR_ON_ANONYMOUS
str(object=’’) -> str last_configured_log_filename
Gets the last_configured_log_filename of this AssignManualUuidHandling. last_configured_log_offset
Gets the last_configured_log_offset of this AssignManualUuidHandling. policy
[Required] Gets the policy of this AnonymousTransactionsHandling. uuid
Gets the uuid of this AssignManualUuidHandling. Methods
__init__
(**kwargs)Initializes a new AssignManualUuidHandling object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
POLICY_ASSIGN_MANUAL_UUID
= 'ASSIGN_MANUAL_UUID'¶
-
POLICY_ASSIGN_TARGET_UUID
= 'ASSIGN_TARGET_UUID'¶
-
POLICY_ERROR_ON_ANONYMOUS
= 'ERROR_ON_ANONYMOUS'¶
-
__init__
(**kwargs)¶ Initializes a new AssignManualUuidHandling object with values from keyword arguments. The default value of the
policy
attribute of this class isASSIGN_MANUAL_UUID
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - policy (str) – The value to assign to the policy property of this AssignManualUuidHandling. Allowed values for this property are: “ERROR_ON_ANONYMOUS”, “ASSIGN_TARGET_UUID”, “ASSIGN_MANUAL_UUID”
- last_configured_log_filename (str) – The value to assign to the last_configured_log_filename property of this AssignManualUuidHandling.
- last_configured_log_offset (int) – The value to assign to the last_configured_log_offset property of this AssignManualUuidHandling.
- uuid (str) – The value to assign to the uuid property of this AssignManualUuidHandling.
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
last_configured_log_filename
¶ Gets the last_configured_log_filename of this AssignManualUuidHandling. Specifies one of the coordinates (file) at which the replica should begin reading the source’s log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
Returns: The last_configured_log_filename of this AssignManualUuidHandling. Return type: str
-
last_configured_log_offset
¶ Gets the last_configured_log_offset of this AssignManualUuidHandling. Specifies one of the coordinates (offset) at which the replica should begin reading the source’s log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
Returns: The last_configured_log_offset of this AssignManualUuidHandling. Return type: int
-
policy
¶ [Required] Gets the policy of this AnonymousTransactionsHandling. Specifies how the replication channel handles anonymous transactions.
Allowed values for this property are: “ERROR_ON_ANONYMOUS”, “ASSIGN_TARGET_UUID”, “ASSIGN_MANUAL_UUID”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The policy of this AnonymousTransactionsHandling. Return type: str
-
uuid
¶ Gets the uuid of this AssignManualUuidHandling. The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later.
Returns: The uuid of this AssignManualUuidHandling. Return type: str
-