com.pulumi.vault.kotlin.outputs.GetPolicyDocumentResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-vault-kotlin Show documentation
Show all versions of pulumi-vault-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.vault.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getPolicyDocument.
* @property hcl The above arguments serialized as a standard Vault HCL policy document.
* @property id The provider-assigned unique ID for this managed resource.
* @property namespace
* @property rules
*/
public data class GetPolicyDocumentResult(
public val hcl: String,
public val id: String,
public val namespace: String? = null,
public val rules: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.vault.outputs.GetPolicyDocumentResult): GetPolicyDocumentResult = GetPolicyDocumentResult(
hcl = javaType.hcl(),
id = javaType.id(),
namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
rules = javaType.rules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.vault.kotlin.outputs.GetPolicyDocumentRule.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy