com.pulumi.gcp.backupdisasterrecovery.kotlin.outputs.GetBackupResult.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.backupdisasterrecovery.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getBackup.
* @property backupVaultId
* @property backups
* @property dataSourceId
* @property id The provider-assigned unique ID for this managed resource.
* @property location
* @property name
* @property project
*/
public data class GetBackupResult(
public val backupVaultId: String,
public val backups: List,
public val dataSourceId: String,
public val id: String,
public val location: String,
public val name: String,
public val project: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.backupdisasterrecovery.outputs.GetBackupResult): GetBackupResult = GetBackupResult(
backupVaultId = javaType.backupVaultId(),
backups = javaType.backups().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.backupdisasterrecovery.kotlin.outputs.GetBackupBackup.Companion.toKotlin(args0)
})
}),
dataSourceId = javaType.dataSourceId(),
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
project = javaType.project(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy