com.pulumi.azure.monitoring.kotlin.inputs.ActionGroupArmRoleReceiverArgs.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.ActionGroupArmRoleReceiverArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property name The name of the ARM role receiver.
* @property roleId The arm role id.
* @property useCommonAlertSchema Enables or disables the common alert schema.
*/
public data class ActionGroupArmRoleReceiverArgs(
public val name: Output,
public val roleId: Output,
public val useCommonAlertSchema: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.monitoring.inputs.ActionGroupArmRoleReceiverArgs =
com.pulumi.azure.monitoring.inputs.ActionGroupArmRoleReceiverArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.roleId(roleId.applyValue({ args0 -> args0 }))
.useCommonAlertSchema(useCommonAlertSchema?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ActionGroupArmRoleReceiverArgs].
*/
@PulumiTagMarker
public class ActionGroupArmRoleReceiverArgsBuilder internal constructor() {
private var name: Output? = null
private var roleId: Output? = null
private var useCommonAlertSchema: Output? = null
/**
* @param value The name of the ARM role receiver.
*/
@JvmName("nbxkdtshrpmtwgvp")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The arm role id.
*/
@JvmName("smfunibcjuobwlod")
public suspend fun roleId(`value`: Output) {
this.roleId = value
}
/**
* @param value Enables or disables the common alert schema.
*/
@JvmName("vdfutbxwojuiogtk")
public suspend fun useCommonAlertSchema(`value`: Output) {
this.useCommonAlertSchema = value
}
/**
* @param value The name of the ARM role receiver.
*/
@JvmName("vijypfgjoaeivnec")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The arm role id.
*/
@JvmName("mkmcaydnkhtnxttk")
public suspend fun roleId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.roleId = mapped
}
/**
* @param value Enables or disables the common alert schema.
*/
@JvmName("bmjmagfwwgnecerq")
public suspend fun useCommonAlertSchema(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.useCommonAlertSchema = mapped
}
internal fun build(): ActionGroupArmRoleReceiverArgs = ActionGroupArmRoleReceiverArgs(
name = name ?: throw PulumiNullFieldException("name"),
roleId = roleId ?: throw PulumiNullFieldException("roleId"),
useCommonAlertSchema = useCommonAlertSchema,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy