All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.containerservice.kotlin.inputs.KubernetesClusterMicrosoftDefenderArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.inputs

import com.pulumi.azure.containerservice.inputs.KubernetesClusterMicrosoftDefenderArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property logAnalyticsWorkspaceId Specifies the ID of the Log Analytics Workspace where the audit logs collected by Microsoft Defender should be sent to.
 */
public data class KubernetesClusterMicrosoftDefenderArgs(
    public val logAnalyticsWorkspaceId: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.containerservice.inputs.KubernetesClusterMicrosoftDefenderArgs =
        com.pulumi.azure.containerservice.inputs.KubernetesClusterMicrosoftDefenderArgs.builder()
            .logAnalyticsWorkspaceId(logAnalyticsWorkspaceId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [KubernetesClusterMicrosoftDefenderArgs].
 */
@PulumiTagMarker
public class KubernetesClusterMicrosoftDefenderArgsBuilder internal constructor() {
    private var logAnalyticsWorkspaceId: Output? = null

    /**
     * @param value Specifies the ID of the Log Analytics Workspace where the audit logs collected by Microsoft Defender should be sent to.
     */
    @JvmName("cyovkcskltbwfidp")
    public suspend fun logAnalyticsWorkspaceId(`value`: Output) {
        this.logAnalyticsWorkspaceId = value
    }

    /**
     * @param value Specifies the ID of the Log Analytics Workspace where the audit logs collected by Microsoft Defender should be sent to.
     */
    @JvmName("nfafbnjwhdymxjuh")
    public suspend fun logAnalyticsWorkspaceId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.logAnalyticsWorkspaceId = mapped
    }

    internal fun build(): KubernetesClusterMicrosoftDefenderArgs =
        KubernetesClusterMicrosoftDefenderArgs(
            logAnalyticsWorkspaceId = logAnalyticsWorkspaceId ?: throw
                PulumiNullFieldException("logAnalyticsWorkspaceId"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy