
com.pulumi.gcp.kms.kotlin.outputs.CryptoKeyPrimary.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.kms.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property name The resource name for the CryptoKey.
* @property state (Output)
* The current state of the CryptoKeyVersion.
*/
public data class CryptoKeyPrimary(
public val name: String? = null,
public val state: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.kms.outputs.CryptoKeyPrimary): CryptoKeyPrimary =
CryptoKeyPrimary(
name = javaType.name().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy