com.pulumi.azure.devtest.kotlin.outputs.GlobalVMShutdownScheduleNotificationSettings.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.devtest.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property email E-mail address to which the notification will be sent.
* @property enabled Whether to enable pre-shutdown notifications. Possible values are `true` and `false`.
* @property timeInMinutes Time in minutes between 15 and 120 before a shutdown event at which a notification will be sent. Defaults to `30`.
* @property webhookUrl The webhook URL to which the notification will be sent.
*/
public data class GlobalVMShutdownScheduleNotificationSettings(
public val email: String? = null,
public val enabled: Boolean,
public val timeInMinutes: Int? = null,
public val webhookUrl: String? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.devtest.outputs.GlobalVMShutdownScheduleNotificationSettings):
GlobalVMShutdownScheduleNotificationSettings = GlobalVMShutdownScheduleNotificationSettings(
email = javaType.email().map({ args0 -> args0 }).orElse(null),
enabled = javaType.enabled(),
timeInMinutes = javaType.timeInMinutes().map({ args0 -> args0 }).orElse(null),
webhookUrl = javaType.webhookUrl().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy