Class DemoteMasterContext
Database instance demote primary instance context.
Inheritance
System.Object
DemoteMasterContext
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.SQLAdmin.v1beta4.Data
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class DemoteMasterContext : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Kind
This is always sql#demoteMasterContext.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
MasterInstanceName
The name of the instance which will act as on-premises primary instance in the replication setup.
Declaration
[JsonProperty("masterInstanceName")]
public virtual string MasterInstanceName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ReplicaConfiguration
Configuration specific to read-replicas replicating from the on-premises primary instance.
Declaration
[JsonProperty("replicaConfiguration")]
public virtual DemoteMasterConfiguration ReplicaConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| DemoteMasterConfiguration |
VerifyGtidConsistency
Verify GTID consistency for demote operation. Default value: True. Setting this flag to false enables you to bypass GTID consistency check between on-premises primary instance and Cloud SQL instance during the demotion operation but also exposes you to the risk of future replication failures. Change the value only if you know the reason for the GTID divergence and are confident that doing so will not cause any replication issues.
Declaration
[JsonProperty("verifyGtidConsistency")]
public virtual bool? VerifyGtidConsistency { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |