GoogleApi.SQLAdmin.V1beta4.Model.DemoteMasterContext (google_api_sql_admin v0.44.0) View Source
Database instance demote primary instance context.
Attributes
-
kind
(type:String.t
, default:nil
) - This is always sql#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.V1beta4.Model.DemoteMasterConfiguration.t
, default:nil
) - Configuration specific to read-replicas replicating from the on-premises primary instance. -
verifyGtidConsistency
(type:boolean()
, default:nil
) - Verify GTID consistency for demote operation. Default value: True. Second Generation instances only. 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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.SQLAdmin.V1beta4.Model.DemoteMasterContext{ kind: String.t() | nil, masterInstanceName: String.t() | nil, replicaConfiguration: GoogleApi.SQLAdmin.V1beta4.Model.DemoteMasterConfiguration.t() | nil, verifyGtidConsistency: boolean() | nil }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.