com.pulumi.azure.cognitive.kotlin.outputs.DeploymentModel.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.cognitive.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property format The format of the Cognitive Services Account Deployment model. Changing this forces a new resource to be created. Possible value is `OpenAI`.
* @property name The name of the Cognitive Services Account Deployment model. Changing this forces a new resource to be created.
* @property version The version of Cognitive Services Account Deployment model. If `version` is not specified, the default version of the model at the time will be assigned.
*/
public data class DeploymentModel(
public val format: String,
public val name: String,
public val version: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.cognitive.outputs.DeploymentModel):
DeploymentModel = DeploymentModel(
format = javaType.format(),
name = javaType.name(),
version = javaType.version().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy