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