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

com.pulumi.azurenative.security.kotlin.inputs.DefenderCspmAwsOfferingVmScannersArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.security.kotlin.inputs

import com.pulumi.azurenative.security.inputs.DefenderCspmAwsOfferingVmScannersArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * The Microsoft Defender for Server VM scanning configuration
 * @property configuration configuration for Microsoft Defender for Server VM scanning
 * @property enabled Is Microsoft Defender for Server VM scanning enabled
 */
public data class DefenderCspmAwsOfferingVmScannersArgs(
    public val configuration: Output? = null,
    public val enabled: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.security.inputs.DefenderCspmAwsOfferingVmScannersArgs =
        com.pulumi.azurenative.security.inputs.DefenderCspmAwsOfferingVmScannersArgs.builder()
            .configuration(configuration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .enabled(enabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DefenderCspmAwsOfferingVmScannersArgs].
 */
@PulumiTagMarker
public class DefenderCspmAwsOfferingVmScannersArgsBuilder internal constructor() {
    private var configuration: Output? = null

    private var enabled: Output? = null

    /**
     * @param value configuration for Microsoft Defender for Server VM scanning
     */
    @JvmName("upuouynqojuwrxmn")
    public suspend fun configuration(`value`: Output) {
        this.configuration = value
    }

    /**
     * @param value Is Microsoft Defender for Server VM scanning enabled
     */
    @JvmName("btkygflglxywnymn")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value configuration for Microsoft Defender for Server VM scanning
     */
    @JvmName("syfhsrckddyxmbcu")
    public suspend fun configuration(`value`: DefenderCspmAwsOfferingConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.configuration = mapped
    }

    /**
     * @param argument configuration for Microsoft Defender for Server VM scanning
     */
    @JvmName("ycmjvojurgfgskqv")
    public suspend fun configuration(argument: suspend DefenderCspmAwsOfferingConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DefenderCspmAwsOfferingConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.configuration = mapped
    }

    /**
     * @param value Is Microsoft Defender for Server VM scanning enabled
     */
    @JvmName("xpbwylrlkqqusicf")
    public suspend fun enabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enabled = mapped
    }

    internal fun build(): DefenderCspmAwsOfferingVmScannersArgs =
        DefenderCspmAwsOfferingVmScannersArgs(
            configuration = configuration,
            enabled = enabled,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy