Class ReplicaConfiguration
Read-replica configuration for connecting to the primary instance.
Implements
Inherited Members
Namespace: Google.Apis.SQLAdmin.v1beta4.Data
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class ReplicaConfiguration : IDirectResponseSchema
Properties
CascadableReplica
Optional. Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.
Declaration
[JsonProperty("cascadableReplica")]
public virtual bool? CascadableReplica { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FailoverTarget
Specifies if the replica is the failover target. If the field is set to true
the replica will be
designated as a failover replica. In case the primary instance fails, the replica instance will be promoted
as the new primary instance. Only one replica can be specified as failover target, and the replica has to be
in different zone with the primary instance.
Declaration
[JsonProperty("failoverTarget")]
public virtual bool? FailoverTarget { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Kind
This is always sql#replicaConfiguration
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
MysqlReplicaConfiguration
MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication
configuration information such as the username, password, certificates, and keys are not stored in the
instance metadata. The configuration information is used only to set up the replication connection and is
stored by MySQL in a file named master.info
in the data directory.
Declaration
[JsonProperty("mysqlReplicaConfiguration")]
public virtual MySqlReplicaConfiguration MysqlReplicaConfiguration { get; set; }
Property Value
Type | Description |
---|---|
MySqlReplicaConfiguration |