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

com.pulumi.azure.synapse.kotlin.inputs.WorkspaceVulnerabilityAssessmentRecurringScansArgs.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.synapse.kotlin.inputs

import com.pulumi.azure.synapse.inputs.WorkspaceVulnerabilityAssessmentRecurringScansArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property emailSubscriptionAdminsEnabled Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.
 * @property emails Specifies an array of email addresses to which the scan notification is sent.
 * @property enabled Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
 */
public data class WorkspaceVulnerabilityAssessmentRecurringScansArgs(
    public val emailSubscriptionAdminsEnabled: Output? = null,
    public val emails: Output>? = null,
    public val enabled: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.synapse.inputs.WorkspaceVulnerabilityAssessmentRecurringScansArgs =
        com.pulumi.azure.synapse.inputs.WorkspaceVulnerabilityAssessmentRecurringScansArgs.builder()
            .emailSubscriptionAdminsEnabled(emailSubscriptionAdminsEnabled?.applyValue({ args0 -> args0 }))
            .emails(emails?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .enabled(enabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WorkspaceVulnerabilityAssessmentRecurringScansArgs].
 */
@PulumiTagMarker
public class WorkspaceVulnerabilityAssessmentRecurringScansArgsBuilder internal constructor() {
    private var emailSubscriptionAdminsEnabled: Output? = null

    private var emails: Output>? = null

    private var enabled: Output? = null

    /**
     * @param value Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.
     */
    @JvmName("qjvkkifkieaixeud")
    public suspend fun emailSubscriptionAdminsEnabled(`value`: Output) {
        this.emailSubscriptionAdminsEnabled = value
    }

    /**
     * @param value Specifies an array of email addresses to which the scan notification is sent.
     */
    @JvmName("vepeqkdtggihgwdp")
    public suspend fun emails(`value`: Output>) {
        this.emails = value
    }

    @JvmName("bufxdcviqocmbomp")
    public suspend fun emails(vararg values: Output) {
        this.emails = Output.all(values.asList())
    }

    /**
     * @param values Specifies an array of email addresses to which the scan notification is sent.
     */
    @JvmName("frxxtpqoxrowblbf")
    public suspend fun emails(values: List>) {
        this.emails = Output.all(values)
    }

    /**
     * @param value Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
     */
    @JvmName("xejydegavqhpjghe")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.
     */
    @JvmName("tqglxmnsfcjocwue")
    public suspend fun emailSubscriptionAdminsEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.emailSubscriptionAdminsEnabled = mapped
    }

    /**
     * @param value Specifies an array of email addresses to which the scan notification is sent.
     */
    @JvmName("nrjlnvfwwpkopdwj")
    public suspend fun emails(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.emails = mapped
    }

    /**
     * @param values Specifies an array of email addresses to which the scan notification is sent.
     */
    @JvmName("mvkvbdvghvlyexls")
    public suspend fun emails(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.emails = mapped
    }

    /**
     * @param value Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
     */
    @JvmName("gndsulfxpvadfqme")
    public suspend fun enabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enabled = mapped
    }

    internal fun build(): WorkspaceVulnerabilityAssessmentRecurringScansArgs =
        WorkspaceVulnerabilityAssessmentRecurringScansArgs(
            emailSubscriptionAdminsEnabled = emailSubscriptionAdminsEnabled,
            emails = emails,
            enabled = enabled,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy