![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.appplatform.kotlin.inputs.ManagedComponentReferenceArgs.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.appplatform.kotlin.inputs
import com.pulumi.azurenative.appplatform.inputs.ManagedComponentReferenceArgs.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
/**
* A reference to the managed component like Config Server.
* @property resourceId Resource Id of the managed component
*/
public data class ManagedComponentReferenceArgs(
public val resourceId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.appplatform.inputs.ManagedComponentReferenceArgs =
com.pulumi.azurenative.appplatform.inputs.ManagedComponentReferenceArgs.builder()
.resourceId(resourceId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ManagedComponentReferenceArgs].
*/
@PulumiTagMarker
public class ManagedComponentReferenceArgsBuilder internal constructor() {
private var resourceId: Output? = null
/**
* @param value Resource Id of the managed component
*/
@JvmName("xrmtjerqoinkedpi")
public suspend fun resourceId(`value`: Output) {
this.resourceId = value
}
/**
* @param value Resource Id of the managed component
*/
@JvmName("egbavuyvvmwhsvtm")
public suspend fun resourceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.resourceId = mapped
}
internal fun build(): ManagedComponentReferenceArgs = ManagedComponentReferenceArgs(
resourceId = resourceId ?: throw PulumiNullFieldException("resourceId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy