DatabaseInstanceClone

data class DatabaseInstanceClone(val allocatedIpRange: String? = null, val databaseNames: List<String>? = null, val pointInTime: String? = null, val sourceInstanceName: String)

Constructors

Link copied to clipboard
constructor(allocatedIpRange: String? = null, databaseNames: List<String>? = null, pointInTime: String? = null, sourceInstanceName: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The name of the allocated ip range for the private ip CloudSQL 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?.

Link copied to clipboard
val databaseNames: List<String>? = null

(SQL Server only, use with point_in_time) Clone only the specified databases from the source instance. Clone all databases if empty.

Link copied to clipboard
val pointInTime: String? = null

The timestamp of the point in time that should be restored. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Link copied to clipboard

Name of the source instance which will be cloned.