GoogleApi.SQLAdmin.V1.Model.DemoteMasterContext (google_api_sql_admin v0.71.0)
View SourceDatabase instance demote primary instance context.
Attributes
-
kind
(type:String.t
, default:nil
) - This is alwayssql#demoteMasterContext
. -
masterInstanceName
(type:String.t
, default:nil
) - The name of the instance which will act as on-premises primary instance in the replication setup. -
replicaConfiguration
(type:GoogleApi.SQLAdmin.V1.Model.DemoteMasterConfiguration.t
, default:nil
) - Configuration specific to read-replicas replicating from the on-premises primary instance. -
skipReplicationSetup
(type:boolean()
, default:nil
) - Flag to skip replication setup on the instance. -
verifyGtidConsistency
(type:boolean()
, default:nil
) - Verify the GTID consistency for demote operation. Default value:True
. Setting this flag tofalse
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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.SQLAdmin.V1.Model.DemoteMasterContext{ kind: String.t() | nil, masterInstanceName: String.t() | nil, replicaConfiguration: GoogleApi.SQLAdmin.V1.Model.DemoteMasterConfiguration.t() | nil, skipReplicationSetup: boolean() | nil, verifyGtidConsistency: boolean() | nil }