com.pulumi.gcp.bigquery.kotlin.inputs.ConnectionAzureArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.bigquery.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigquery.inputs.ConnectionAzureArgs.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 application (Output)
* The name of the Azure Active Directory Application.
* @property clientId (Output)
* The client id of the Azure Active Directory Application.
* @property customerTenantId The id of customer's directory that host the data.
* @property federatedApplicationClientId The Azure Application (client) ID where the federated credentials will be hosted.
* @property identity (Output)
* A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's Azure Active Directory Application.
* @property objectId (Output)
* The object id of the Azure Active Directory Application.
* @property redirectUri (Output)
* The URL user will be redirected to after granting consent during connection setup.
*/
public data class ConnectionAzureArgs(
public val application: Output? = null,
public val clientId: Output? = null,
public val customerTenantId: Output,
public val federatedApplicationClientId: Output? = null,
public val identity: Output? = null,
public val objectId: Output? = null,
public val redirectUri: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.bigquery.inputs.ConnectionAzureArgs =
com.pulumi.gcp.bigquery.inputs.ConnectionAzureArgs.builder()
.application(application?.applyValue({ args0 -> args0 }))
.clientId(clientId?.applyValue({ args0 -> args0 }))
.customerTenantId(customerTenantId.applyValue({ args0 -> args0 }))
.federatedApplicationClientId(federatedApplicationClientId?.applyValue({ args0 -> args0 }))
.identity(identity?.applyValue({ args0 -> args0 }))
.objectId(objectId?.applyValue({ args0 -> args0 }))
.redirectUri(redirectUri?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectionAzureArgs].
*/
@PulumiTagMarker
public class ConnectionAzureArgsBuilder internal constructor() {
private var application: Output? = null
private var clientId: Output? = null
private var customerTenantId: Output? = null
private var federatedApplicationClientId: Output? = null
private var identity: Output? = null
private var objectId: Output? = null
private var redirectUri: Output? = null
/**
* @param value (Output)
* The name of the Azure Active Directory Application.
*/
@JvmName("dwrheujaoinsvxbe")
public suspend fun application(`value`: Output) {
this.application = value
}
/**
* @param value (Output)
* The client id of the Azure Active Directory Application.
*/
@JvmName("uptlwlbiiopkgame")
public suspend fun clientId(`value`: Output) {
this.clientId = value
}
/**
* @param value The id of customer's directory that host the data.
*/
@JvmName("excrbmadfkitgyae")
public suspend fun customerTenantId(`value`: Output) {
this.customerTenantId = value
}
/**
* @param value The Azure Application (client) ID where the federated credentials will be hosted.
*/
@JvmName("jcqltrxrfqeygycw")
public suspend fun federatedApplicationClientId(`value`: Output) {
this.federatedApplicationClientId = value
}
/**
* @param value (Output)
* A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's Azure Active Directory Application.
*/
@JvmName("sewtiagpkdfcklyy")
public suspend fun identity(`value`: Output) {
this.identity = value
}
/**
* @param value (Output)
* The object id of the Azure Active Directory Application.
*/
@JvmName("afgeeuchlwjbxdad")
public suspend fun objectId(`value`: Output) {
this.objectId = value
}
/**
* @param value (Output)
* The URL user will be redirected to after granting consent during connection setup.
*/
@JvmName("lscyhcquuiahvojm")
public suspend fun redirectUri(`value`: Output) {
this.redirectUri = value
}
/**
* @param value (Output)
* The name of the Azure Active Directory Application.
*/
@JvmName("sgcfladcmtbykbrk")
public suspend fun application(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.application = mapped
}
/**
* @param value (Output)
* The client id of the Azure Active Directory Application.
*/
@JvmName("wwhigxtlljnssewg")
public suspend fun clientId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clientId = mapped
}
/**
* @param value The id of customer's directory that host the data.
*/
@JvmName("thbtbjunglfadbjf")
public suspend fun customerTenantId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.customerTenantId = mapped
}
/**
* @param value The Azure Application (client) ID where the federated credentials will be hosted.
*/
@JvmName("vtwsmvfdqscidtby")
public suspend fun federatedApplicationClientId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.federatedApplicationClientId = mapped
}
/**
* @param value (Output)
* A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's Azure Active Directory Application.
*/
@JvmName("gjlvvmjalsvrbvyd")
public suspend fun identity(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.identity = mapped
}
/**
* @param value (Output)
* The object id of the Azure Active Directory Application.
*/
@JvmName("jtxolkxheihtmlql")
public suspend fun objectId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.objectId = mapped
}
/**
* @param value (Output)
* The URL user will be redirected to after granting consent during connection setup.
*/
@JvmName("vdqfngniaadnlpui")
public suspend fun redirectUri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.redirectUri = mapped
}
internal fun build(): ConnectionAzureArgs = ConnectionAzureArgs(
application = application,
clientId = clientId,
customerTenantId = customerTenantId ?: throw PulumiNullFieldException("customerTenantId"),
federatedApplicationClientId = federatedApplicationClientId,
identity = identity,
objectId = objectId,
redirectUri = redirectUri,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy