com.pulumi.azure.datafactory.kotlin.inputs.LinkedServiceAzureSqlDatabaseKeyVaultConnectionStringArgs.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.datafactory.kotlin.inputs
import com.pulumi.azure.datafactory.inputs.LinkedServiceAzureSqlDatabaseKeyVaultConnectionStringArgs.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 Specifies the name of an existing Key Vault Data Factory Linked Service.
* @property secretName Specifies the secret name in Azure Key Vault that stores SQL Server connection string.
*/
public data class LinkedServiceAzureSqlDatabaseKeyVaultConnectionStringArgs(
public val linkedServiceName: Output,
public val secretName: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.datafactory.inputs.LinkedServiceAzureSqlDatabaseKeyVaultConnectionStringArgs =
com.pulumi.azure.datafactory.inputs.LinkedServiceAzureSqlDatabaseKeyVaultConnectionStringArgs.builder()
.linkedServiceName(linkedServiceName.applyValue({ args0 -> args0 }))
.secretName(secretName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinkedServiceAzureSqlDatabaseKeyVaultConnectionStringArgs].
*/
@PulumiTagMarker
public class LinkedServiceAzureSqlDatabaseKeyVaultConnectionStringArgsBuilder internal constructor() {
private var linkedServiceName: Output? = null
private var secretName: Output? = null
/**
* @param value Specifies the name of an existing Key Vault Data Factory Linked Service.
*/
@JvmName("pwlnnsunouituaan")
public suspend fun linkedServiceName(`value`: Output) {
this.linkedServiceName = value
}
/**
* @param value Specifies the secret name in Azure Key Vault that stores SQL Server connection string.
*/
@JvmName("lypaddptsljucuun")
public suspend fun secretName(`value`: Output) {
this.secretName = value
}
/**
* @param value Specifies the name of an existing Key Vault Data Factory Linked Service.
*/
@JvmName("urdmuteqkxnwqoug")
public suspend fun linkedServiceName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.linkedServiceName = mapped
}
/**
* @param value Specifies the secret name in Azure Key Vault that stores SQL Server connection string.
*/
@JvmName("bgamhxdqrutymyow")
public suspend fun secretName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretName = mapped
}
internal fun build(): LinkedServiceAzureSqlDatabaseKeyVaultConnectionStringArgs =
LinkedServiceAzureSqlDatabaseKeyVaultConnectionStringArgs(
linkedServiceName = linkedServiceName ?: throw PulumiNullFieldException("linkedServiceName"),
secretName = secretName ?: throw PulumiNullFieldException("secretName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy