com.pulumi.gcp.deploymentmanager.kotlin.outputs.DeploymentTarget.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.deploymentmanager.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property config The root configuration file to use for this deployment.
* Structure is documented below.
* @property imports Specifies import files for this configuration. This can be
* used to import templates or other files. For example, you might
* import a text file in order to use the file in a template.
* Structure is documented below.
*/
public data class DeploymentTarget(
public val config: DeploymentTargetConfig,
public val imports: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.deploymentmanager.outputs.DeploymentTarget): DeploymentTarget = DeploymentTarget(
config = javaType.config().let({ args0 ->
com.pulumi.gcp.deploymentmanager.kotlin.outputs.DeploymentTargetConfig.Companion.toKotlin(args0)
}),
imports = javaType.imports().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.deploymentmanager.kotlin.outputs.DeploymentTargetImport.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy