com.pulumi.vault.kotlin.outputs.GetAuthBackendResult.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.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getAuthBackend.
* @property accessor The accessor for this auth method.
* @property defaultLeaseTtlSeconds The default lease duration in seconds.
* @property description A description of the auth method.
* @property id The provider-assigned unique ID for this managed resource.
* @property listingVisibility Specifies whether to show this mount in the UI-specific listing endpoint.
* @property local Specifies if the auth method is local only.
* @property maxLeaseTtlSeconds The maximum lease duration in seconds.
* @property namespace
* @property path
* @property type The name of the auth method type.
*/
public data class GetAuthBackendResult(
public val accessor: String,
public val defaultLeaseTtlSeconds: Int,
public val description: String,
public val id: String,
public val listingVisibility: String,
public val local: Boolean,
public val maxLeaseTtlSeconds: Int,
public val namespace: String? = null,
public val path: String,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.vault.outputs.GetAuthBackendResult): GetAuthBackendResult = GetAuthBackendResult(
accessor = javaType.accessor(),
defaultLeaseTtlSeconds = javaType.defaultLeaseTtlSeconds(),
description = javaType.description(),
id = javaType.id(),
listingVisibility = javaType.listingVisibility(),
local = javaType.local(),
maxLeaseTtlSeconds = javaType.maxLeaseTtlSeconds(),
namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
path = javaType.path(),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy