
com.pulumi.azurenative.servicelinker.kotlin.inputs.ServicePrincipalCertificateAuthInfoArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.servicelinker.kotlin.inputs
import com.pulumi.azurenative.servicelinker.inputs.ServicePrincipalCertificateAuthInfoArgs.builder
import com.pulumi.azurenative.servicelinker.kotlin.enums.DeleteOrUpdateBehavior
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.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The authentication info when authType is servicePrincipal certificate
* @property authType The authentication type.
* Expected value is 'servicePrincipalCertificate'.
* @property certificate ServicePrincipal certificate for servicePrincipal auth.
* @property clientId Application clientId for servicePrincipal auth.
* @property deleteOrUpdateBehavior Indicates whether to clean up previous operation when Linker is updating or deleting
* @property principalId Principal Id for servicePrincipal auth.
* @property roles Optional, this value specifies the Azure roles to be assigned. Automatically
*/
public data class ServicePrincipalCertificateAuthInfoArgs(
public val authType: Output,
public val certificate: Output,
public val clientId: Output,
public val deleteOrUpdateBehavior: Output>? = null,
public val principalId: Output,
public val roles: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.servicelinker.inputs.ServicePrincipalCertificateAuthInfoArgs =
com.pulumi.azurenative.servicelinker.inputs.ServicePrincipalCertificateAuthInfoArgs.builder()
.authType(authType.applyValue({ args0 -> args0 }))
.certificate(certificate.applyValue({ args0 -> args0 }))
.clientId(clientId.applyValue({ args0 -> args0 }))
.deleteOrUpdateBehavior(
deleteOrUpdateBehavior?.applyValue({ args0 ->
args0.transform({ args0 ->
args0
}, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.principalId(principalId.applyValue({ args0 -> args0 }))
.roles(roles?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ServicePrincipalCertificateAuthInfoArgs].
*/
@PulumiTagMarker
public class ServicePrincipalCertificateAuthInfoArgsBuilder internal constructor() {
private var authType: Output? = null
private var certificate: Output? = null
private var clientId: Output? = null
private var deleteOrUpdateBehavior: Output>? = null
private var principalId: Output? = null
private var roles: Output>? = null
/**
* @param value The authentication type.
* Expected value is 'servicePrincipalCertificate'.
*/
@JvmName("raoxgitjsmqrjejt")
public suspend fun authType(`value`: Output) {
this.authType = value
}
/**
* @param value ServicePrincipal certificate for servicePrincipal auth.
*/
@JvmName("gpwdxnvddspsrvrx")
public suspend fun certificate(`value`: Output) {
this.certificate = value
}
/**
* @param value Application clientId for servicePrincipal auth.
*/
@JvmName("rdgnndvxttqsxgfb")
public suspend fun clientId(`value`: Output) {
this.clientId = value
}
/**
* @param value Indicates whether to clean up previous operation when Linker is updating or deleting
*/
@JvmName("hlhcmtddesvgctym")
public suspend fun deleteOrUpdateBehavior(`value`: Output>) {
this.deleteOrUpdateBehavior = value
}
/**
* @param value Principal Id for servicePrincipal auth.
*/
@JvmName("jaddmobmqfixxvdo")
public suspend fun principalId(`value`: Output) {
this.principalId = value
}
/**
* @param value Optional, this value specifies the Azure roles to be assigned. Automatically
*/
@JvmName("yqpmisysktmwpvib")
public suspend fun roles(`value`: Output>) {
this.roles = value
}
@JvmName("yaomnhelegglkofv")
public suspend fun roles(vararg values: Output) {
this.roles = Output.all(values.asList())
}
/**
* @param values Optional, this value specifies the Azure roles to be assigned. Automatically
*/
@JvmName("oqnadydagwdsfogv")
public suspend fun roles(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy