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

com.pulumi.azure.containerservice.kotlin.inputs.KubernetesClusterKeyManagementServiceArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.containerservice.kotlin.inputs

import com.pulumi.azure.containerservice.inputs.KubernetesClusterKeyManagementServiceArgs.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 keyVaultKeyId Identifier of Azure Key Vault key. See [key identifier format](https://learn.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name) for more details.
 * @property keyVaultNetworkAccess Network access of the key vault Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. Defaults to `Public`.
 */
public data class KubernetesClusterKeyManagementServiceArgs(
    public val keyVaultKeyId: Output,
    public val keyVaultNetworkAccess: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.containerservice.inputs.KubernetesClusterKeyManagementServiceArgs =
        com.pulumi.azure.containerservice.inputs.KubernetesClusterKeyManagementServiceArgs.builder()
            .keyVaultKeyId(keyVaultKeyId.applyValue({ args0 -> args0 }))
            .keyVaultNetworkAccess(keyVaultNetworkAccess?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [KubernetesClusterKeyManagementServiceArgs].
 */
@PulumiTagMarker
public class KubernetesClusterKeyManagementServiceArgsBuilder internal constructor() {
    private var keyVaultKeyId: Output? = null

    private var keyVaultNetworkAccess: Output? = null

    /**
     * @param value Identifier of Azure Key Vault key. See [key identifier format](https://learn.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name) for more details.
     */
    @JvmName("qnkwjseryxblcqcm")
    public suspend fun keyVaultKeyId(`value`: Output) {
        this.keyVaultKeyId = value
    }

    /**
     * @param value Network access of the key vault Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. Defaults to `Public`.
     */
    @JvmName("rrcapjsehskowdvp")
    public suspend fun keyVaultNetworkAccess(`value`: Output) {
        this.keyVaultNetworkAccess = value
    }

    /**
     * @param value Identifier of Azure Key Vault key. See [key identifier format](https://learn.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name) for more details.
     */
    @JvmName("sahkmyeibjkdaluh")
    public suspend fun keyVaultKeyId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.keyVaultKeyId = mapped
    }

    /**
     * @param value Network access of the key vault Network access of key vault. The possible values are `Public` and `Private`. `Public` means the key vault allows public access from all networks. `Private` means the key vault disables public access and enables private link. Defaults to `Public`.
     */
    @JvmName("wyneavfnlunefqco")
    public suspend fun keyVaultNetworkAccess(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyVaultNetworkAccess = mapped
    }

    internal fun build(): KubernetesClusterKeyManagementServiceArgs =
        KubernetesClusterKeyManagementServiceArgs(
            keyVaultKeyId = keyVaultKeyId ?: throw PulumiNullFieldException("keyVaultKeyId"),
            keyVaultNetworkAccess = keyVaultNetworkAccess,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy