com.pulumi.vault.kotlin.outputs.GetNomadAccessTokenResult.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
/**
* A collection of values returned by getNomadAccessToken.
* @property accessorId The public identifier for a specific token. It can be used
* to look up information about a token or to revoke a token.
* @property backend
* @property id The provider-assigned unique ID for this managed resource.
* @property namespace
* @property role
* @property secretId The token to be used when making requests to Nomad and should be kept private.
*/
public data class GetNomadAccessTokenResult(
public val accessorId: String,
public val backend: String,
public val id: String,
public val namespace: String? = null,
public val role: String,
public val secretId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.vault.outputs.GetNomadAccessTokenResult): GetNomadAccessTokenResult = GetNomadAccessTokenResult(
accessorId = javaType.accessorId(),
backend = javaType.backend(),
id = javaType.id(),
namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
role = javaType.role(),
secretId = javaType.secretId(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy