
com.pulumi.vault.ldap.kotlin.outputs.GetDynamicCredentialsResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.vault.ldap.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getDynamicCredentials.
* @property distinguishedNames
* @property id The provider-assigned unique ID for this managed resource.
* @property leaseDuration
* @property leaseId
* @property leaseRenewable
* @property mount
* @property namespace
* @property password
* @property roleName
* @property username
*/
public data class GetDynamicCredentialsResult(
public val distinguishedNames: List,
public val id: String,
public val leaseDuration: Int,
public val leaseId: String,
public val leaseRenewable: Boolean,
public val mount: String,
public val namespace: String? = null,
public val password: String,
public val roleName: String,
public val username: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.vault.ldap.outputs.GetDynamicCredentialsResult): GetDynamicCredentialsResult = GetDynamicCredentialsResult(
distinguishedNames = javaType.distinguishedNames().map({ args0 -> args0 }),
id = javaType.id(),
leaseDuration = javaType.leaseDuration(),
leaseId = javaType.leaseId(),
leaseRenewable = javaType.leaseRenewable(),
mount = javaType.mount(),
namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
password = javaType.password(),
roleName = javaType.roleName(),
username = javaType.username(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy