
com.pulumi.azure.datafactory.kotlin.inputs.CredentialServicePrincipalServicePrincipalKeyArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.datafactory.kotlin.inputs
import com.pulumi.azure.datafactory.inputs.CredentialServicePrincipalServicePrincipalKeyArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property linkedServiceName The name of the Linked Service to use for the Service Principal Key.
* @property secretName The name of the Secret in the Key Vault.
* @property secretVersion The version of the Secret in the Key Vault.
*/
public data class CredentialServicePrincipalServicePrincipalKeyArgs(
public val linkedServiceName: Output,
public val secretName: Output,
public val secretVersion: Output? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.datafactory.inputs.CredentialServicePrincipalServicePrincipalKeyArgs =
com.pulumi.azure.datafactory.inputs.CredentialServicePrincipalServicePrincipalKeyArgs.builder()
.linkedServiceName(linkedServiceName.applyValue({ args0 -> args0 }))
.secretName(secretName.applyValue({ args0 -> args0 }))
.secretVersion(secretVersion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CredentialServicePrincipalServicePrincipalKeyArgs].
*/
@PulumiTagMarker
public class CredentialServicePrincipalServicePrincipalKeyArgsBuilder internal constructor() {
private var linkedServiceName: Output? = null
private var secretName: Output? = null
private var secretVersion: Output? = null
/**
* @param value The name of the Linked Service to use for the Service Principal Key.
*/
@JvmName("snbuhnjlxktxdyml")
public suspend fun linkedServiceName(`value`: Output) {
this.linkedServiceName = value
}
/**
* @param value The name of the Secret in the Key Vault.
*/
@JvmName("qcapfiemtbpwfwyb")
public suspend fun secretName(`value`: Output) {
this.secretName = value
}
/**
* @param value The version of the Secret in the Key Vault.
*/
@JvmName("vxejlvpwysbbppdt")
public suspend fun secretVersion(`value`: Output) {
this.secretVersion = value
}
/**
* @param value The name of the Linked Service to use for the Service Principal Key.
*/
@JvmName("mcfnlkxfvnvavqta")
public suspend fun linkedServiceName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.linkedServiceName = mapped
}
/**
* @param value The name of the Secret in the Key Vault.
*/
@JvmName("ykodwwayjdrccekk")
public suspend fun secretName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretName = mapped
}
/**
* @param value The version of the Secret in the Key Vault.
*/
@JvmName("hsjcqlxqauiabyse")
public suspend fun secretVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secretVersion = mapped
}
internal fun build(): CredentialServicePrincipalServicePrincipalKeyArgs =
CredentialServicePrincipalServicePrincipalKeyArgs(
linkedServiceName = linkedServiceName ?: throw PulumiNullFieldException("linkedServiceName"),
secretName = secretName ?: throw PulumiNullFieldException("secretName"),
secretVersion = secretVersion,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy