
com.pulumi.azure.servicefabric.kotlin.outputs.ManagedClusterAuthentication.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.servicefabric.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property activeDirectory A `active_directory` block as defined above.
* @property certificates One or more `certificate` blocks as defined below.
*/
public data class ManagedClusterAuthentication(
public val activeDirectory: ManagedClusterAuthenticationActiveDirectory? = null,
public val certificates: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.servicefabric.outputs.ManagedClusterAuthentication): ManagedClusterAuthentication = ManagedClusterAuthentication(
activeDirectory = javaType.activeDirectory().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.servicefabric.kotlin.outputs.ManagedClusterAuthenticationActiveDirectory.Companion.toKotlin(args0)
})
}).orElse(null),
certificates = javaType.certificates().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.servicefabric.kotlin.outputs.ManagedClusterAuthenticationCertificate.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy