
com.pulumi.azure.containerservice.kotlin.inputs.KubernetesClusterOmsAgentArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerservice.kotlin.inputs
import com.pulumi.azure.containerservice.inputs.KubernetesClusterOmsAgentArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property logAnalyticsWorkspaceId The ID of the Log Analytics Workspace which the OMS Agent should send data to.
* @property msiAuthForMonitoringEnabled Is managed identity authentication for monitoring enabled?
* @property omsAgentIdentities An `oms_agent_identity` block is exported. The exported attributes are defined below.
*/
public data class KubernetesClusterOmsAgentArgs(
public val logAnalyticsWorkspaceId: Output,
public val msiAuthForMonitoringEnabled: Output? = null,
public val omsAgentIdentities: Output>? =
null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerservice.inputs.KubernetesClusterOmsAgentArgs =
com.pulumi.azure.containerservice.inputs.KubernetesClusterOmsAgentArgs.builder()
.logAnalyticsWorkspaceId(logAnalyticsWorkspaceId.applyValue({ args0 -> args0 }))
.msiAuthForMonitoringEnabled(msiAuthForMonitoringEnabled?.applyValue({ args0 -> args0 }))
.omsAgentIdentities(
omsAgentIdentities?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [KubernetesClusterOmsAgentArgs].
*/
@PulumiTagMarker
public class KubernetesClusterOmsAgentArgsBuilder internal constructor() {
private var logAnalyticsWorkspaceId: Output? = null
private var msiAuthForMonitoringEnabled: Output? = null
private var omsAgentIdentities: Output>? =
null
/**
* @param value The ID of the Log Analytics Workspace which the OMS Agent should send data to.
*/
@JvmName("qqoshrvmebknkupo")
public suspend fun logAnalyticsWorkspaceId(`value`: Output) {
this.logAnalyticsWorkspaceId = value
}
/**
* @param value Is managed identity authentication for monitoring enabled?
*/
@JvmName("lxtlsbaqxtwmlhnn")
public suspend fun msiAuthForMonitoringEnabled(`value`: Output) {
this.msiAuthForMonitoringEnabled = value
}
/**
* @param value An `oms_agent_identity` block is exported. The exported attributes are defined below.
*/
@JvmName("kxpqqjkcvqlywcne")
public suspend fun omsAgentIdentities(`value`: Output>) {
this.omsAgentIdentities = value
}
@JvmName("advvrqyeiqkuqcnf")
public suspend fun omsAgentIdentities(vararg values: Output) {
this.omsAgentIdentities = Output.all(values.asList())
}
/**
* @param values An `oms_agent_identity` block is exported. The exported attributes are defined below.
*/
@JvmName("cschehrltbppexqg")
public suspend fun omsAgentIdentities(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy