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

com.pulumi.azure.containerservice.kotlin.inputs.KubernetesClusterKubeletIdentityArgs.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.inputs

import com.pulumi.azure.containerservice.inputs.KubernetesClusterKubeletIdentityArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property clientId The Client ID of the user-defined Managed Identity to be assigned to the Kubelets. If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
 * @property objectId The Object ID of the user-defined Managed Identity assigned to the Kubelets.If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
 * @property userAssignedIdentityId The ID of the User Assigned Identity assigned to the Kubelets. If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
 */
public data class KubernetesClusterKubeletIdentityArgs(
    public val clientId: Output? = null,
    public val objectId: Output? = null,
    public val userAssignedIdentityId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.containerservice.inputs.KubernetesClusterKubeletIdentityArgs =
        com.pulumi.azure.containerservice.inputs.KubernetesClusterKubeletIdentityArgs.builder()
            .clientId(clientId?.applyValue({ args0 -> args0 }))
            .objectId(objectId?.applyValue({ args0 -> args0 }))
            .userAssignedIdentityId(userAssignedIdentityId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [KubernetesClusterKubeletIdentityArgs].
 */
@PulumiTagMarker
public class KubernetesClusterKubeletIdentityArgsBuilder internal constructor() {
    private var clientId: Output? = null

    private var objectId: Output? = null

    private var userAssignedIdentityId: Output? = null

    /**
     * @param value The Client ID of the user-defined Managed Identity to be assigned to the Kubelets. If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
     */
    @JvmName("ktsmykexnyhamlfl")
    public suspend fun clientId(`value`: Output) {
        this.clientId = value
    }

    /**
     * @param value The Object ID of the user-defined Managed Identity assigned to the Kubelets.If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
     */
    @JvmName("dibpojhdthtesckw")
    public suspend fun objectId(`value`: Output) {
        this.objectId = value
    }

    /**
     * @param value The ID of the User Assigned Identity assigned to the Kubelets. If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
     */
    @JvmName("tccjssajkxdnnfyk")
    public suspend fun userAssignedIdentityId(`value`: Output) {
        this.userAssignedIdentityId = value
    }

    /**
     * @param value The Client ID of the user-defined Managed Identity to be assigned to the Kubelets. If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
     */
    @JvmName("knhnjbqyhrihpnsc")
    public suspend fun clientId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientId = mapped
    }

    /**
     * @param value The Object ID of the user-defined Managed Identity assigned to the Kubelets.If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
     */
    @JvmName("eracwapubgabkydo")
    public suspend fun objectId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.objectId = mapped
    }

    /**
     * @param value The ID of the User Assigned Identity assigned to the Kubelets. If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
     */
    @JvmName("kdqitkaakojoffly")
    public suspend fun userAssignedIdentityId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userAssignedIdentityId = mapped
    }

    internal fun build(): KubernetesClusterKubeletIdentityArgs = KubernetesClusterKubeletIdentityArgs(
        clientId = clientId,
        objectId = objectId,
        userAssignedIdentityId = userAssignedIdentityId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy