![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.cognitiveservices.kotlin.inputs.DeploymentModelArgs.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.cognitiveservices.kotlin.inputs
import com.pulumi.azurenative.cognitiveservices.inputs.DeploymentModelArgs.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 of Cognitive Services account deployment model.
* @property format Deployment model format.
* @property name Deployment model name.
* @property source Optional. Deployment model source ARM resource ID.
* @property version Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
*/
public data class DeploymentModelArgs(
public val format: Output? = null,
public val name: Output? = null,
public val source: Output? = null,
public val version: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.cognitiveservices.inputs.DeploymentModelArgs =
com.pulumi.azurenative.cognitiveservices.inputs.DeploymentModelArgs.builder()
.format(format?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.source(source?.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeploymentModelArgs].
*/
@PulumiTagMarker
public class DeploymentModelArgsBuilder internal constructor() {
private var format: Output? = null
private var name: Output? = null
private var source: Output? = null
private var version: Output? = null
/**
* @param value Deployment model format.
*/
@JvmName("xhpdthcmkiqfaydn")
public suspend fun format(`value`: Output) {
this.format = value
}
/**
* @param value Deployment model name.
*/
@JvmName("hrgstimkhgwolnoj")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Optional. Deployment model source ARM resource ID.
*/
@JvmName("mvyjgfehilhyhlvq")
public suspend fun source(`value`: Output) {
this.source = value
}
/**
* @param value Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
*/
@JvmName("qrgffamjseutfiyr")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value Deployment model format.
*/
@JvmName("elwseswwiojehfqw")
public suspend fun format(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.format = mapped
}
/**
* @param value Deployment model name.
*/
@JvmName("acuqasyqsaaockth")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Optional. Deployment model source ARM resource ID.
*/
@JvmName("umulnnddcsgyxhox")
public suspend fun source(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.source = mapped
}
/**
* @param value Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
*/
@JvmName("rsuoveavyclnexlu")
public suspend fun version(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): DeploymentModelArgs = DeploymentModelArgs(
format = format,
name = name,
source = source,
version = version,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy