![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.compute.kotlin.inputs.ApiEntityReferenceArgs.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.compute.kotlin.inputs
import com.pulumi.azurenative.compute.inputs.ApiEntityReferenceArgs.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
/**
* The API entity reference.
* @property id The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
*/
public data class ApiEntityReferenceArgs(
public val id: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.compute.inputs.ApiEntityReferenceArgs =
com.pulumi.azurenative.compute.inputs.ApiEntityReferenceArgs.builder()
.id(id?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApiEntityReferenceArgs].
*/
@PulumiTagMarker
public class ApiEntityReferenceArgsBuilder internal constructor() {
private var id: Output? = null
/**
* @param value The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
*/
@JvmName("gduasipprdsvbkwx")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
*/
@JvmName("ihpuogufupepcfvr")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
internal fun build(): ApiEntityReferenceArgs = ApiEntityReferenceArgs(
id = id,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy