![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.insights.kotlin.inputs.MonitoringAccountDestinationArgs.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.MonitoringAccountDestinationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Monitoring account destination.
* @property accountResourceId The resource ID of the monitoring account.
* @property name A friendly name for the destination.
* This name should be unique across all destinations (regardless of type) within the data collection rule.
*/
public data class MonitoringAccountDestinationArgs(
public val accountResourceId: Output? = null,
public val name: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.insights.inputs.MonitoringAccountDestinationArgs =
com.pulumi.azurenative.insights.inputs.MonitoringAccountDestinationArgs.builder()
.accountResourceId(accountResourceId?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MonitoringAccountDestinationArgs].
*/
@PulumiTagMarker
public class MonitoringAccountDestinationArgsBuilder internal constructor() {
private var accountResourceId: Output? = null
private var name: Output? = null
/**
* @param value The resource ID of the monitoring account.
*/
@JvmName("kowhrmyxsioxicob")
public suspend fun accountResourceId(`value`: Output) {
this.accountResourceId = value
}
/**
* @param value A friendly name for the destination.
* This name should be unique across all destinations (regardless of type) within the data collection rule.
*/
@JvmName("uuxcghvnrrdhgjni")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The resource ID of the monitoring account.
*/
@JvmName("bnrsshvoaomhaouf")
public suspend fun accountResourceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.accountResourceId = mapped
}
/**
* @param value A friendly name for the destination.
* This name should be unique across all destinations (regardless of type) within the data collection rule.
*/
@JvmName("nabgndantbdoqglo")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): MonitoringAccountDestinationArgs = MonitoringAccountDestinationArgs(
accountResourceId = accountResourceId,
name = name,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy