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

com.pulumi.azurenative.network.kotlin.inputs.PacketCaptureMachineScopeArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.network.kotlin.inputs

import com.pulumi.azurenative.network.inputs.PacketCaptureMachineScopeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
 * @property exclude List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
 * @property include List of AzureVMSS instances to run packet capture on.
 */
public data class PacketCaptureMachineScopeArgs(
    public val exclude: Output>? = null,
    public val include: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.network.inputs.PacketCaptureMachineScopeArgs =
        com.pulumi.azurenative.network.inputs.PacketCaptureMachineScopeArgs.builder()
            .exclude(exclude?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .include(include?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [PacketCaptureMachineScopeArgs].
 */
@PulumiTagMarker
public class PacketCaptureMachineScopeArgsBuilder internal constructor() {
    private var exclude: Output>? = null

    private var include: Output>? = null

    /**
     * @param value List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
     */
    @JvmName("asamqlyrigiyrwtb")
    public suspend fun exclude(`value`: Output>) {
        this.exclude = value
    }

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

    /**
     * @param values List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
     */
    @JvmName("mminkcnvskfjobie")
    public suspend fun exclude(values: List>) {
        this.exclude = Output.all(values)
    }

    /**
     * @param value List of AzureVMSS instances to run packet capture on.
     */
    @JvmName("qbefpdfsfrabrnus")
    public suspend fun include(`value`: Output>) {
        this.include = value
    }

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

    /**
     * @param values List of AzureVMSS instances to run packet capture on.
     */
    @JvmName("ihxuaruwqhhwgfka")
    public suspend fun include(values: List>) {
        this.include = Output.all(values)
    }

    /**
     * @param value List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
     */
    @JvmName("lcpeofiwjaeqgvfd")
    public suspend fun exclude(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.exclude = mapped
    }

    /**
     * @param values List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
     */
    @JvmName("pyusycukfmldkoju")
    public suspend fun exclude(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.exclude = mapped
    }

    /**
     * @param value List of AzureVMSS instances to run packet capture on.
     */
    @JvmName("xjwtyfcvsnfsuxpj")
    public suspend fun include(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.include = mapped
    }

    /**
     * @param values List of AzureVMSS instances to run packet capture on.
     */
    @JvmName("vjfjsgegoolqsaxm")
    public suspend fun include(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.include = mapped
    }

    internal fun build(): PacketCaptureMachineScopeArgs = PacketCaptureMachineScopeArgs(
        exclude = exclude,
        include = include,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy