All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.datafactory.kotlin.inputs.LinkedServiceAzureFunctionKeyVaultKeyArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.datafactory.kotlin.inputs

import com.pulumi.azure.datafactory.inputs.LinkedServiceAzureFunctionKeyVaultKeyArgs.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 the system key of the Azure Function.
 */
public data class LinkedServiceAzureFunctionKeyVaultKeyArgs(
    public val linkedServiceName: Output,
    public val secretName: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.datafactory.inputs.LinkedServiceAzureFunctionKeyVaultKeyArgs =
        com.pulumi.azure.datafactory.inputs.LinkedServiceAzureFunctionKeyVaultKeyArgs.builder()
            .linkedServiceName(linkedServiceName.applyValue({ args0 -> args0 }))
            .secretName(secretName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LinkedServiceAzureFunctionKeyVaultKeyArgs].
 */
@PulumiTagMarker
public class LinkedServiceAzureFunctionKeyVaultKeyArgsBuilder 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("kglohwxlbyhetuuh")
    public suspend fun linkedServiceName(`value`: Output) {
        this.linkedServiceName = value
    }

    /**
     * @param value Specifies the secret name in Azure Key Vault that stores the system key of the Azure Function.
     */
    @JvmName("lajqwagbkafqdnxt")
    public suspend fun secretName(`value`: Output) {
        this.secretName = value
    }

    /**
     * @param value Specifies the name of an existing Key Vault Data Factory Linked Service.
     */
    @JvmName("uenumvtoujiihbcj")
    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 the system key of the Azure Function.
     */
    @JvmName("pknuidsphesalpki")
    public suspend fun secretName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.secretName = mapped
    }

    internal fun build(): LinkedServiceAzureFunctionKeyVaultKeyArgs =
        LinkedServiceAzureFunctionKeyVaultKeyArgs(
            linkedServiceName = linkedServiceName ?: throw PulumiNullFieldException("linkedServiceName"),
            secretName = secretName ?: throw PulumiNullFieldException("secretName"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy