![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.insights.kotlin.inputs.ItsmReceiverArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.insights.kotlin.inputs
import com.pulumi.azurenative.insights.inputs.ItsmReceiverArgs.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
/**
* An Itsm receiver.
* @property connectionId Unique identification of ITSM connection among multiple defined in above workspace.
* @property name The name of the Itsm receiver. Names must be unique across all receivers within an action group.
* @property region Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
* @property ticketConfiguration JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
* @property workspaceId OMS LA instance identifier.
*/
public data class ItsmReceiverArgs(
public val connectionId: Output,
public val name: Output,
public val region: Output,
public val ticketConfiguration: Output,
public val workspaceId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.insights.inputs.ItsmReceiverArgs =
com.pulumi.azurenative.insights.inputs.ItsmReceiverArgs.builder()
.connectionId(connectionId.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.region(region.applyValue({ args0 -> args0 }))
.ticketConfiguration(ticketConfiguration.applyValue({ args0 -> args0 }))
.workspaceId(workspaceId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ItsmReceiverArgs].
*/
@PulumiTagMarker
public class ItsmReceiverArgsBuilder internal constructor() {
private var connectionId: Output? = null
private var name: Output? = null
private var region: Output? = null
private var ticketConfiguration: Output? = null
private var workspaceId: Output? = null
/**
* @param value Unique identification of ITSM connection among multiple defined in above workspace.
*/
@JvmName("jnhlkwkukpmxvbvs")
public suspend fun connectionId(`value`: Output) {
this.connectionId = value
}
/**
* @param value The name of the Itsm receiver. Names must be unique across all receivers within an action group.
*/
@JvmName("tjjqlfqluektjaoi")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
*/
@JvmName("yqxumevlfwhuhvtr")
public suspend fun region(`value`: Output) {
this.region = value
}
/**
* @param value JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
*/
@JvmName("dxskmmwrkunokovu")
public suspend fun ticketConfiguration(`value`: Output) {
this.ticketConfiguration = value
}
/**
* @param value OMS LA instance identifier.
*/
@JvmName("yfptoryearwthcer")
public suspend fun workspaceId(`value`: Output) {
this.workspaceId = value
}
/**
* @param value Unique identification of ITSM connection among multiple defined in above workspace.
*/
@JvmName("suyxiokhnpuoewqs")
public suspend fun connectionId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.connectionId = mapped
}
/**
* @param value The name of the Itsm receiver. Names must be unique across all receivers within an action group.
*/
@JvmName("mxxbemhscsmjbpkb")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
*/
@JvmName("roxayqdofncvvdht")
public suspend fun region(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.region = mapped
}
/**
* @param value JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
*/
@JvmName("cqmpadpoglibttps")
public suspend fun ticketConfiguration(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.ticketConfiguration = mapped
}
/**
* @param value OMS LA instance identifier.
*/
@JvmName("sutatglfetyglmbq")
public suspend fun workspaceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.workspaceId = mapped
}
internal fun build(): ItsmReceiverArgs = ItsmReceiverArgs(
connectionId = connectionId ?: throw PulumiNullFieldException("connectionId"),
name = name ?: throw PulumiNullFieldException("name"),
region = region ?: throw PulumiNullFieldException("region"),
ticketConfiguration = ticketConfiguration ?: throw PulumiNullFieldException("ticketConfiguration"),
workspaceId = workspaceId ?: throw PulumiNullFieldException("workspaceId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy