![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.operationsmanagement.kotlin.inputs.SolutionPlanArgs.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.operationsmanagement.kotlin.inputs
import com.pulumi.azurenative.operationsmanagement.inputs.SolutionPlanArgs.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
/**
* Plan for solution object supported by the OperationsManagement resource provider.
* @property name name of the solution to be created. For Microsoft published solution it should be in the format of solutionType(workspaceName). SolutionType part is case sensitive. For third party solution, it can be anything.
* @property product name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/. This is case sensitive
* @property promotionCode promotionCode, Not really used now, can you left as empty
* @property publisher Publisher name. For gallery solution, it is Microsoft.
*/
public data class SolutionPlanArgs(
public val name: Output? = null,
public val product: Output? = null,
public val promotionCode: Output? = null,
public val publisher: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.operationsmanagement.inputs.SolutionPlanArgs =
com.pulumi.azurenative.operationsmanagement.inputs.SolutionPlanArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.product(product?.applyValue({ args0 -> args0 }))
.promotionCode(promotionCode?.applyValue({ args0 -> args0 }))
.publisher(publisher?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SolutionPlanArgs].
*/
@PulumiTagMarker
public class SolutionPlanArgsBuilder internal constructor() {
private var name: Output? = null
private var product: Output? = null
private var promotionCode: Output? = null
private var publisher: Output? = null
/**
* @param value name of the solution to be created. For Microsoft published solution it should be in the format of solutionType(workspaceName). SolutionType part is case sensitive. For third party solution, it can be anything.
*/
@JvmName("fkepgvbdwqgjjvyw")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/. This is case sensitive
*/
@JvmName("ynrgpmypjqhoieyc")
public suspend fun product(`value`: Output) {
this.product = value
}
/**
* @param value promotionCode, Not really used now, can you left as empty
*/
@JvmName("jkajgoipnbmhwjuo")
public suspend fun promotionCode(`value`: Output) {
this.promotionCode = value
}
/**
* @param value Publisher name. For gallery solution, it is Microsoft.
*/
@JvmName("kkxoctdlplblnqeh")
public suspend fun publisher(`value`: Output) {
this.publisher = value
}
/**
* @param value name of the solution to be created. For Microsoft published solution it should be in the format of solutionType(workspaceName). SolutionType part is case sensitive. For third party solution, it can be anything.
*/
@JvmName("efpixtkwdywujysl")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/. This is case sensitive
*/
@JvmName("jljoyosncmxwhvps")
public suspend fun product(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.product = mapped
}
/**
* @param value promotionCode, Not really used now, can you left as empty
*/
@JvmName("tixcnwltareleict")
public suspend fun promotionCode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.promotionCode = mapped
}
/**
* @param value Publisher name. For gallery solution, it is Microsoft.
*/
@JvmName("dnejlcdrmgmjvjdx")
public suspend fun publisher(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.publisher = mapped
}
internal fun build(): SolutionPlanArgs = SolutionPlanArgs(
name = name,
product = product,
promotionCode = promotionCode,
publisher = publisher,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy