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

com.pulumi.azure.synapse.kotlin.inputs.WorkspaceSqlAadAdminArgs.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.synapse.kotlin.inputs

import com.pulumi.azure.synapse.inputs.WorkspaceSqlAadAdminArgs.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 login The login name of the Azure AD Administrator of this Synapse Workspace SQL.
 * @property objectId The object id of the Azure AD Administrator of this Synapse Workspace SQL.
 * @property tenantId The tenant id of the Azure AD Administrator of this Synapse Workspace SQL.
 */
public data class WorkspaceSqlAadAdminArgs(
    public val login: Output,
    public val objectId: Output,
    public val tenantId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.synapse.inputs.WorkspaceSqlAadAdminArgs =
        com.pulumi.azure.synapse.inputs.WorkspaceSqlAadAdminArgs.builder()
            .login(login.applyValue({ args0 -> args0 }))
            .objectId(objectId.applyValue({ args0 -> args0 }))
            .tenantId(tenantId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WorkspaceSqlAadAdminArgs].
 */
@PulumiTagMarker
public class WorkspaceSqlAadAdminArgsBuilder internal constructor() {
    private var login: Output? = null

    private var objectId: Output? = null

    private var tenantId: Output? = null

    /**
     * @param value The login name of the Azure AD Administrator of this Synapse Workspace SQL.
     */
    @JvmName("vbrkkmbkroyxwtps")
    public suspend fun login(`value`: Output) {
        this.login = value
    }

    /**
     * @param value The object id of the Azure AD Administrator of this Synapse Workspace SQL.
     */
    @JvmName("wniuspnrhvcavlek")
    public suspend fun objectId(`value`: Output) {
        this.objectId = value
    }

    /**
     * @param value The tenant id of the Azure AD Administrator of this Synapse Workspace SQL.
     */
    @JvmName("xbwaoclbnsjkwgso")
    public suspend fun tenantId(`value`: Output) {
        this.tenantId = value
    }

    /**
     * @param value The login name of the Azure AD Administrator of this Synapse Workspace SQL.
     */
    @JvmName("tjdultucfqyknmnd")
    public suspend fun login(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.login = mapped
    }

    /**
     * @param value The object id of the Azure AD Administrator of this Synapse Workspace SQL.
     */
    @JvmName("juixmgbgugjahdos")
    public suspend fun objectId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.objectId = mapped
    }

    /**
     * @param value The tenant id of the Azure AD Administrator of this Synapse Workspace SQL.
     */
    @JvmName("cfdhucvsrvtvewid")
    public suspend fun tenantId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tenantId = mapped
    }

    internal fun build(): WorkspaceSqlAadAdminArgs = WorkspaceSqlAadAdminArgs(
        login = login ?: throw PulumiNullFieldException("login"),
        objectId = objectId ?: throw PulumiNullFieldException("objectId"),
        tenantId = tenantId ?: throw PulumiNullFieldException("tenantId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy