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

com.pulumi.gcp.container.kotlin.inputs.AzureClusterAzureServicesAuthenticationArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.container.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.AzureClusterAzureServicesAuthenticationArgs.builder
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 applicationId The Azure Active Directory Application ID for Authentication configuration.
 * @property tenantId The Azure Active Directory Tenant ID for Authentication configuration.
 */
public data class AzureClusterAzureServicesAuthenticationArgs(
    public val applicationId: Output,
    public val tenantId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.AzureClusterAzureServicesAuthenticationArgs = com.pulumi.gcp.container.inputs.AzureClusterAzureServicesAuthenticationArgs.builder()
        .applicationId(applicationId.applyValue({ args0 -> args0 }))
        .tenantId(tenantId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AzureClusterAzureServicesAuthenticationArgs].
 */
@PulumiTagMarker
public class AzureClusterAzureServicesAuthenticationArgsBuilder internal constructor() {
    private var applicationId: Output? = null

    private var tenantId: Output? = null

    /**
     * @param value The Azure Active Directory Application ID for Authentication configuration.
     */
    @JvmName("ydmcunsiqncovkbg")
    public suspend fun applicationId(`value`: Output) {
        this.applicationId = value
    }

    /**
     * @param value The Azure Active Directory Tenant ID for Authentication configuration.
     */
    @JvmName("tysbfbkgkpbekpqe")
    public suspend fun tenantId(`value`: Output) {
        this.tenantId = value
    }

    /**
     * @param value The Azure Active Directory Application ID for Authentication configuration.
     */
    @JvmName("qvkuahtbmeidxsmi")
    public suspend fun applicationId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.applicationId = mapped
    }

    /**
     * @param value The Azure Active Directory Tenant ID for Authentication configuration.
     */
    @JvmName("fujicpnhnadkvmvy")
    public suspend fun tenantId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tenantId = mapped
    }

    internal fun build(): AzureClusterAzureServicesAuthenticationArgs =
        AzureClusterAzureServicesAuthenticationArgs(
            applicationId = applicationId ?: throw PulumiNullFieldException("applicationId"),
            tenantId = tenantId ?: throw PulumiNullFieldException("tenantId"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy