google_api_sql_admin v0.34.1 GoogleApi.SQLAdmin.V1beta4.Model.DemoteMasterContext View Source

Database instance demote master 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 master in the replication setup.
  • replicaConfiguration (type: GoogleApi.SQLAdmin.V1beta4.Model.DemoteMasterConfiguration.t, default: nil) - Configuration specific to read-replicas replicating from the on-premises master.
  • 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 master 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(),
  masterInstanceName: String.t(),
  replicaConfiguration:
    GoogleApi.SQLAdmin.V1beta4.Model.DemoteMasterConfiguration.t(),
  verifyGtidConsistency: boolean()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.