
com.pulumi.azure.devtest.kotlin.inputs.GetVirtualNetworkPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.devtest.kotlin.inputs
import com.pulumi.azure.devtest.inputs.GetVirtualNetworkPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getVirtualNetwork.
* @property labName Specifies the name of the Dev Test Lab.
* @property name Specifies the name of the Virtual Network.
* @property resourceGroupName Specifies the name of the resource group that contains the Virtual Network.
*/
public data class GetVirtualNetworkPlainArgs(
public val labName: String,
public val name: String,
public val resourceGroupName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.devtest.inputs.GetVirtualNetworkPlainArgs =
com.pulumi.azure.devtest.inputs.GetVirtualNetworkPlainArgs.builder()
.labName(labName.let({ args0 -> args0 }))
.name(name.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetVirtualNetworkPlainArgs].
*/
@PulumiTagMarker
public class GetVirtualNetworkPlainArgsBuilder internal constructor() {
private var labName: String? = null
private var name: String? = null
private var resourceGroupName: String? = null
/**
* @param value Specifies the name of the Dev Test Lab.
*/
@JvmName("ovgqlytgvibmcpvc")
public suspend fun labName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.labName = mapped
}
/**
* @param value Specifies the name of the Virtual Network.
*/
@JvmName("pyhwnucuuerawhng")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value Specifies the name of the resource group that contains the Virtual Network.
*/
@JvmName("lqrkbqakqvoamfio")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
internal fun build(): GetVirtualNetworkPlainArgs = GetVirtualNetworkPlainArgs(
labName = labName ?: throw PulumiNullFieldException("labName"),
name = name ?: throw PulumiNullFieldException("name"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy