com.pulumi.azure.arckubernetes.kotlin.inputs.FluxConfigurationBlobStorageServicePrincipalArgs.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.arckubernetes.kotlin.inputs
import com.pulumi.azure.arckubernetes.inputs.FluxConfigurationBlobStorageServicePrincipalArgs.builder
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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property clientCertificateBase64 Base64-encoded certificate used to authenticate a Service Principal .
* @property clientCertificatePassword Specifies the password for the certificate used to authenticate a Service Principal .
* @property clientCertificateSendChain Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
* @property clientId Specifies the client ID for authenticating a Service Principal.
* @property clientSecret Specifies the client secret for authenticating a Service Principal.
* @property tenantId Specifies the tenant ID for authenticating a Service Principal.
*/
public data class FluxConfigurationBlobStorageServicePrincipalArgs(
public val clientCertificateBase64: Output? = null,
public val clientCertificatePassword: Output? = null,
public val clientCertificateSendChain: Output? = null,
public val clientId: Output,
public val clientSecret: Output? = null,
public val tenantId: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.arckubernetes.inputs.FluxConfigurationBlobStorageServicePrincipalArgs =
com.pulumi.azure.arckubernetes.inputs.FluxConfigurationBlobStorageServicePrincipalArgs.builder()
.clientCertificateBase64(clientCertificateBase64?.applyValue({ args0 -> args0 }))
.clientCertificatePassword(clientCertificatePassword?.applyValue({ args0 -> args0 }))
.clientCertificateSendChain(clientCertificateSendChain?.applyValue({ args0 -> args0 }))
.clientId(clientId.applyValue({ args0 -> args0 }))
.clientSecret(clientSecret?.applyValue({ args0 -> args0 }))
.tenantId(tenantId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FluxConfigurationBlobStorageServicePrincipalArgs].
*/
@PulumiTagMarker
public class FluxConfigurationBlobStorageServicePrincipalArgsBuilder internal constructor() {
private var clientCertificateBase64: Output? = null
private var clientCertificatePassword: Output? = null
private var clientCertificateSendChain: Output? = null
private var clientId: Output? = null
private var clientSecret: Output? = null
private var tenantId: Output? = null
/**
* @param value Base64-encoded certificate used to authenticate a Service Principal .
*/
@JvmName("qeiavncpabkcyqaq")
public suspend fun clientCertificateBase64(`value`: Output) {
this.clientCertificateBase64 = value
}
/**
* @param value Specifies the password for the certificate used to authenticate a Service Principal .
*/
@JvmName("cpmxdmuqhaejnyfl")
public suspend fun clientCertificatePassword(`value`: Output) {
this.clientCertificatePassword = value
}
/**
* @param value Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
*/
@JvmName("ifomrouoogyknqwy")
public suspend fun clientCertificateSendChain(`value`: Output) {
this.clientCertificateSendChain = value
}
/**
* @param value Specifies the client ID for authenticating a Service Principal.
*/
@JvmName("rwygsvbfpgnbfqvo")
public suspend fun clientId(`value`: Output) {
this.clientId = value
}
/**
* @param value Specifies the client secret for authenticating a Service Principal.
*/
@JvmName("tfjopvvqdhgwiqgh")
public suspend fun clientSecret(`value`: Output) {
this.clientSecret = value
}
/**
* @param value Specifies the tenant ID for authenticating a Service Principal.
*/
@JvmName("bwruncfwtxocmndu")
public suspend fun tenantId(`value`: Output) {
this.tenantId = value
}
/**
* @param value Base64-encoded certificate used to authenticate a Service Principal .
*/
@JvmName("ipoypstyrtdsjboq")
public suspend fun clientCertificateBase64(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clientCertificateBase64 = mapped
}
/**
* @param value Specifies the password for the certificate used to authenticate a Service Principal .
*/
@JvmName("wgmutkevxolgkobr")
public suspend fun clientCertificatePassword(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clientCertificatePassword = mapped
}
/**
* @param value Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the client certificate.
*/
@JvmName("jyfwukhsmjnufixv")
public suspend fun clientCertificateSendChain(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clientCertificateSendChain = mapped
}
/**
* @param value Specifies the client ID for authenticating a Service Principal.
*/
@JvmName("fgnvytokgucdjvsy")
public suspend fun clientId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.clientId = mapped
}
/**
* @param value Specifies the client secret for authenticating a Service Principal.
*/
@JvmName("tpoddnjxfokwbtbi")
public suspend fun clientSecret(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clientSecret = mapped
}
/**
* @param value Specifies the tenant ID for authenticating a Service Principal.
*/
@JvmName("ackolsmntqryjmrt")
public suspend fun tenantId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tenantId = mapped
}
internal fun build(): FluxConfigurationBlobStorageServicePrincipalArgs =
FluxConfigurationBlobStorageServicePrincipalArgs(
clientCertificateBase64 = clientCertificateBase64,
clientCertificatePassword = clientCertificatePassword,
clientCertificateSendChain = clientCertificateSendChain,
clientId = clientId ?: throw PulumiNullFieldException("clientId"),
clientSecret = clientSecret,
tenantId = tenantId ?: throw PulumiNullFieldException("tenantId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy