![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.migrate.kotlin.inputs.SubnetReferenceArgs.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.migrate.kotlin.inputs
import com.pulumi.azurenative.migrate.inputs.SubnetReferenceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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
/**
* Defines reference to subnet.
* @property name Gets the name of the proxy resource on the target side.
* @property sourceArmResourceId Gets the ARM resource ID of the tracked resource being referenced.
*/
public data class SubnetReferenceArgs(
public val name: Output? = null,
public val sourceArmResourceId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.migrate.inputs.SubnetReferenceArgs =
com.pulumi.azurenative.migrate.inputs.SubnetReferenceArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.sourceArmResourceId(sourceArmResourceId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SubnetReferenceArgs].
*/
@PulumiTagMarker
public class SubnetReferenceArgsBuilder internal constructor() {
private var name: Output? = null
private var sourceArmResourceId: Output? = null
/**
* @param value Gets the name of the proxy resource on the target side.
*/
@JvmName("kklwvjfinctdgogw")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Gets the ARM resource ID of the tracked resource being referenced.
*/
@JvmName("bidfjstdgpregnxf")
public suspend fun sourceArmResourceId(`value`: Output) {
this.sourceArmResourceId = value
}
/**
* @param value Gets the name of the proxy resource on the target side.
*/
@JvmName("wimrvytanthmvdqf")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Gets the ARM resource ID of the tracked resource being referenced.
*/
@JvmName("pqshwspfvuquixbt")
public suspend fun sourceArmResourceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sourceArmResourceId = mapped
}
internal fun build(): SubnetReferenceArgs = SubnetReferenceArgs(
name = name,
sourceArmResourceId = sourceArmResourceId ?: throw PulumiNullFieldException("sourceArmResourceId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy