com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstancesInstanceClone.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.sql.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property 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](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
* @property databaseNames (SQL Server only, use with point_in_time) clone only the specified databases from the source instance. Clone all databases if empty.
* @property pointInTime The timestamp of the point in time that should be restored.
* @property 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.
* @property sourceInstanceName The name of the instance from which the point in time should be restored.
*/
public data class GetDatabaseInstancesInstanceClone(
public val allocatedIpRange: String,
public val databaseNames: List,
public val pointInTime: String,
public val preferredZone: String,
public val sourceInstanceName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.GetDatabaseInstancesInstanceClone): GetDatabaseInstancesInstanceClone = GetDatabaseInstancesInstanceClone(
allocatedIpRange = javaType.allocatedIpRange(),
databaseNames = javaType.databaseNames().map({ args0 -> args0 }),
pointInTime = javaType.pointInTime(),
preferredZone = javaType.preferredZone(),
sourceInstanceName = javaType.sourceInstanceName(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy