com.pulumi.gcp.certificatemanager.kotlin.outputs.GetCertificateMapResult.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.certificatemanager.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getCertificateMap.
* @property createTime
* @property description
* @property effectiveLabels
* @property gclbTargets
* @property id The provider-assigned unique ID for this managed resource.
* @property labels
* @property name
* @property project
* @property pulumiLabels
* @property updateTime
*/
public data class GetCertificateMapResult(
public val createTime: String,
public val description: String,
public val effectiveLabels: Map,
public val gclbTargets: List,
public val id: String,
public val labels: Map,
public val name: String,
public val project: String? = null,
public val pulumiLabels: Map,
public val updateTime: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.certificatemanager.outputs.GetCertificateMapResult): GetCertificateMapResult = GetCertificateMapResult(
createTime = javaType.createTime(),
description = javaType.description(),
effectiveLabels = javaType.effectiveLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
gclbTargets = javaType.gclbTargets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.certificatemanager.kotlin.outputs.GetCertificateMapGclbTarget.Companion.toKotlin(args0)
})
}),
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(),
updateTime = javaType.updateTime(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy