
com.pulumi.azurenative.devtestlab.kotlin.inputs.CustomImagePropertiesFromPlanArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.devtestlab.kotlin.inputs
import com.pulumi.azurenative.devtestlab.inputs.CustomImagePropertiesFromPlanArgs.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
/**
* Properties for plan on a custom image.
* @property id The id of the plan, equivalent to name of the plan
* @property offer The offer for the plan from the marketplace image the custom image is derived from
* @property publisher The publisher for the plan from the marketplace image the custom image is derived from
*/
public data class CustomImagePropertiesFromPlanArgs(
public val id: Output? = null,
public val offer: Output? = null,
public val publisher: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.devtestlab.inputs.CustomImagePropertiesFromPlanArgs = com.pulumi.azurenative.devtestlab.inputs.CustomImagePropertiesFromPlanArgs.builder()
.id(id?.applyValue({ args0 -> args0 }))
.offer(offer?.applyValue({ args0 -> args0 }))
.publisher(publisher?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CustomImagePropertiesFromPlanArgs].
*/
@PulumiTagMarker
public class CustomImagePropertiesFromPlanArgsBuilder internal constructor() {
private var id: Output? = null
private var offer: Output? = null
private var publisher: Output? = null
/**
* @param value The id of the plan, equivalent to name of the plan
*/
@JvmName("hcudxlaqrrscsjho")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The offer for the plan from the marketplace image the custom image is derived from
*/
@JvmName("kukyuiglficyxifs")
public suspend fun offer(`value`: Output) {
this.offer = value
}
/**
* @param value The publisher for the plan from the marketplace image the custom image is derived from
*/
@JvmName("vmwkacvlqrcamgll")
public suspend fun publisher(`value`: Output) {
this.publisher = value
}
/**
* @param value The id of the plan, equivalent to name of the plan
*/
@JvmName("dqhrxkyatrfaakgm")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value The offer for the plan from the marketplace image the custom image is derived from
*/
@JvmName("auclecraurstbtak")
public suspend fun offer(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.offer = mapped
}
/**
* @param value The publisher for the plan from the marketplace image the custom image is derived from
*/
@JvmName("viplwdupxwsjyxfn")
public suspend fun publisher(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.publisher = mapped
}
internal fun build(): CustomImagePropertiesFromPlanArgs = CustomImagePropertiesFromPlanArgs(
id = id,
offer = offer,
publisher = publisher,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy