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

com.pulumi.azure.servicefabric.kotlin.inputs.ManagedClusterAuthenticationActiveDirectoryArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.servicefabric.kotlin.inputs

import com.pulumi.azure.servicefabric.inputs.ManagedClusterAuthenticationActiveDirectoryArgs.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 clientApplicationId The ID of the Client Application.
 * @property clusterApplicationId The ID of the Cluster Application.
 * @property tenantId The ID of the Tenant.
 */
public data class ManagedClusterAuthenticationActiveDirectoryArgs(
    public val clientApplicationId: Output,
    public val clusterApplicationId: Output,
    public val tenantId: Output,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.servicefabric.inputs.ManagedClusterAuthenticationActiveDirectoryArgs =
        com.pulumi.azure.servicefabric.inputs.ManagedClusterAuthenticationActiveDirectoryArgs.builder()
            .clientApplicationId(clientApplicationId.applyValue({ args0 -> args0 }))
            .clusterApplicationId(clusterApplicationId.applyValue({ args0 -> args0 }))
            .tenantId(tenantId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ManagedClusterAuthenticationActiveDirectoryArgs].
 */
@PulumiTagMarker
public class ManagedClusterAuthenticationActiveDirectoryArgsBuilder internal constructor() {
    private var clientApplicationId: Output? = null

    private var clusterApplicationId: Output? = null

    private var tenantId: Output? = null

    /**
     * @param value The ID of the Client Application.
     */
    @JvmName("buprwxscjpbrokkg")
    public suspend fun clientApplicationId(`value`: Output) {
        this.clientApplicationId = value
    }

    /**
     * @param value The ID of the Cluster Application.
     */
    @JvmName("xrdcsgbkpxvwjwuf")
    public suspend fun clusterApplicationId(`value`: Output) {
        this.clusterApplicationId = value
    }

    /**
     * @param value The ID of the Tenant.
     */
    @JvmName("ugmtjmlavlbssjrg")
    public suspend fun tenantId(`value`: Output) {
        this.tenantId = value
    }

    /**
     * @param value The ID of the Client Application.
     */
    @JvmName("xuipruadahpewudo")
    public suspend fun clientApplicationId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.clientApplicationId = mapped
    }

    /**
     * @param value The ID of the Cluster Application.
     */
    @JvmName("dulbyhyttohneigc")
    public suspend fun clusterApplicationId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.clusterApplicationId = mapped
    }

    /**
     * @param value The ID of the Tenant.
     */
    @JvmName("uoeneqmmsskckejf")
    public suspend fun tenantId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tenantId = mapped
    }

    internal fun build(): ManagedClusterAuthenticationActiveDirectoryArgs =
        ManagedClusterAuthenticationActiveDirectoryArgs(
            clientApplicationId = clientApplicationId ?: throw PulumiNullFieldException("clientApplicationId"),
            clusterApplicationId = clusterApplicationId ?: throw
                PulumiNullFieldException("clusterApplicationId"),
            tenantId = tenantId ?: throw PulumiNullFieldException("tenantId"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy