
com.pulumi.azurenative.hybridnetwork.kotlin.inputs.SecretDeploymentResourceReferenceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.hybridnetwork.kotlin.inputs
import com.pulumi.azurenative.hybridnetwork.inputs.SecretDeploymentResourceReferenceArgs.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
/**
* Secret deployment resource id reference.
* @property id Resource ID.
* @property idType The resource reference arm id type.
* Expected value is 'Secret'.
*/
public data class SecretDeploymentResourceReferenceArgs(
public val id: Output? = null,
public val idType: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.hybridnetwork.inputs.SecretDeploymentResourceReferenceArgs =
com.pulumi.azurenative.hybridnetwork.inputs.SecretDeploymentResourceReferenceArgs.builder()
.id(id?.applyValue({ args0 -> args0 }))
.idType(idType.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SecretDeploymentResourceReferenceArgs].
*/
@PulumiTagMarker
public class SecretDeploymentResourceReferenceArgsBuilder internal constructor() {
private var id: Output? = null
private var idType: Output? = null
/**
* @param value Resource ID.
*/
@JvmName("yhjpfgsxtqihgvfy")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The resource reference arm id type.
* Expected value is 'Secret'.
*/
@JvmName("jebsadeydglvasjl")
public suspend fun idType(`value`: Output) {
this.idType = value
}
/**
* @param value Resource ID.
*/
@JvmName("rgeggoxsemhgcypk")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value The resource reference arm id type.
* Expected value is 'Secret'.
*/
@JvmName("ajwtewsffckrrjsi")
public suspend fun idType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.idType = mapped
}
internal fun build(): SecretDeploymentResourceReferenceArgs =
SecretDeploymentResourceReferenceArgs(
id = id,
idType = idType ?: throw PulumiNullFieldException("idType"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy