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

com.pulumi.azure.automanage.kotlin.inputs.ConfigurationAntimalwareArgs.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.automanage.kotlin.inputs

import com.pulumi.azure.automanage.inputs.ConfigurationAntimalwareArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property exclusions A `exclusions` block as defined below.
 * @property realTimeProtectionEnabled Whether the real time protection is enabled. Defaults to `false`.
 * @property scheduledScanDay The day of the scheduled scan. Possible values are `0` to `8` where `0` is daily, `1` to `7` are the days of the week and `8` is Disabled. Defaults to `8`.
 * @property scheduledScanEnabled Whether the scheduled scan is enabled. Defaults to `false`.
 * @property scheduledScanTimeInMinutes The time of the scheduled scan in minutes. Possible values are `0` to `1439` where `0` is 12:00 AM and `1439` is 11:59 PM.
 * @property scheduledScanType The type of the scheduled scan. Possible values are `Quick` and `Full`. Defaults to `Quick`.
 */
public data class ConfigurationAntimalwareArgs(
    public val exclusions: Output? = null,
    public val realTimeProtectionEnabled: Output? = null,
    public val scheduledScanDay: Output? = null,
    public val scheduledScanEnabled: Output? = null,
    public val scheduledScanTimeInMinutes: Output? = null,
    public val scheduledScanType: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.automanage.inputs.ConfigurationAntimalwareArgs =
        com.pulumi.azure.automanage.inputs.ConfigurationAntimalwareArgs.builder()
            .exclusions(exclusions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .realTimeProtectionEnabled(realTimeProtectionEnabled?.applyValue({ args0 -> args0 }))
            .scheduledScanDay(scheduledScanDay?.applyValue({ args0 -> args0 }))
            .scheduledScanEnabled(scheduledScanEnabled?.applyValue({ args0 -> args0 }))
            .scheduledScanTimeInMinutes(scheduledScanTimeInMinutes?.applyValue({ args0 -> args0 }))
            .scheduledScanType(scheduledScanType?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ConfigurationAntimalwareArgs].
 */
@PulumiTagMarker
public class ConfigurationAntimalwareArgsBuilder internal constructor() {
    private var exclusions: Output? = null

    private var realTimeProtectionEnabled: Output? = null

    private var scheduledScanDay: Output? = null

    private var scheduledScanEnabled: Output? = null

    private var scheduledScanTimeInMinutes: Output? = null

    private var scheduledScanType: Output? = null

    /**
     * @param value A `exclusions` block as defined below.
     */
    @JvmName("nivbyqbdowmivxoi")
    public suspend fun exclusions(`value`: Output) {
        this.exclusions = value
    }

    /**
     * @param value Whether the real time protection is enabled. Defaults to `false`.
     */
    @JvmName("pjsppomeqptqaxgf")
    public suspend fun realTimeProtectionEnabled(`value`: Output) {
        this.realTimeProtectionEnabled = value
    }

    /**
     * @param value The day of the scheduled scan. Possible values are `0` to `8` where `0` is daily, `1` to `7` are the days of the week and `8` is Disabled. Defaults to `8`.
     */
    @JvmName("jrhrustjeftwouhb")
    public suspend fun scheduledScanDay(`value`: Output) {
        this.scheduledScanDay = value
    }

    /**
     * @param value Whether the scheduled scan is enabled. Defaults to `false`.
     */
    @JvmName("uydwvvaxnjdagbcb")
    public suspend fun scheduledScanEnabled(`value`: Output) {
        this.scheduledScanEnabled = value
    }

    /**
     * @param value The time of the scheduled scan in minutes. Possible values are `0` to `1439` where `0` is 12:00 AM and `1439` is 11:59 PM.
     */
    @JvmName("pytjkeuiklwtfnbf")
    public suspend fun scheduledScanTimeInMinutes(`value`: Output) {
        this.scheduledScanTimeInMinutes = value
    }

    /**
     * @param value The type of the scheduled scan. Possible values are `Quick` and `Full`. Defaults to `Quick`.
     */
    @JvmName("lrluertajbnxtuqt")
    public suspend fun scheduledScanType(`value`: Output) {
        this.scheduledScanType = value
    }

    /**
     * @param value A `exclusions` block as defined below.
     */
    @JvmName("jgmcikebmsdwaumh")
    public suspend fun exclusions(`value`: ConfigurationAntimalwareExclusionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.exclusions = mapped
    }

    /**
     * @param argument A `exclusions` block as defined below.
     */
    @JvmName("diucoqjmnlhiongq")
    public suspend
    fun exclusions(argument: suspend ConfigurationAntimalwareExclusionsArgsBuilder.() -> Unit) {
        val toBeMapped = ConfigurationAntimalwareExclusionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.exclusions = mapped
    }

    /**
     * @param value Whether the real time protection is enabled. Defaults to `false`.
     */
    @JvmName("uhsspythlfuthtyn")
    public suspend fun realTimeProtectionEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.realTimeProtectionEnabled = mapped
    }

    /**
     * @param value The day of the scheduled scan. Possible values are `0` to `8` where `0` is daily, `1` to `7` are the days of the week and `8` is Disabled. Defaults to `8`.
     */
    @JvmName("ylrkhbdqlmauouxc")
    public suspend fun scheduledScanDay(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scheduledScanDay = mapped
    }

    /**
     * @param value Whether the scheduled scan is enabled. Defaults to `false`.
     */
    @JvmName("hveimablmgqmncrw")
    public suspend fun scheduledScanEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scheduledScanEnabled = mapped
    }

    /**
     * @param value The time of the scheduled scan in minutes. Possible values are `0` to `1439` where `0` is 12:00 AM and `1439` is 11:59 PM.
     */
    @JvmName("iqwbtybecrcqnrmh")
    public suspend fun scheduledScanTimeInMinutes(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scheduledScanTimeInMinutes = mapped
    }

    /**
     * @param value The type of the scheduled scan. Possible values are `Quick` and `Full`. Defaults to `Quick`.
     */
    @JvmName("iajcxmftumksxhfc")
    public suspend fun scheduledScanType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scheduledScanType = mapped
    }

    internal fun build(): ConfigurationAntimalwareArgs = ConfigurationAntimalwareArgs(
        exclusions = exclusions,
        realTimeProtectionEnabled = realTimeProtectionEnabled,
        scheduledScanDay = scheduledScanDay,
        scheduledScanEnabled = scheduledScanEnabled,
        scheduledScanTimeInMinutes = scheduledScanTimeInMinutes,
        scheduledScanType = scheduledScanType,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy