![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.inputs.PacketCaptureStorageLocationArgs.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.PacketCaptureStorageLocationArgs.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.jvm.JvmName
/**
*
* @property filePath A valid local path on the target Virtual Machine. Must include the name of the capture file (*.cap). For Linux Virtual Machines it must start with `/var/captures`.
* @property storageAccountId The ID of the storage account where the packet capture sessions should be saved to.
* > **NOTE:** At least one of `file_path` or `storage_account_id` must be specified.
* @property storagePath The URI of the storage path where the packet capture sessions are saved to.
*/
public data class PacketCaptureStorageLocationArgs(
public val filePath: Output? = null,
public val storageAccountId: Output? = null,
public val storagePath: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.PacketCaptureStorageLocationArgs =
com.pulumi.azure.compute.inputs.PacketCaptureStorageLocationArgs.builder()
.filePath(filePath?.applyValue({ args0 -> args0 }))
.storageAccountId(storageAccountId?.applyValue({ args0 -> args0 }))
.storagePath(storagePath?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PacketCaptureStorageLocationArgs].
*/
@PulumiTagMarker
public class PacketCaptureStorageLocationArgsBuilder internal constructor() {
private var filePath: Output? = null
private var storageAccountId: Output? = null
private var storagePath: Output? = null
/**
* @param value A valid local path on the target Virtual Machine. Must include the name of the capture file (*.cap). For Linux Virtual Machines it must start with `/var/captures`.
*/
@JvmName("ghyjfvhgjeyvkhdn")
public suspend fun filePath(`value`: Output) {
this.filePath = value
}
/**
* @param value The ID of the storage account where the packet capture sessions should be saved to.
* > **NOTE:** At least one of `file_path` or `storage_account_id` must be specified.
*/
@JvmName("kcoifphxangabfuo")
public suspend fun storageAccountId(`value`: Output) {
this.storageAccountId = value
}
/**
* @param value The URI of the storage path where the packet capture sessions are saved to.
*/
@JvmName("xhfoimglwhkuvcpm")
public suspend fun storagePath(`value`: Output) {
this.storagePath = value
}
/**
* @param value A valid local path on the target Virtual Machine. Must include the name of the capture file (*.cap). For Linux Virtual Machines it must start with `/var/captures`.
*/
@JvmName("abgveqwcksbtrrty")
public suspend fun filePath(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.filePath = mapped
}
/**
* @param value The ID of the storage account where the packet capture sessions should be saved to.
* > **NOTE:** At least one of `file_path` or `storage_account_id` must be specified.
*/
@JvmName("ctmensqipuasfikh")
public suspend fun storageAccountId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storageAccountId = mapped
}
/**
* @param value The URI of the storage path where the packet capture sessions are saved to.
*/
@JvmName("dciaavyyqlekkyua")
public suspend fun storagePath(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storagePath = mapped
}
internal fun build(): PacketCaptureStorageLocationArgs = PacketCaptureStorageLocationArgs(
filePath = filePath,
storageAccountId = storageAccountId,
storagePath = storagePath,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy