All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.cognitive.kotlin.outputs.DeploymentModel.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@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