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

com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterKeyVaultSecretsProvider.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property secretIdentities An `secret_identity` block is exported. The exported attributes are defined below.
 * @property secretRotationEnabled Should the secret store CSI driver on the AKS cluster be enabled?
 * @property secretRotationInterval The interval to poll for secret rotation. This attribute is only set when `secret_rotation` is true. Defaults to `2m`.
 * > **Note:** To enable`key_vault_secrets_provider` either `secret_rotation_enabled` or `secret_rotation_interval` must be specified.
 */
public data class KubernetesClusterKeyVaultSecretsProvider(
    public val secretIdentities: List? = null,
    public val secretRotationEnabled: Boolean? = null,
    public val secretRotationInterval: String? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterKeyVaultSecretsProvider):
            KubernetesClusterKeyVaultSecretsProvider = KubernetesClusterKeyVaultSecretsProvider(
            secretIdentities = javaType.secretIdentities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterKeyVaultSecretsProviderSecretIdentity.Companion.toKotlin(args0)
                })
            }),
            secretRotationEnabled = javaType.secretRotationEnabled().map({ args0 -> args0 }).orElse(null),
            secretRotationInterval = javaType.secretRotationInterval().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy