![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.network.kotlin.inputs.PacketCaptureMachineScopeArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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
© 2015 - 2025 Weber Informatics LLC | Privacy Policy