GoogleApi.SQLAdmin.V1.Model.CloneContext (google_api_sql_admin v0.71.0)

View Source

Database instance clone context.

Attributes

  • allocatedIpRange (type: String.t, default: nil) - The name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. Reserved for future use.
  • binLogCoordinates (type: GoogleApi.SQLAdmin.V1.Model.BinLogCoordinates.t, default: nil) - Binary log coordinates, if specified, identify the position up to which the source instance is cloned. If not specified, the source instance is cloned up to the most recent binary log coordinates.
  • databaseNames (type: list(String.t), default: nil) - (SQL Server only) Clone only the specified databases from the source instance. Clone all databases if empty.
  • destinationInstanceName (type: String.t, default: nil) - Name of the Cloud SQL instance to be created as a clone.
  • kind (type: String.t, default: nil) - This is always sql#cloneContext.
  • pitrTimestampMs (type: String.t, default: nil) - Reserved for future use.
  • pointInTime (type: DateTime.t, default: nil) - Timestamp, if specified, identifies the time to which the source instance is cloned.
  • preferredSecondaryZone (type: String.t, default: nil) - Optional. Copy clone and point-in-time recovery clone of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field. This field applies to all DB types.
  • preferredZone (type: String.t, default: nil) - Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance. This field applies to all DB types.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.SQLAdmin.V1.Model.CloneContext{
  allocatedIpRange: String.t() | nil,
  binLogCoordinates: GoogleApi.SQLAdmin.V1.Model.BinLogCoordinates.t() | nil,
  databaseNames: [String.t()] | nil,
  destinationInstanceName: String.t() | nil,
  kind: String.t() | nil,
  pitrTimestampMs: String.t() | nil,
  pointInTime: DateTime.t() | nil,
  preferredSecondaryZone: String.t() | nil,
  preferredZone: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.