com.pulumi.azure.monitoring.kotlin.inputs.ActionGroupWebhookReceiverAadAuthArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.monitoring.kotlin.inputs
import com.pulumi.azure.monitoring.inputs.ActionGroupWebhookReceiverAadAuthArgs.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 identifierUri The identifier URI for AAD auth.
* @property objectId The webhook application object Id for AAD auth.
* @property tenantId The tenant id for AAD auth.
*/
public data class ActionGroupWebhookReceiverAadAuthArgs(
public val identifierUri: Output? = null,
public val objectId: Output,
public val tenantId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.monitoring.inputs.ActionGroupWebhookReceiverAadAuthArgs =
com.pulumi.azure.monitoring.inputs.ActionGroupWebhookReceiverAadAuthArgs.builder()
.identifierUri(identifierUri?.applyValue({ args0 -> args0 }))
.objectId(objectId.applyValue({ args0 -> args0 }))
.tenantId(tenantId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ActionGroupWebhookReceiverAadAuthArgs].
*/
@PulumiTagMarker
public class ActionGroupWebhookReceiverAadAuthArgsBuilder internal constructor() {
private var identifierUri: Output? = null
private var objectId: Output? = null
private var tenantId: Output? = null
/**
* @param value The identifier URI for AAD auth.
*/
@JvmName("pcpodyxvhkvjohxp")
public suspend fun identifierUri(`value`: Output) {
this.identifierUri = value
}
/**
* @param value The webhook application object Id for AAD auth.
*/
@JvmName("hgfhccongxoayhwu")
public suspend fun objectId(`value`: Output) {
this.objectId = value
}
/**
* @param value The tenant id for AAD auth.
*/
@JvmName("nyemnpbgdflqdywx")
public suspend fun tenantId(`value`: Output) {
this.tenantId = value
}
/**
* @param value The identifier URI for AAD auth.
*/
@JvmName("hbpshxfuxrppcrlt")
public suspend fun identifierUri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.identifierUri = mapped
}
/**
* @param value The webhook application object Id for AAD auth.
*/
@JvmName("kjmoxgmxxesghkgd")
public suspend fun objectId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.objectId = mapped
}
/**
* @param value The tenant id for AAD auth.
*/
@JvmName("qjknoiabvkseyjae")
public suspend fun tenantId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tenantId = mapped
}
internal fun build(): ActionGroupWebhookReceiverAadAuthArgs =
ActionGroupWebhookReceiverAadAuthArgs(
identifierUri = identifierUri,
objectId = objectId ?: throw PulumiNullFieldException("objectId"),
tenantId = tenantId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy