DatabaseInstanceClone class

Constructors

DatabaseInstanceClone({Input<String?>? allocatedIpRange, Input<List<String>?>? databaseNames, Input<String?>? pointInTime, Input<String?>? preferredZone, Input<String?>? sourceInstanceDeletionTime, required Input<String> sourceInstanceName, Input<String?>? sourceProject})
Creates a new DatabaseInstanceClone. allocatedIpRange 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?. databaseNames (SQL Server only, use with pointInTime) Clone only the specified databases from the source instance. Clone all databases if empty. pointInTime The timestamp of the point in time that should be restored. preferredZone (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance. clone-unavailable-instance sourceInstanceDeletionTime The timestamp of when the source instance was deleted for a clone from a deleted instance. sourceInstanceName Name of the source instance which will be cloned. sourceProject Id of source project where source instances exits, required for cross project clone scenario.
const
DatabaseInstanceClone.fromMap(Map<String, dynamic> map)
factory

Properties

allocatedIpRange → Input<String?>?
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?.
final
databaseNames → Input<List<String>?>?
(SQL Server only, use with pointInTime) Clone only the specified databases from the source instance. Clone all databases if empty.
final
hashCode → int
The hash code for this object.
no setterinherited
pointInTime → Input<String?>?
The timestamp of the point in time that should be restored.
final
preferredZone → Input<String?>?
(Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance. clone-unavailable-instance
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceInstanceDeletionTime → Input<String?>?
The timestamp of when the source instance was deleted for a clone from a deleted instance.
final
sourceInstanceName → Input<String>
Name of the source instance which will be cloned.
final
sourceProject → Input<String?>?
Id of source project where source instances exits, required for cross project clone scenario.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited