com.pulumi.azure.datadog.kotlin.outputs.MonitorUser.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.datadog.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property email Email of the user used by Datadog for contacting them if needed. Changing this forces a new Datadog Monitor to be created.
* @property name The name which should be used for this user_info. Changing this forces a new resource to be created.
* @property phoneNumber Phone number of the user used by Datadog for contacting them if needed. Changing this forces a new resource to be created.
*/
public data class MonitorUser(
public val email: String,
public val name: String,
public val phoneNumber: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.datadog.outputs.MonitorUser): MonitorUser =
MonitorUser(
email = javaType.email(),
name = javaType.name(),
phoneNumber = javaType.phoneNumber().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy