![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.deviceregistry.kotlin.inputs.OwnCertificateArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.deviceregistry.kotlin.inputs
import com.pulumi.azurenative.deviceregistry.inputs.OwnCertificateArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Certificate or private key that can be used by the southbound connector connecting to the shop floor/OT device. The accepted extensions are .der for certificates and .pfx/.pem for private keys.
* @property certPasswordReference Secret Reference Name (Pfx or Pem password).
* @property certSecretReference Secret Reference name (cert and private key).
* @property certThumbprint Certificate thumbprint.
*/
public data class OwnCertificateArgs(
public val certPasswordReference: Output? = null,
public val certSecretReference: Output? = null,
public val certThumbprint: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.deviceregistry.inputs.OwnCertificateArgs =
com.pulumi.azurenative.deviceregistry.inputs.OwnCertificateArgs.builder()
.certPasswordReference(certPasswordReference?.applyValue({ args0 -> args0 }))
.certSecretReference(certSecretReference?.applyValue({ args0 -> args0 }))
.certThumbprint(certThumbprint?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OwnCertificateArgs].
*/
@PulumiTagMarker
public class OwnCertificateArgsBuilder internal constructor() {
private var certPasswordReference: Output? = null
private var certSecretReference: Output? = null
private var certThumbprint: Output? = null
/**
* @param value Secret Reference Name (Pfx or Pem password).
*/
@JvmName("xqqndhjlbfjpfkfr")
public suspend fun certPasswordReference(`value`: Output) {
this.certPasswordReference = value
}
/**
* @param value Secret Reference name (cert and private key).
*/
@JvmName("mepkrlsaoywivaxe")
public suspend fun certSecretReference(`value`: Output) {
this.certSecretReference = value
}
/**
* @param value Certificate thumbprint.
*/
@JvmName("qufpcrkviqhtmsly")
public suspend fun certThumbprint(`value`: Output) {
this.certThumbprint = value
}
/**
* @param value Secret Reference Name (Pfx or Pem password).
*/
@JvmName("lkqokiqcukcsmugk")
public suspend fun certPasswordReference(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certPasswordReference = mapped
}
/**
* @param value Secret Reference name (cert and private key).
*/
@JvmName("aynqofjmqbnwyify")
public suspend fun certSecretReference(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certSecretReference = mapped
}
/**
* @param value Certificate thumbprint.
*/
@JvmName("rbbsaqhqhuprmilo")
public suspend fun certThumbprint(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certThumbprint = mapped
}
internal fun build(): OwnCertificateArgs = OwnCertificateArgs(
certPasswordReference = certPasswordReference,
certSecretReference = certSecretReference,
certThumbprint = certThumbprint,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy