![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datafactory.kotlin.inputs.WebClientCertificateAuthenticationArgs.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.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.WebClientCertificateAuthenticationArgs.builder
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A WebLinkedService that uses client certificate based authentication to communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also provide valid credentials to the client.
* @property authenticationType Type of authentication used to connect to the web table source.
* Expected value is 'ClientCertificate'.
* @property password Password for the PFX file.
* @property pfx Base64-encoded contents of a PFX file.
* @property url The URL of the web service endpoint, e.g. https://www.microsoft.com . Type: string (or Expression with resultType string).
*/
public data class WebClientCertificateAuthenticationArgs(
public val authenticationType: Output,
public val password: Output>,
public val pfx: Output>,
public val url: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.WebClientCertificateAuthenticationArgs =
com.pulumi.azurenative.datafactory.inputs.WebClientCertificateAuthenticationArgs.builder()
.authenticationType(authenticationType.applyValue({ args0 -> args0 }))
.password(
password.applyValue({ args0 ->
args0.transform({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.pfx(
pfx.applyValue({ args0 ->
args0.transform(
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.url(url.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WebClientCertificateAuthenticationArgs].
*/
@PulumiTagMarker
public class WebClientCertificateAuthenticationArgsBuilder internal constructor() {
private var authenticationType: Output? = null
private var password: Output>? = null
private var pfx: Output>? = null
private var url: Output? = null
/**
* @param value Type of authentication used to connect to the web table source.
* Expected value is 'ClientCertificate'.
*/
@JvmName("fhpxarjrryocidaq")
public suspend fun authenticationType(`value`: Output) {
this.authenticationType = value
}
/**
* @param value Password for the PFX file.
*/
@JvmName("nyglwyymlyqjktfv")
public suspend fun password(`value`: Output>) {
this.password = value
}
/**
* @param value Base64-encoded contents of a PFX file.
*/
@JvmName("gaahksaqtxkwnswr")
public suspend fun pfx(`value`: Output>) {
this.pfx = value
}
/**
* @param value The URL of the web service endpoint, e.g. https://www.microsoft.com . Type: string (or Expression with resultType string).
*/
@JvmName("iikaqcokkbiumabx")
public suspend fun url(`value`: Output) {
this.url = value
}
/**
* @param value Type of authentication used to connect to the web table source.
* Expected value is 'ClientCertificate'.
*/
@JvmName("iisqiwdbxvukyows")
public suspend fun authenticationType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.authenticationType = mapped
}
/**
* @param value Password for the PFX file.
*/
@JvmName("hkxisebsvrayopea")
public suspend fun password(`value`: Either) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.password = mapped
}
/**
* @param value Password for the PFX file.
*/
@JvmName("ibtoqxuhdnncmynr")
public fun password(`value`: AzureKeyVaultSecretReferenceArgs) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.password = mapped
}
/**
* @param value Password for the PFX file.
*/
@JvmName("ioyayiltsbokijpi")
public fun password(`value`: SecureStringArgs) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.password = mapped
}
/**
* @param value Base64-encoded contents of a PFX file.
*/
@JvmName("ihhrhwehixbdougj")
public suspend fun pfx(`value`: Either) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.pfx = mapped
}
/**
* @param value Base64-encoded contents of a PFX file.
*/
@JvmName("lpsmanlngvwljqmy")
public fun pfx(`value`: AzureKeyVaultSecretReferenceArgs) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.pfx = mapped
}
/**
* @param value Base64-encoded contents of a PFX file.
*/
@JvmName("skdqfhsbflardeqb")
public fun pfx(`value`: SecureStringArgs) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.pfx = mapped
}
/**
* @param value The URL of the web service endpoint, e.g. https://www.microsoft.com . Type: string (or Expression with resultType string).
*/
@JvmName("tuvprpschwgrffwg")
public suspend fun url(`value`: Any) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.url = mapped
}
internal fun build(): WebClientCertificateAuthenticationArgs =
WebClientCertificateAuthenticationArgs(
authenticationType = authenticationType ?: throw PulumiNullFieldException("authenticationType"),
password = password ?: throw PulumiNullFieldException("password"),
pfx = pfx ?: throw PulumiNullFieldException("pfx"),
url = url ?: throw PulumiNullFieldException("url"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy