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

com.pulumi.azure.lab.kotlin.outputs.LabVirtualMachineImageReference.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.lab.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property id The resource ID of the image. Changing this forces a new resource to be created.
 * @property offer The image offer if applicable. Changing this forces a new resource to be created.
 * @property publisher The image publisher. Changing this forces a new resource to be created.
 * @property sku The image SKU. Changing this forces a new resource to be created.
 * @property version The image version specified on creation. Changing this forces a new resource to be created.
 */
public data class LabVirtualMachineImageReference(
    public val id: String? = null,
    public val offer: String? = null,
    public val publisher: String? = null,
    public val sku: String? = null,
    public val version: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.lab.outputs.LabVirtualMachineImageReference):
            LabVirtualMachineImageReference = LabVirtualMachineImageReference(
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            offer = javaType.offer().map({ args0 -> args0 }).orElse(null),
            publisher = javaType.publisher().map({ args0 -> args0 }).orElse(null),
            sku = javaType.sku().map({ args0 -> args0 }).orElse(null),
            version = javaType.version().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy