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

com.pulumi.azure.automanage.kotlin.outputs.ConfigurationAntimalware.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.automanage.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 ConfigurationAntimalware(
    public val exclusions: ConfigurationAntimalwareExclusions? = null,
    public val realTimeProtectionEnabled: Boolean? = null,
    public val scheduledScanDay: Int? = null,
    public val scheduledScanEnabled: Boolean? = null,
    public val scheduledScanTimeInMinutes: Int? = null,
    public val scheduledScanType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.automanage.outputs.ConfigurationAntimalware):
            ConfigurationAntimalware = ConfigurationAntimalware(
            exclusions = javaType.exclusions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.automanage.kotlin.outputs.ConfigurationAntimalwareExclusions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            realTimeProtectionEnabled = javaType.realTimeProtectionEnabled().map({ args0 ->
                args0
            }).orElse(null),
            scheduledScanDay = javaType.scheduledScanDay().map({ args0 -> args0 }).orElse(null),
            scheduledScanEnabled = javaType.scheduledScanEnabled().map({ args0 -> args0 }).orElse(null),
            scheduledScanTimeInMinutes = javaType.scheduledScanTimeInMinutes().map({ args0 ->
                args0
            }).orElse(null),
            scheduledScanType = javaType.scheduledScanType().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy