AnonymousTransactionsHandling¶
-
class
oci.mysql.models.AnonymousTransactionsHandling(**kwargs)¶ Bases:
objectSpecifies how the replication channel handles replicated transactions without an identifier, enabling replication from a source that does not use transaction-id-based replication to a replica that does.
Attributes
POLICY_ASSIGN_MANUAL_UUIDA constant which can be used with the policy property of a AnonymousTransactionsHandling. POLICY_ASSIGN_TARGET_UUIDA constant which can be used with the policy property of a AnonymousTransactionsHandling. POLICY_ERROR_ON_ANONYMOUSA constant which can be used with the policy property of a AnonymousTransactionsHandling. policy[Required] Gets the policy of this AnonymousTransactionsHandling. Methods
__init__(**kwargs)Initializes a new AnonymousTransactionsHandling 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'¶ A constant which can be used with the policy property of a AnonymousTransactionsHandling. This constant has a value of “ASSIGN_MANUAL_UUID”
-
POLICY_ASSIGN_TARGET_UUID= 'ASSIGN_TARGET_UUID'¶ A constant which can be used with the policy property of a AnonymousTransactionsHandling. This constant has a value of “ASSIGN_TARGET_UUID”
-
POLICY_ERROR_ON_ANONYMOUS= 'ERROR_ON_ANONYMOUS'¶ A constant which can be used with the policy property of a AnonymousTransactionsHandling. This constant has a value of “ERROR_ON_ANONYMOUS”
-
__init__(**kwargs)¶ Initializes a new AnonymousTransactionsHandling object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 AnonymousTransactionsHandling. 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’.
-
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.
-
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
-