com.pulumi.gcp.secretmanager.kotlin.outputs.GetSecretVersionResult.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.secretmanager.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getSecretVersion.
* @property createTime The time at which the Secret was created.
* @property destroyTime The time at which the Secret was destroyed. Only present if state is DESTROYED.
* @property enabled True if the current state of the SecretVersion is enabled.
* @property id The provider-assigned unique ID for this managed resource.
* @property name The resource name of the SecretVersion. Format:
* `projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}`
* @property project
* @property secret
* @property secretData The secret data. No larger than 64KiB.
* @property version
*/
public data class GetSecretVersionResult(
public val createTime: String,
public val destroyTime: String,
public val enabled: Boolean,
public val id: String,
public val name: String,
public val project: String,
public val secret: String,
public val secretData: String,
public val version: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.secretmanager.outputs.GetSecretVersionResult): GetSecretVersionResult = GetSecretVersionResult(
createTime = javaType.createTime(),
destroyTime = javaType.destroyTime(),
enabled = javaType.enabled(),
id = javaType.id(),
name = javaType.name(),
project = javaType.project(),
secret = javaType.secret(),
secretData = javaType.secretData(),
version = javaType.version(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy