![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.kubernetesconfiguration.kotlin.inputs.PlanArgs.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.kubernetesconfiguration.kotlin.inputs
import com.pulumi.azurenative.kubernetesconfiguration.inputs.PlanArgs.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
/**
* Plan for the resource.
* @property name A user defined name of the 3rd Party Artifact that is being procured.
* @property product The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
* @property promotionCode A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
* @property publisher The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
* @property version The version of the desired product/artifact.
*/
public data class PlanArgs(
public val name: Output,
public val product: Output,
public val promotionCode: Output? = null,
public val publisher: Output,
public val version: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.kubernetesconfiguration.inputs.PlanArgs =
com.pulumi.azurenative.kubernetesconfiguration.inputs.PlanArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.product(product.applyValue({ args0 -> args0 }))
.promotionCode(promotionCode?.applyValue({ args0 -> args0 }))
.publisher(publisher.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PlanArgs].
*/
@PulumiTagMarker
public class PlanArgsBuilder internal constructor() {
private var name: Output? = null
private var product: Output? = null
private var promotionCode: Output? = null
private var publisher: Output? = null
private var version: Output? = null
/**
* @param value A user defined name of the 3rd Party Artifact that is being procured.
*/
@JvmName("iragpdgswarbhmdo")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
*/
@JvmName("qdhbrijnnhqvimig")
public suspend fun product(`value`: Output) {
this.product = value
}
/**
* @param value A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
*/
@JvmName("knsijxndciuvoryy")
public suspend fun promotionCode(`value`: Output) {
this.promotionCode = value
}
/**
* @param value The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
*/
@JvmName("ifyqouxqvikhrrtr")
public suspend fun publisher(`value`: Output) {
this.publisher = value
}
/**
* @param value The version of the desired product/artifact.
*/
@JvmName("neffloccggieivkb")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value A user defined name of the 3rd Party Artifact that is being procured.
*/
@JvmName("mwkcvrlmffpksfak")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
*/
@JvmName("ndkshdglpbjxbrrl")
public suspend fun product(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.product = mapped
}
/**
* @param value A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
*/
@JvmName("qckcolwasokqukye")
public suspend fun promotionCode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.promotionCode = mapped
}
/**
* @param value The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
*/
@JvmName("htfdtgdlqqwsmegg")
public suspend fun publisher(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.publisher = mapped
}
/**
* @param value The version of the desired product/artifact.
*/
@JvmName("hjmfklipnyoupiqo")
public suspend fun version(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): PlanArgs = PlanArgs(
name = name ?: throw PulumiNullFieldException("name"),
product = product ?: throw PulumiNullFieldException("product"),
promotionCode = promotionCode,
publisher = publisher ?: throw PulumiNullFieldException("publisher"),
version = version,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy