
com.pulumi.azurenative.servicefabricmesh.kotlin.inputs.DiagnosticsRefArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.servicefabricmesh.kotlin.inputs
import com.pulumi.azurenative.servicefabricmesh.inputs.DiagnosticsRefArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Reference to sinks in DiagnosticsDescription.
* @property enabled Status of whether or not sinks are enabled.
* @property sinkRefs List of sinks to be used if enabled. References the list of sinks in DiagnosticsDescription.
*/
public data class DiagnosticsRefArgs(
public val enabled: Output? = null,
public val sinkRefs: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.servicefabricmesh.inputs.DiagnosticsRefArgs =
com.pulumi.azurenative.servicefabricmesh.inputs.DiagnosticsRefArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.sinkRefs(sinkRefs?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DiagnosticsRefArgs].
*/
@PulumiTagMarker
public class DiagnosticsRefArgsBuilder internal constructor() {
private var enabled: Output? = null
private var sinkRefs: Output>? = null
/**
* @param value Status of whether or not sinks are enabled.
*/
@JvmName("pvbctdvmldlydafc")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value List of sinks to be used if enabled. References the list of sinks in DiagnosticsDescription.
*/
@JvmName("eqqolyyyfwjkwots")
public suspend fun sinkRefs(`value`: Output>) {
this.sinkRefs = value
}
@JvmName("leksbvslpngcduwq")
public suspend fun sinkRefs(vararg values: Output) {
this.sinkRefs = Output.all(values.asList())
}
/**
* @param values List of sinks to be used if enabled. References the list of sinks in DiagnosticsDescription.
*/
@JvmName("fhbfvbbdgqnyeljd")
public suspend fun sinkRefs(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy