
com.pulumi.vault.pkiSecret.kotlin.outputs.GetBackendKeysResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.vault.pkiSecret.kotlin.outputs
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getBackendKeys.
* @property backend
* @property id The provider-assigned unique ID for this managed resource.
* @property keyInfo Map of key strings read from Vault.
* @property keyInfoJson JSON-encoded key data read from Vault.
* @property keys Keys used under the backend path.
* @property namespace
*/
public data class GetBackendKeysResult(
public val backend: String,
public val id: String,
public val keyInfo: Map,
public val keyInfoJson: String,
public val keys: List,
public val namespace: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.vault.pkiSecret.outputs.GetBackendKeysResult): GetBackendKeysResult = GetBackendKeysResult(
backend = javaType.backend(),
id = javaType.id(),
keyInfo = javaType.keyInfo().map({ args0 -> args0.key.to(args0.value) }).toMap(),
keyInfoJson = javaType.keyInfoJson(),
keys = javaType.keys().map({ args0 -> args0 }),
namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy