ReplicaConfiguration class
Read-replica configuration for connecting to the primary instance.
Constructors
- ReplicaConfiguration({bool? cascadableReplica, bool? failoverTarget, String? kind, MySqlReplicaConfiguration? mysqlReplicaConfiguration})
- ReplicaConfiguration.fromJson(Map json_)
Properties
- cascadableReplica ↔ bool?
-
Specifies if a SQL Server replica is a cascadable replica.
getter/setter pair
- failoverTarget ↔ bool?
-
Specifies if the replica is the failover target.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind ↔ String?
-
This is always
sql#replicaConfiguration
.getter/setter pair - mysqlReplicaConfiguration ↔ MySqlReplicaConfiguration?
-
MySQL specific configuration when replicating from a MySQL on-premises
primary instance.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited