com.pulumi.azure.compute.kotlin.inputs.ScaleSetPacketCaptureMachineScopeArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.compute.kotlin.inputs
import com.pulumi.azure.compute.inputs.ScaleSetPacketCaptureMachineScopeArgs.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
/**
*
* @property excludeInstanceIds A list of Virtual Machine Scale Set instance IDs which should be excluded from running Packet Capture, e.g. `["0", "2"]`. Changing this forces a new resource to be created.
* @property includeInstanceIds A list of Virtual Machine Scale Set instance IDs which should be included for Packet Capture, e.g. `["1", "3"]`. Changing this forces a new resource to be created.
*/
public data class ScaleSetPacketCaptureMachineScopeArgs(
public val excludeInstanceIds: Output>? = null,
public val includeInstanceIds: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.ScaleSetPacketCaptureMachineScopeArgs =
com.pulumi.azure.compute.inputs.ScaleSetPacketCaptureMachineScopeArgs.builder()
.excludeInstanceIds(excludeInstanceIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.includeInstanceIds(
includeInstanceIds?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [ScaleSetPacketCaptureMachineScopeArgs].
*/
@PulumiTagMarker
public class ScaleSetPacketCaptureMachineScopeArgsBuilder internal constructor() {
private var excludeInstanceIds: Output>? = null
private var includeInstanceIds: Output>? = null
/**
* @param value A list of Virtual Machine Scale Set instance IDs which should be excluded from running Packet Capture, e.g. `["0", "2"]`. Changing this forces a new resource to be created.
*/
@JvmName("qjjxglkilhcdkbxv")
public suspend fun excludeInstanceIds(`value`: Output>) {
this.excludeInstanceIds = value
}
@JvmName("cdpaaocrqsxrpgke")
public suspend fun excludeInstanceIds(vararg values: Output) {
this.excludeInstanceIds = Output.all(values.asList())
}
/**
* @param values A list of Virtual Machine Scale Set instance IDs which should be excluded from running Packet Capture, e.g. `["0", "2"]`. Changing this forces a new resource to be created.
*/
@JvmName("npqxfhaahpimjtxu")
public suspend fun excludeInstanceIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy