com.pulumi.azure.sentinel.kotlin.inputs.AuthomationRuleActionPlaybookArgs.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.sentinel.kotlin.inputs
import com.pulumi.azure.sentinel.inputs.AuthomationRuleActionPlaybookArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property logicAppId The ID of the Logic App that defines the playbook's logic.
* @property order The execution order of this action.
* @property tenantId The ID of the Tenant that owns the playbook.
*/
public data class AuthomationRuleActionPlaybookArgs(
public val logicAppId: Output,
public val order: Output,
public val tenantId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.sentinel.inputs.AuthomationRuleActionPlaybookArgs =
com.pulumi.azure.sentinel.inputs.AuthomationRuleActionPlaybookArgs.builder()
.logicAppId(logicAppId.applyValue({ args0 -> args0 }))
.order(order.applyValue({ args0 -> args0 }))
.tenantId(tenantId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AuthomationRuleActionPlaybookArgs].
*/
@PulumiTagMarker
public class AuthomationRuleActionPlaybookArgsBuilder internal constructor() {
private var logicAppId: Output? = null
private var order: Output? = null
private var tenantId: Output? = null
/**
* @param value The ID of the Logic App that defines the playbook's logic.
*/
@JvmName("ynovdhxhgcrltkcg")
public suspend fun logicAppId(`value`: Output) {
this.logicAppId = value
}
/**
* @param value The execution order of this action.
*/
@JvmName("vptbprntnitgpuog")
public suspend fun order(`value`: Output) {
this.order = value
}
/**
* @param value The ID of the Tenant that owns the playbook.
*/
@JvmName("dthqfrtidyloehnf")
public suspend fun tenantId(`value`: Output) {
this.tenantId = value
}
/**
* @param value The ID of the Logic App that defines the playbook's logic.
*/
@JvmName("yrbgdwvrihrvkwjm")
public suspend fun logicAppId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.logicAppId = mapped
}
/**
* @param value The execution order of this action.
*/
@JvmName("bybnrlesuidfenrn")
public suspend fun order(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.order = mapped
}
/**
* @param value The ID of the Tenant that owns the playbook.
*/
@JvmName("wutlsxpxgepwvqup")
public suspend fun tenantId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tenantId = mapped
}
internal fun build(): AuthomationRuleActionPlaybookArgs = AuthomationRuleActionPlaybookArgs(
logicAppId = logicAppId ?: throw PulumiNullFieldException("logicAppId"),
order = order ?: throw PulumiNullFieldException("order"),
tenantId = tenantId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy