com.pulumi.gcp.sql.kotlin.outputs.DatabaseInstanceRestoreBackupContext.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.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property backupRunId The ID of the backup run to restore from.
* @property instanceId The ID of the instance that the backup was taken from. If left empty,
* this instance's ID will be used.
* @property project The full project ID of the source instance.`
*/
public data class DatabaseInstanceRestoreBackupContext(
public val backupRunId: Int,
public val instanceId: String? = null,
public val project: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.DatabaseInstanceRestoreBackupContext): DatabaseInstanceRestoreBackupContext = DatabaseInstanceRestoreBackupContext(
backupRunId = javaType.backupRunId(),
instanceId = javaType.instanceId().map({ args0 -> args0 }).orElse(null),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy