Show / Hide Table of Contents

Class DemoteMasterContext

Database instance demote primary instance context.

Inheritance
object
DemoteMasterContext
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.SQLAdmin.v1.Data
Assembly: Google.Apis.SQLAdmin.v1.dll
Syntax
public class DemoteMasterContext : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Kind

This is always sql#demoteMasterContext.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
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
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

SkipReplicationSetup

Flag to skip replication setup on the instance.

Declaration
[JsonProperty("skipReplicationSetup")]
public virtual bool? SkipReplicationSetup { get; set; }
Property Value
Type Description
bool?

VerifyGtidConsistency

Verify the GTID consistency for demote operation. Default value: True. Setting this flag to false enables you to bypass the 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
bool?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX