All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.composer.kotlin.outputs.GetEnvironmentResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@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