![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.compute.kotlin.inputs.ScheduledEventsProfileArgs.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.compute.kotlin.inputs
import com.pulumi.azurenative.compute.inputs.ScheduledEventsProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property osImageNotificationProfile Specifies OS Image Scheduled Event related configurations.
* @property terminateNotificationProfile Specifies Terminate Scheduled Event related configurations.
*/
public data class ScheduledEventsProfileArgs(
public val osImageNotificationProfile: Output? = null,
public val terminateNotificationProfile: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.compute.inputs.ScheduledEventsProfileArgs =
com.pulumi.azurenative.compute.inputs.ScheduledEventsProfileArgs.builder()
.osImageNotificationProfile(
osImageNotificationProfile?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.terminateNotificationProfile(
terminateNotificationProfile?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
).build()
}
/**
* Builder for [ScheduledEventsProfileArgs].
*/
@PulumiTagMarker
public class ScheduledEventsProfileArgsBuilder internal constructor() {
private var osImageNotificationProfile: Output? = null
private var terminateNotificationProfile: Output? = null
/**
* @param value Specifies OS Image Scheduled Event related configurations.
*/
@JvmName("ccwfycracbcpynql")
public suspend fun osImageNotificationProfile(`value`: Output) {
this.osImageNotificationProfile = value
}
/**
* @param value Specifies Terminate Scheduled Event related configurations.
*/
@JvmName("utfacvekgrhvxlaa")
public suspend fun terminateNotificationProfile(`value`: Output) {
this.terminateNotificationProfile = value
}
/**
* @param value Specifies OS Image Scheduled Event related configurations.
*/
@JvmName("rtbnnohlicfhcodj")
public suspend fun osImageNotificationProfile(`value`: OSImageNotificationProfileArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.osImageNotificationProfile = mapped
}
/**
* @param argument Specifies OS Image Scheduled Event related configurations.
*/
@JvmName("nlchbscwwutacnbx")
public suspend fun osImageNotificationProfile(argument: suspend OSImageNotificationProfileArgsBuilder.() -> Unit) {
val toBeMapped = OSImageNotificationProfileArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.osImageNotificationProfile = mapped
}
/**
* @param value Specifies Terminate Scheduled Event related configurations.
*/
@JvmName("fcaiwpikqxjtsecs")
public suspend fun terminateNotificationProfile(`value`: TerminateNotificationProfileArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.terminateNotificationProfile = mapped
}
/**
* @param argument Specifies Terminate Scheduled Event related configurations.
*/
@JvmName("pfikcxotimtckyhf")
public suspend fun terminateNotificationProfile(argument: suspend TerminateNotificationProfileArgsBuilder.() -> Unit) {
val toBeMapped = TerminateNotificationProfileArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.terminateNotificationProfile = mapped
}
internal fun build(): ScheduledEventsProfileArgs = ScheduledEventsProfileArgs(
osImageNotificationProfile = osImageNotificationProfile,
terminateNotificationProfile = terminateNotificationProfile,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy