com.pulumi.gcp.composer.kotlin.outputs.GetEnvironmentResult.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.composer.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getEnvironment.
* @property configs Configuration parameters for the environment.
* @property effectiveLabels
* @property id The provider-assigned unique ID for this managed resource.
* @property labels
* @property name
* @property project
* @property pulumiLabels
* @property region
* @property storageConfigs
*/
public data class GetEnvironmentResult(
public val configs: List,
public val effectiveLabels: Map,
public val id: String,
public val labels: Map,
public val name: String,
public val project: String? = null,
public val pulumiLabels: Map,
public val region: String? = null,
public val storageConfigs: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.composer.outputs.GetEnvironmentResult): GetEnvironmentResult = GetEnvironmentResult(
configs = javaType.configs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.composer.kotlin.outputs.GetEnvironmentConfig.Companion.toKotlin(args0)
})
}),
effectiveLabels = javaType.effectiveLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
id = javaType.id(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
name = javaType.name(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
pulumiLabels = javaType.pulumiLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
region = javaType.region().map({ args0 -> args0 }).orElse(null),
storageConfigs = javaType.storageConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.composer.kotlin.outputs.GetEnvironmentStorageConfig.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy